Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
vrihlea
Visitor

Roku_Ads, no "% of video ad rendered" events

Library "Roku_Ads.brs"

adIface = Roku_Ads()
adIface.setTrackingCallback(adTrackingCallback, {
 ...
}

sub adTrackingCallback(obj = invalid as Dynamic, eventType = invalid as Dynamic, ctx = invalid as Dynamic)
if eventType = "Impression"
 ...
else if eventType = "FirstQuartile"
 ...
else if eventType = "Complete"
 ...
end if
end sub

Has anyone encountered this, I'm not getting any events for "% of video ad rendered". It looks like the eventType in those cases comes as Invalid
Btw, I do get PodStart/PodComplete events only these don't get triggered

I'm talking about these: https://sdkdocs.roku.com/display/sdkdoc/Integrating+the+Roku+Advertising+Framework#IntegratingtheRokuAdvertisingFramework-Tracking
Any ideas what's going on ?
0 Kudos
1 REPLY 1
NB_
Roku Guru

Re: Roku_Ads

See
"setTrackingCallback()" wrote:

[...] Generally, if ctx.eventType is not set, then ctx.time should be set and indicates ad render progress [...]

0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.