Your Digital Media Has Never Looked So Good

 
vrihlea
Topic Author
Posts: 9
Joined: Tue Apr 04, 2017 11:34 pm

Roku_Ads, no "% of video ad rendered" events

Mon Sep 11, 2017 4:59 am

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 ?
 
User avatar
RokuNB
Posts: 254
Joined: Fri Mar 31, 2017 2:22 pm

Re: Roku_Ads

Mon Sep 11, 2017 1:20 pm

See
setTrackingCallback() wrote:
[...] Generally, if ctx.eventType is not set, then ctx.time should be set and indicates ad render progress [...]

Who is online

Users browsing this forum: No registered users and 1 guest