Request Ads with SDK 3.0 - adTagURL and response error

687 views
Skip to first unread message

vio_popa

unread,
Oct 7, 2013, 9:10:29 AM10/7/13
to ima...@googlegroups.com

Hello,

I just upgraded my custom flash player to play google ads using SDK 3.0(overlay and fullslot),
and i get this error over and over:

error Malformed ads response received. caused Error: No ads were found in the ad response. At least one ad is required to be able to load or play. for the following ad response: <?xml version="1.0" encoding="utf8"?>
<VAST xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vast.xsd" version="2.0"/>

I make two requests, one for an overlay ad and the other for a fullslot ad.

I'm ussing the adTagURL for test: "http://googleads.g.doubleclick.net/pagead/ads?client=ca-video-afvtest&ad_type=video&description_url=http%3A%2F%2Fmyurl.com%2Fpage%3Fkey%3Dvalue%26key2%3Dvalue2";

because i don't know how to get my own adTagURL..

Please, can you help me to compose my own adTagURL?

Thank you very much,
Vio Popa.



Shawn Busolits (IMA SDK Team)

unread,
Oct 7, 2013, 10:21:42 AM10/7/13
to ima...@googlegroups.com
Hey Vio,

Could you let me know where you got that ad tag? It looks like it's no longer active, so we'll need to update that documentation. In the mean time you can use the following ad tag to test your implementation:


If you have any other questions let us know!

Thanks,
Shawn Busolits
IMA SDK Team

Shawn Busolits (IMA SDK Team)

unread,
Oct 7, 2013, 11:05:08 AM10/7/13
to ima...@googlegroups.com
Hey Vio,

In response to getting your own ad tag, I'd recommend checking out DFP for small business.

Thanks,
Shawn Busolits
IMA SDK Team

vio_popa

unread,
Oct 8, 2013, 8:16:09 AM10/8/13
to ima...@googlegroups.com
Hello Shawn,

Thank you very much for your response.
The adTagURL that you gave me worked, so the request is ok,
but i still have some problems, i hope you can give me some guidelines.

1. I don't have acces to the google adsense account, i just modify the flash player.
The update to SDK 3.0 have any impact on the account settings? Should admins make any update on that side too?

2. I need to play 2 google ads: one overlay in the bingging of the movie (a nonlinear ad)
and a fullslot ad, in the end, when the movie stops. I make 2 requests, but i have no control over the responses.
How do i specify that at 00:10 i want to play an overlay (text-image-flash) and later, a fullslot (text-image-flash).
With SDK 2.0 that was a little more explicit...

3. I found that the base adTagURL for all the parameters is: http://googleads.g.doubleclick.net/pagead/ads?
I just added all the parameters i need and it still not working... haow do i form the adTagURL?

Hope that my questions are clear.

Shawn Busolits (IMA SDK Team)

unread,
Oct 8, 2013, 5:17:24 PM10/8/13
to ima...@googlegroups.com
Hey Vio,

I have answers with numbers corresponding to your questions below:

1) Updating v2 to v3 doesn't require any new settings on your AdSense account.

2) Unfortunately I can't help you here - this is more of an AdSense question than an IMA question. I'd recommend checking out their help forum.

3) If you're using AdSense, you would need to build your tag according to the  AdSense parameters. There's an article with more info on that here.

If you have any more questions let us know!

Thanks,
Shawn Busolits
IMA SDK Team

vio_popa

unread,
Oct 9, 2013, 8:20:26 AM10/9/13
to ima...@googlegroups.com
Thank you very much, Shawn :)
Very helpful your answers.

Have a beautiful day,
Vio Popa.

vio_popa

unread,
Oct 9, 2013, 8:35:36 AM10/9/13
to ima...@googlegroups.com
Hello Shawn,

The Adsense forum could'nt help me whith the second question...
Maybe it's me, i wasn't clear...

The question is:
To request 2 ads, 1 overlay and 1 fullslot, with SDK 2.0, i had used two adRequests, two adsManager instance and the proprerty adType:

adRequest1.adType = AdsRequestType.FULL_SLOT
adRequest2.adType = AdsRequestType.OVERLAY

Which is the equivalent for SDK 3.0?
How do i make the call for every type of ad that i need?


Thank you very much,
Vio Popa.


On Wednesday, October 9, 2013 12:17:24 AM UTC+3, Shawn Busolits (IMA SDK Team) wrote:

Shawn Busolits

