Ad Error: The VAST response document is empty.

5,211 views
Skip to first unread message

kevin kuijer

unread,
Sep 24, 2014, 3:05:33 PM9/24/14
to ima...@googlegroups.com
Hello, I get this error all the time:
Ad Error: The VAST response document is empty.

i'm using a html5 player. in the vastinspector is the same error.
Check vastinspector here:


Why i'm getting this error all the time? 

Shawn Busolits (IMA SDK Team)

unread,
Sep 24, 2014, 4:00:08 PM9/24/14
to ima...@googlegroups.com
Hi Kevin,

It looks like the issue here is that you're requesting a skippable ad, but your account hasn't yet been approved to receive them. If you read through this page it will tell you the requirements for skippable, and at the bottom there's a form to request access to skippable inventory. If you have any other questions let us know!

Thanks,
Shawn Busolits
IMA SDK Team

TheRealKev1n

unread,
Sep 24, 2014, 6:41:23 PM9/24/14
to ima...@googlegroups.com
Hello Shawn,

I'm approved to receive them so why get I still this error?

Kind regards,
Kevin

TheRealKev1n

unread,
Sep 25, 2014, 10:02:05 AM9/25/14
to ima...@googlegroups.com
Hello Shawn,

I see ads now but i have another problem, I created a test page:


On this page i see the ads every time. So that great! But on my main page the ads won't show up. 
So i was thinking, lets put the testpage in a iframe and see if the ads working on my main page, but no I still don't see ads.

And it's both the same code so that's weird..

This is the main page:

Hopefully you can check it out and maybe find out what's the problem here.

Thank you
Message has been deleted

Shawn Busolits (IMA SDK Team)

unread,
Sep 25, 2014, 10:32:34 AM9/25/14
to ima...@googlegroups.com
Hey Kevin,

It looks like maybe your approval was pending and just went through, because I am seeing skippable ads with your tag now.

I'm not sure what the difference is between our environments, but I'm still seeing ads every time, even on the main page (screenshot attached). Are you seeing any logs in the console other than the error about an empty response?

Thanks,
Shawn
kevin_ads.png

TheRealKev1n

unread,
Sep 25, 2014, 11:27:11 AM9/25/14
to ima...@googlegroups.com
Hello,

This is the console log:

VIDEOJS: ads content-set -> ads-ready? video.js:26
AdsLoader error: AdError 1009: The VAST response document is empty. videojs.ima.js:216
VIDEOJS: ads ads-ready? -> ad-timeout-playback

And i don't see any ads on the main page.
I Really don't know why it will not work for me on the main page, Asked some friends to check if they see any ads but they don't see them neither.


TheRealKev1n

unread,
Sep 25, 2014, 11:31:03 AM9/25/14
to ima...@googlegroups.com
Hmm weird i think i found the problem but don't why it's a problem.

When is set the mp4 file directly in my code and not adding ?v=videoid in my url its working

When i add the parameter in the url it is not working.



TheRealKev1n

unread,
Sep 25, 2014, 11:57:39 AM9/25/14
to ima...@googlegroups.com
I uploaded a video so you can see whats happening and maybe you know why this is happening:

Shawn Busolits (IMA SDK Team)

unread,
Sep 25, 2014, 4:17:09 PM9/25/14
to ima...@googlegroups.com
Hey Kevin,

I took a look at the video - that's definitely odd behavior. Could you check the console and see if the SDK is logging any errors when the ad exits?

Thanks,
Shawn Busolits
IMA SDK Team

TheRealKev1n

unread,
Sep 25, 2014, 4:57:47 PM9/25/14
to ima...@googlegroups.com
Hey Shawn,

This is the console log when the ad is playing:

