AdSense sample tag not working, returned vast ad is empty

471 views
Skip to first unread message

Jeong-Heon Yang

unread,
Aug 8, 2019, 5:48:06 AM8/8/19
to Interactive Media Ads SDK
I have been trying to implement the vast Ad Sample tag given here https://support.google.com/adsense/troubleshooter/4455888?visit_id=637007677600540836-1552767189&rd=1#ts=4455920%2C4485665%2C6029565%2C6029600

So we have taken this sampleTag http://ima3vpaid.appspot.com/?adTagUrl=http%3A%2F%2Fgoogleads.g.doubleclick.net%2Fpagead%2Fads%3Fad_type%3Dvideo%26client%3Dca-video-pub-4968145218643279%26videoad_start_delay%3D0%26description_url%3Dhttp%253A%252F%252Fwww.youtube.com%26hl%3Den%26max_ad_duration%3D40000%26adtest%3Don&type=js

We are using google IMA SDK HTML5 lib

The first call to this sample tag works, we receive a VAST TAG responses in a VPAID JS fomat

However when calling the request ad, the resonse is empty.

https://googleads.g.doubleclick.net/pagead/ads?unviewed_position_start=1&videoad_start_delay=0&video_format=43&t_pyv=exclude&min_ad_duration=0&max_ad_duration=44000&ca_type=image&description_url=http%3A%2F%2Fwww.youtube.com&vis=1&frm=0&osd=2&sdr=1&is_amp=0&hl=en&u_so=l&adsid=ChAI8JCv6gUQh5THi4ek2KBoEjkAF76kkbGZoCCjW1TwAKsUxZxeXEloAXa7ofNBEK49c3_aavCQdbvR_g9iYKKIqsFYcSFHqq_mKJM&jar=2019-8-8-9&sdkv=h.3.321.2&sdki=44d&adk=84665109&url=https%3A%2F%2Futip.io%2F%3FredirectToken%3D%257B%2522ct%2522%253A%2522arHiSietudNGOCrwNypsjjdt0jZWPGpNRTkAyEIRJSQ%253D%2522%2C%2522iv%2522%253A%252280fd73748283c05c25b0828a8f01b7be%2522%2C%2522s%2522%253A%25223e898bcd915ea1f9%2522%257D&eid=21063974&dt=1565257555065&correlator=1786501965917366&video_product_type=0&client=ca-video-pub-4968145218643279&num_ads=1&channel=vpaidadp_html5&output=xml_vast3&adtest=on&sz=744x419&adsafe=high&ad_type=video&u_tz=120&u_his=4&u_java=false&u_h=1080&u_w=1920&u_ah=1080&u_aw=1920&u_cd=24&u_nplug=3&u_nmime=4&ged=ve4_td0_tt0_pd0_la0_er283.99.702.843_vi0.0.950.941_vp100_eb24171

When importing this TAG to Google VPAID tester, the ad workds, but not on our website.

You can test our integration here https://utip.io/demogoogleadsense

Click on the purple button "Regarder une pub"

And then click on the search button that appears on modal

IMA SDK

unread,
Aug 8, 2019, 6:46:01 AM8/8/19
to ya...@utip.io, ima...@googlegroups.com

Hi Jeong-Heon,

Thank you for reaching out to us and for sharing this information.

I have tested the sample ad tag you have shared from the AdSense video ad source interactive guide using the IMA SDK Video Suite Inspector. However, I kept getting an error (please see attached screenshot: test1), so I've used "HTTPS" and I was able to play the ads successfully (attached screenshot: test2).

You can check your configuration and see if this could fix the issue.

Or, you can also generate a new sample ad tag based on what video player you are using and if it is a VAST or VPAID compliant by setting up the AdSense video ad source interactive guide (attached screenshot: test3).

Let me know if you have further questions or clarifications.


Regards,
Sherwin Diesta
IMA SDK Team



ref:_00D1U1174p._5001UEIMdZ:ref
test1.png
test2.png
test3.png

Jeong-Heon Yang

unread,
Aug 8, 2019, 6:58:26 AM8/8/19
to Interactive Media Ads SDK
Hi Sherwin, 

Indeed I am sorry I have given the http version,

However my tests are done with HTTPS Version ! 

