RAF documentation for the Ad Structure is not consistent with the example in ServerStitchedAdSDK1Sample.
IN https://sdkdocs.roku.com/display/sdkdoc/Integrating+the+Roku+Advertising+Framework#IntegratingtheRokuAdvertisingFramework-AdStructure, the
pods element does not document a
tracking array. However, in the example code the pods contain an empty
tracking array.
This is confusing. Will RAF honor this undocumented array? BTW I'm implementing RAF for server side ad insertion.
From the sample code, in a file called MixedSttitchedAds.json
[
{
"ads": [...],
"duration": 90,
"rendersequence": "preroll",
"rendertime": 0,
"tracking": [],
"viewed": false
},
From the wiki:
adPods : [
viewed : Boolean,
renderSequence : "preroll" | "midroll" | "postroll",
duration : Float (in s),
renderTime : Float (in s),
backfilled : Boolean,
ads:[...]
]
(edit)
Furthermore, the "required"
adserver parameter for the ad object is missing from the example JSON:
{
"companionads": [...],
"duration": 30,
"streamformat": "brightline",
"streams": [
{
"mimetype": "application/json",
"url": "https://a.brightline.tv/?id=ROKU_RAF_1&ver=%%SDK_VER%%&cb=%%CACHEBUSTER%%&mblist=2450X,2500X"
}
],
"tracking": [...]
}