Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
Corgalore
Level 7

Roku Ads reporting no response from DFP

Dev Support,

We're having trouble getting our pre-rolls and mid-rolls to display in our channel. They have played in the past. We're using DFP VAST3-spec ad feeds.

The Roku is reporting that there is no response from DFP, but I can request the feed in a browser and it displays data.

Here's the debug output from the Ad Framework:

Roku_Ads Framework version 1.6

Roku_Ads_checkAllowedFeature: Parsing whitelist for ROKU_ADS_NIELSEN_ID

Roku_Ads_util_getStringFromUrl: requesting URL: https://www.bowhunting.com/wp-content/t ... 1462554954

Roku_Ads_util_getStringFromUrl: requesting URL: https://pubads.g.doubleclick.net/gampad ... 2016171443

Roku_Ads_util_getNoResponseFromUrl: requesting URL: https://pubads.g.doubleclick.net/pagead ... RORCODE%5D

Roku_Ads_util_getStringFromUrl: requesting URL: https://pubads.g.doubleclick.net/gampad ... 43&mridx=1

Roku_Ads_util_getNoResponseFromUrl: requesting URL: https://pubads.g.doubleclick.net/pagead ... RORCODE%5D

Roku_Ads_util_getStringFromUrl: requesting URL: https://www.bowhunting.com/wp-content/t ... 1462554954

Roku_Ads_util_getStringFromUrl: requesting URL: https://pubads.g.doubleclick.net/gampad ... 2016171443

Roku_Ads_util_getStringFromUrl: requesting URL: https://pubads.g.doubleclick.net/gampad ... 43&mridx=1

------------------------------------------------------------------------------------------------------------------------------------------------------------

Here is a snippet of the code that we're running:

timestamp = CreateObject("roDateTime")
adUrl = "https://www.bowhunting.com/wp-content/themes/bowhunting/vmap.php?id=" + episode.ContentId + "&c=" + timestamp.AsSeconds().ToStr()
adIface = Roku_Ads()
adIface.setAdPrefs(false, 2) 'setAdPrefs(useRokuAdsAsFallback = true as Boolean, maxRequests = 2 as integer)
adIface.setDebugOutput(true)
adIface.setAdUrl(adUrl)
adPods = adIface.getAds()


shouldPlayContent = adIface.showAds(adPods)

----------------------------------------------------------------------------------------------------------------------------

What is the best way to troubleshoot this issue?

- Corey
0 Kudos
2 Replies
TheEndless
Level 7

Re: Roku Ads reporting no response from DFP

I believe Roku_Ads_util_getNoResponseFromUrl is just the name of the function that requests a URL where no response is expected (e.g., tracking requests). I don't believe it is indicative of no response being received. In fact, the URLs in those lines from the debug output would have been retrieved from the VAST response, so RAF is definitely getting a response.

With that said, if you look at the URL that's being called there, it indicates that video playback failed.. "&label=videoplayfailed%5BERRORCODE%5D"

Looking at the VAST response for the DFP url, it looks like it's only return Flash/FLV videos, which Roku does not support. You should configure it to return MP4 and/or HLS renditions of the ads instead.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
kameswaran
Level 7

Re: Roku Ads reporting no response from DFP

i have this two url error

help me

Roku_Ads_util_getStringFromUrl: requesting URL: 
Roku_Ads_util_getStringFromUrl: requesting URL
0 Kudos