VIDEOJS: ads content-set -> ads-ready? video.js:26
VIDEOJS: ads ads-ready? -> preroll? video.js:26
VIDEOJS: ads preroll? -> content-playback video.js:26
VIDEOJS: ads content-playback -> ad-playback video.js:26
The page at 'https://www.justwow.tv/watch' was loaded over HTTPS, but displayed insecure content from 'http://www.youtube.com/get_video?video_id=a2KKtUJb9JA&ts=1411678568&t=B4IhmbnCcMFAsfO0u9mmYT6ltm8&gad=1': this content should also be loaded over HTTPS. ima3.js:95
VIDEOJS: ads ad-playback -> content-playback video.js:26
  1. Uncaught AdError 900: Invalid usage of the API. Cause: Ads manager is not correctly configured. bridge3.1.71_en.html:258

TheRealKev1n

unread,
Sep 25, 2014, 8:09:39 PM9/25/14
to ima...@googlegroups.com
Hello Shawn,

I fixed it! Finally! haha,

Apparently the only thing i needed to do was placing the javascript add the top of the page.
Don't ask me why because i learned to place it at the bottom but yeah it's working perfect now!

Thanks for your help 

Shawn Busolits (IMA SDK Team)

unread,
Sep 26, 2014, 12:37:20 PM9/26/14
to ima...@googlegroups.com
Hi Kevin,

Glad you got it working - thanks for the update! 

Shawn Busolits
IMA SDK Team

TheRealKev1n

unread,
Sep 27, 2014, 5:15:25 AM9/27/14
to ima...@googlegroups.com
It's not working anymore, it's really weird..

Even when i copy the whole code to another page the ads don't work on the new page

i used de debug verion of ima3 and this is the console log:


'Attr.nodeValue' is deprecated. Please use 'value' instead. adsbygoogle.js:32
 [  0.334s] [ima.loader.AdsLoaderWrapper] Requesting ads using new ads loader. bridge3.1.71_debug_en.html:406
 [  0.345s] [ima.loader.AdsLoaderWrapper] requestAds, processing external request. bridge3.1.71_debug_en.html:406
 [  0.347s] [ima.loader.SequentialAdsLoader] Enqueued new request. bridge3.1.71_debug_en.html:406
 [  0.348s] [ima.loader.SequentialAdsLoader] Starting request from queue. bridge3.1.71_debug_en.html:406
 [  0.349s] [ima.loader.AdsLoaderImpl] creating instance of GptRequestActivity. bridge3.1.71_debug_en.html:406
 [  0.821s] [ima.common.GptCompanionAdService] GPT companion ads service not available. bridge3.1.71_debug_en.html:406

Shawn Busolits (IMA SDK Team)

unread,
Sep 29, 2014, 4:00:55 PM9/29/14
to ima...@googlegroups.com
Hi Kevin,

Are you still seeing this issue? Usually the cause is a combination of low inventory and frequency capping. If you're still seeing the issue after not testing for a day or two let me know.

Thanks,
Shawn Busolits
IMA SDK Team

TheRealKev1n

unread,
Oct 2, 2014, 3:34:04 AM10/2/14
to ima...@googlegroups.com
Hi shawn

Yes There are more then one issues, I will explain properly:

I use the video.js ima sdk plugin, I see ads on the webpage without any parameters in the url. as soon i add a parameter the ads are gone.
also is see the same ads more then 3 times in 2 days almost every refresh i get the same ad.
I have been approved for trueview ads so i don't know why it's not working.

Kind Regards,
Kevin

Shawn Busolits (IMA SDK Team)

unread,
Oct 2, 2014, 2:33:26 PM10/2/14
to ima...@googlegroups.com
Hi Kevin,

Could you send me the most recent version of your test page and ad tag?

Thanks,
Shawn Busolits
IMA SDK Team

TheRealKev1n

unread,
Oct 2, 2014, 2:42:14 PM10/2/14
to ima...@googlegroups.com

Shawn Busolits (IMA SDK Team)

unread,
Oct 2, 2014, 4:22:47 PM10/2/14
to ima...@googlegroups.com
Hi Kevin,

