NonStandardRAFIntegration.brs
/simple_raf_sdk2_sample/source/NonStandardRAFIntegration.brs

PlayContentWithNonStandardRAFIntegration()

A RAF implementation for non-standard ad responses (neither VMAP, VAST or SMartXML)
- Custom Parsing of ad response to create the ad structure.
- importAds().
- showAds() for rendering.


GetNonStandardAds(filePath as roString)

Gets and parses ad pods array from non-standard JSON feed stored in file

Parameters:
filePath - [String] path to the file containing JSON ads feed
Returns:
[Object] ad pods as roArray to import into RAF