IMA SDK

unread,
Aug 8, 2019, 7:24:31 AM8/8/19
to ya...@utip.io, ima...@googlegroups.com

Hi Jeong-Heon,

No worries and thank you for your response.
Could you also generate a new sample ad tag based on your video player and if it is a VAST and VPAID compliant? Let me know if this will work on your end.




Regards,
Sherwin Diesta
IMA SDK Team



ref:_00D1U1174p._5001UEIMdZ:ref

Jeong-Heon Yang

unread,
Aug 8, 2019, 8:04:12 AM8/8/19
to Interactive Media Ads SDK
Hello,

with the new generated sample tag it still does not work with IMA HTML5 SDK 

https://ima3vpaid.appspot.com/?adTagUrl=http%3A%2F%2Fgoogleads.g.doubleclick.net%2Fpagead%2Fads%3Fad_type%3Dvideo%26client%3Dca-video-pub-4968145218643279%26videoad_start_delay%3D0%26description_url%3Dhttp%253A%252F%252Fwww.youtube.com%26hl%3Den%26max_ad_duration%3D40000%26adtest%3Don&type=js

The second request made for an ad Request is this url

https://googleads.g.doubleclick.net/pagead/ads?unviewed_position_start=1&videoad_start_delay=0&video_format=43&t_pyv=exclude&min_ad_duration=0&max_ad_duration=44000&ca_type=image&description_url=http%3A%2F%2Fwww.youtube.com&vis=1&frm=0&osd=2&sdr=1&is_amp=0&hl=en&u_so=l&adsid=ChAI8JCv6gUQh5THi4ek2KBoEjkAF76kkTgvvHC0-qQ280Azx2xHUxVegPiROQc2MtMBT7xaAAD4QvtqCE5i6OkzB1sBHHPYAQE5Jn8&jar=2019-8-8-11&sdkv=h.3.321.2&sdki=44d&adk=84665109&url=https%3A%2F%2Futip.io%2F%3FredirectToken%3D%257B%2522ct%2522%253A%2522hYOLcYtJi%252BVISg4HM16Cap4F4NAMeStMGOz3HTL3jyI%253D%2522%2C%2522iv%2522%253A%252237a6c75db736f3242ab852024466ce1c%2522%2C%2522s%2522%253A%2522c508532a14793ce9%2522%257D&dt=1565265634928&correlator=2643130348579047&video_product_type=0&client=ca-video-pub-4968145218643279&num_ads=1&channel=vpaidadp_html5&output=xml_vast3&adtest=on&sz=744x419&adsafe=high&ad_type=video&u_tz=120&u_his=4&u_java=false&u_h=1080&u_w=1920&u_ah=1080&u_aw=1920&u_cd=24&u_nplug=3&u_nmime=4&ged=ve4_td0_tt0_pd0_la0_er313.588.732.1332_vi0.0.1009.1920_vp100_eb24171

as you can see the VAST tag is empty

IMA SDK

unread,
Aug 8, 2019, 10:36:29 PM8/8/19
to ya...@utip.io, ima...@googlegroups.com

Hi Jeong-Heon,

Thank you for sharing this information.

I've tested both ad tags you have shared on Video Suite Inspector and both seem to work fine (please see attached files). That being said, could you test on your end the IMA SDK for HTML5 basic sample app and see if you will encounter the same issue? With this, we can check if the SDK is properly implemented.




Regards,
Sherwin Diesta
IMA SDK Team



ref:_00D1U1174p._5001UEIMdZ:ref
adTagTest2.png
adTagTest1.png

Jeong-Heon Yang

unread,
Aug 19, 2019, 5:56:26 AM8/19/19
to Interactive Media Ads SDK
Hi Sherwin,

Thank you for your response,

I have used a sample app and indeed it works.

Now I have to look whyit doesn't work with my integration

I receive two different messages with the basic simple integration that you have given me and my integration.

Maybe you could help me find out what I am doing wrong ? 

Here is the first adResponse that I get with the Basic Sample