Is there a specific browser or platform on which you're seeing this problem? I tested your first page 10+ times, but got ads every time.
Also, are you in a country other than the US? I'm wondering if maybe this could be an inventory issue for your region.
Lastly, which parameters are you adding to the tag that results in this issue?

Thanks,
Shawn Busolits
IMA SDK Team

TheRealKev1n

unread,
Oct 2, 2014, 4:27:12 PM10/2/14
to ima...@googlegroups.com
Hi shawn,

I have this issue on all browsers,
And yes i live in the netherlands but i have set the parameter of google to english so there will be english ads.
also i add a videoid parameter as listed in my previous post.
But also if i change watch.php to something else the ads won't show up.

Kind regards,
Kevin

Shawn Busolits (IMA SDK Team)

unread,
Oct 3, 2014, 3:28:20 PM10/3/14
to ima...@googlegroups.com
Hi Kevin,

Thanks for the update. We're still not able to replicate this issue on our end, so I'm wondering if maybe it has something to do with your location. I'm going to see if I can get access to an NL proxy to test from an NL IP. I'll let you know if I have any updates.

Thanks,
Shawn Busolits
IMA SDK Team

TheRealKev1n

unread,
Oct 3, 2014, 4:16:38 PM10/3/14
to ima...@googlegroups.com
Hello shawn,

I don´t think that the location is a issue because it works perfect without parameters in the url.
So thats really weird.

Kind Regards,
Kevin

andrew...@gmail.com

unread,
Aug 17, 2015, 1:13:09 PM8/17/15
to Interactive Media Ads SDK
Hi Shawn,

In the IMA3 version 1.14.0 http://players.brightcove.net/videojs-ima3/1.14.0/videojs.ima3.min.js and I get console errors on occasion that look like:



VIDEOJS: ima3-started

loaded.js:3 'webkitAudioContext' is deprecated. Please use 'AudioContext' instead.     <-------- THAT MIGHT BE FROM OUR AMAZON AWS SERVER??
index.min.js:2 VIDEOJS: ima3-ad-error AdError 1009: The VAST response document is empty. Object {type: "ima3-ad-error", emitter: $l, originalEvent: Md, target: document, relatedTarget: undefined…}
videojs.ima3.min.js:3 Uncaught TypeError: Cannot read property 'getRemainingTime' of null


My code executes in the following order:

async videojs script --> once that is finished then async IM3 1.14.0 script --> once that's finished then execute the initialization code for videojs with the IMA3 plugin like:

featuredVideoPlayer = videojs(featuredVideoPlayerName);
featuredVideoPlayer.ima3({
"serverUrl": "MY_DFP_AD_CALL_THAT_RETURNS_A_VALID_VAST_RESPONSE",
"adTechOrder": ["html5", "flash"],
"debug": false
});

featuredVideoPlayer.muted(true); // Featured Video Player is muted by default

There's more code to it, but I think the error must be coming from here somewhere? It happens intermittently but often enough that it is an issue I need to address as the preroll either doesn't play or plays for a short moment then quits. There is in fact a valid VAST response as well. I checked.

Do you know why this is happening?

Thanks!

Andrew 

Shawn Busolits (IMA SDK Team)

unread,
Aug 17, 2015, 3:49:36 PM8/17/15
to Interactive Media Ads SDK
Hi Andrew,

It looks like you're using the Brightcove SDK and not the IMA SDK directly, so Brightcove may be able to help you better with this issue. Are you seeing ads play if you test your tag in our Video Suite Inspector?

Thanks,
Shawn Busolits
IMA SDK Team

Gilbert Lin

unread,
Oct 20, 2015, 2:31:52 PM10/20/15
to Interactive Media Ads SDK

Shawn Busolits (IMA SDK Team)

unread,
Oct 20, 2015, 2:40:33 PM10/20/15
to Interactive Media Ads SDK
Hi Gilbert,

This error means there is something wrong with your ad trafficking. You'll need to talk to your account manager to see why you're not being served any ads.

Thanks,
Shawn Busolits
IMA SDK Team
Reply all
Reply to author
Forward
0 new messages