ServerSideAdInsertion.brs
/simple_raf_sdk2_sample/source/ServerSideAdInsertion.brs
PlayContentWithServerSideAdInsertion()
RAF implementation with Nielsen and ads being server stitched (Server-Side Ad Insertion)
- Enable Nielsen.
- Pass all parameters to Nielsen beacons with examples of genre, program id and content.
- Use fireTrackingEvents() to pass ad structure with Nielsen beacons to RAF.
- Nilsen APIs are updated for each content stream.
-
Parameters:
videoContent -
[AA] object that has valid data for playing video with roVideoScreen.
EvaluateRenderTime(adPods as roObject)
adding fields of duration and render time to each ad
in adPods data structure to ease processing of fireTracking
-
Parameters:
adPods -
[A] array of adPod objects that has valid data of adPod returned from Raf by GetAds() function
IsAdPodTracked(ads as roObject)
checks is pod currently viewed
by summarize all views of enclos ads
-
Parameters:
ads -
[A] array of ads objects