https://googleads.g.doubleclick.net/pagead/ads?unviewed_position_start=1&videoad_start_delay=0&video_format=43&t_pyv=exclude&min_ad_duration=0&max_ad_duration=44000&ca_type=image&description_url=http%3A%2F%2Fwww.youtube.com&vis=1&frm=2&osd=2&sdr=1&is_amp=0&hl=en&u_so=l&adsid=ChAI8JHp6gUQ3syUw8n86fJ1EjkA9fyPoOJGRIKx0WTKWff-oBF0Pe42XJHEo0_PHDsy3cm8E5eXTQ9A9St1IyKQ8hbQf7I1TRenRJ0&jar=2019-8-19-9&sdkv=h.3.324.0&sdki=44d&adk=2064120704&url=https%3A%2F%2Fimasdk.googleapis.com%2Fjs%2Fcore%2Fbridge3.324.0_en.html&top=https%3A%2F%2Futip-symfony&eid=75259402&dt=1566208086561&correlator=4412680483182104&video_product_type=0&client=ca-video-pub-4968145218643279&num_ads=1&channel=vpaidadp_html5&output=xml_vast3&adtest=on&sz=640x360&adsafe=high&ad_type=video&u_tz=120&u_his=4&u_java=false&u_h=1080&u_w=1920&u_ah=1080&u_aw=1920&u_cd=24&u_nplug=3&u_nmime=4&ref=https%3A%2F%2Fimasdk.googleapis.com%2Fjs%2Fcore%2Fbridge3.324.0_en.html&ged=ve4_td1_tt1_pd1_la1000_er0.0.154.300_vi0.0.360.640_vp100_eb24427

And here is the AdResponse that I get with my integration

https://googleads.g.doubleclick.net/pagead/ads?unviewed_position_start=1&videoad_start_delay=0&video_format=43&t_pyv=exclude&min_ad_duration=0&max_ad_duration=44000&ca_type=image&description_url=http%3A%2F%2Fwww.youtube.com&vis=1&frm=0&osd=2&sdr=1&is_amp=0&hl=en&u_so=l&adsid=ChAI8JHp6gUQ3syUw8n86fJ1EjkA9fyPoHp1RUdxK15pDODTnwU-KRNEpFooPYMNWQFfQ_KQUT_UxddrsZQ6N6_D-ENOjwMUq4JoW3I&jar=2019-8-19-9&sdkv=h.3.324.0&sdki=44d&adk=84665109&url=null&top=https%3A%2F%2Futip-symfony&eid=21063525&dt=1566208187830&correlator=364172150992148&video_product_type=0&client=ca-video-pub-4968145218643279&num_ads=1&channel=vpaidadp_html5&output=xml_vast3&adtest=on&sz=673x379&adsafe=high&ad_type=video&u_tz=120&u_his=7&u_java=false&u_h=1080&u_w=1920&u_ah=1080&u_aw=1920&u_cd=24&u_nplug=3&u_nmime=4&ged=ve4_td0_tt0_pd0_la0_er355.0.734.673_vi0.0.1056.673_vp100_eb24171


As you can see the Basic sample one gives me a valid VAST tag response and my integration adResponse is empty

I can see that the `?url=` is null and when I change it with the valid AdResponse Tag Url same parameter it works.

Do you have any idea how this can be fixed ?


Thanks,

IMA SDK

unread,
Aug 19, 2019, 7:45:04 AM8/19/19
to ya...@utip.io, ima...@googlegroups.com

Hi Jeong-Heon,

Thank you for sharing these.

However, when it comes to the empty ad response, I would suggest asking assistance from your ad provider as this issue is more on the ad creatives rather than the IMA SDK itself.

As per further checking of your sample integration, I've noticed that some of the ad requests are having this line "https://ima3vpaid.appspot.com/?adTagUrl=".

By removing this line and edited the "http" to "https" on the ad tag, I was able to see the ads successfully using the Video Suite Inspector.

Please let me if you have questions and clarifications.




Regards,
Sherwin Diesta
IMA SDK Team



ref:_00D1U1174p._5001UEIMdZ:ref

Jeong-Heon Yang

unread,
Aug 19, 2019, 10:33:14 AM8/19/19
to Interactive Media Ads SDK
I have solved the issue, in case somebody is looking for it 

The Sample integration does not work in INSECURE Mode :

         
google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.INSECURE);


Removing this line worked for me

Thanks again Sherwin for your help
Reply all
Reply to author
Forward
0 new messages