unread,
Oct 9, 2013, 4:46:42 PM10/9/13
to ima...@googlegroups.com
Hey Vio,

Sorry, I misunderstood the question. For this to work you'll need to do a few things:

1) Set your nonLinearAdSlot Height and Width to be the full size of your video player
2) Set your ViewModes to NORMAL
3) Use "overlay=0" in your ad tag for full slot ads, and "overlay=1" in your ad tag for bottom third overlay ads.

If you run into any trouble let us know!

Thanks,
Shawn Busolits
IMA SDK Team

vio_popa

unread,
Oct 14, 2013, 9:52:36 AM10/14/13
to ima...@googlegroups.com
Hello Shawn,

Thank you very much for the answer. It makes sense.
Unforchantly, it dose not work, i still get this error:

error Malformed ads response received. caused Error: No ads were found in the ad response. At least one ad is required to be able to load or play. for the following ad response: <?xml version="1.0" encoding="utf8"?>
<VAST xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vast.xsd" version="2.0"/>

error Error: Ad adLoadError error: No ads were found in the ad response. At least one ad is required to be able to load or play. errorCode: 1001
warning Ads load error: No ads were found in the ad response. At least one ad is required to be able to load or play.


My guess is that is an adTagURL issue...
My request for an overlay Ad, image text or flash, is:

adsRequest_overlay.adTagUrl = "http://googleads.g.doubleclick.net/pagead/ads?client=ca-video-pub-6967925853071036&ad_type=text-image-flash&overlay=1&description_url=http%3A%2F%2Fwww.220.ro%2F%3Fmodule%3Dcont_gmedia_desc%26id%3DtwFsX7AcmB"


Could you give me please an adTagURL sample for an overlay request? (text, image or flash)

Thank you,
Vio.

Shawn Busolits (IMA SDK Team)

unread,
Oct 14, 2013, 11:59:57 AM10/14/13
to ima...@googlegroups.com
Hey Vio,

It looks like everything is working fine within the SDK, but your ad tag isn't returning any ads. This is something you'd need to speak with your account manager about. Here's a DFP overlay tag you can use to test:


Thanks,
Shawn Busolits
IMA SDK Team

vio_popa

unread,
Oct 15, 2013, 8:06:11 AM10/15/13
to ima...@googlegroups.com
Thank you very much, Shawn.
Both samples adTagURL that you gave me are working just fine.
So the problem is within my adTagURL. I'll speak to the account manager about it.

Thank you again, have a great day,
Vio..

vio_popa

unread,
Oct 17, 2013, 10:22:10 AM10/17/13
to ima...@googlegroups.com

Hello Shawn,

I just found what the problem was. I had the wronk sintax for the adTagURL param:
correct: ad_type=text_image_flash
incorrect (what i was using): ad_type=text-image-flash

So mistery solved. :) It works fine.

Now, i have a new, in fact old, problem. In some ads,  the minut i make the request,
the player change the position into the embed canvas. But just in some cases, with some ads.
the stage moves at the right direction, along both axes, x and y.

The only error/warning i detect on the flash log are:
Warning: Reference to undeclared variable, 'com'
Warning: 'com' has no property 'google'
Warning: 'google' has no property 'ads'
Warning: 'ads' has no property 'ima'
Warning: 'ima' has no property 'proxy'
Warning: 'proxy' has no property 'BidirectionalConnection'
Warning: Reference to undeclared variable, 'com'
Warning: 'com' has no property 'event'
Warning: 'event' has no property 'EventDelegate'
Warning: 'com' has no property 'Proxy'


Do you have any idea why this behavior?
It seems that youtube had also experience the same effect.
It happend only with some ads, flash overlays and fullslots.

Thank you,
Vio.

P.S.
I attached a printscreen.

Shawn Busolits (IMA SDK Team)

unread,
Oct 17, 2013, 2:57:45 PM10/17/13
to ima...@googlegroups.com
Hey Vio,

Do you have an ad tag I could use to replicate this on my end?

Thanks,
Shawn Busolits
IMA SDK Team

vio_popa

unread,
Oct 22, 2013, 2:42:24 AM10/22/13
to ima...@googlegroups.com
Hello Shawn,

It seems that i have to use an VAST adTagURL and not a IMA adTagURL.(the one i used before)
I'm still waiting for that code.

Also, it seems that is a problem with the way that the ad was created (the one that change the player's behaivor)
If i'll still have the same problem with the VAST ads, i'll let you know.

Thank you very much,
Vio.
Reply all
Reply to author
Forward
0 new messages