AdError.AdErrorCode.VAST_EMPTY_RESPONSE

672 views
Skip to first unread message

Brian Chu

unread,
Jun 9, 2015, 12:00:21 PM6/9/15
to ima...@googlegroups.com
in android IMA sdk b11, there is a new error code  AdError.AdErrorCode.VAST_EMPTY_RESPONSE. Does it mean the VAST response is empty (no string at all) or it has XML response but nothing about the VAST? Thanks.

Tyler Sidell (IMA SDK Team)

unread,
Jun 9, 2015, 2:16:30 PM6/9/15
to ima...@googlegroups.com
Hi Brian,

The error code AdError.AdErrorCode.VAST_EMPTY_RESPONSE means that there is a XML response but it is empty with no further information.  An example of an empty VAST response would be:
<VAST>

</VAST>
  
You can see information on this error code along with other AdErrorCode here.

If you need further assistance, please feel free to reach out to us.

Thanks,
Tyler
IMA SDK Team

Brian Chu

unread,
Jun 9, 2015, 4:42:10 PM6/9/15
to ima...@googlegroups.com
Thanks! 

I just try the link single Skippable inline at https://developers.google.com/interactive-media-ads/docs/sdks/android/tags using a browser.


It returns
<?xml version="1.0" encoding="UTF-8"?>
<VAST xmlns:xsi="http://www.w3.org/2001/XMLSchema-instancexsi:noNamespaceSchemaLocation="vast.xsdversion="3.0"/>


but it works in android demo app. 

I guess I just can't paste the URL in browser and expect it returns the same thing I would see in the app (which use the SDK of course), right? I end up have to look at the network traffic to figure out the response is indeed okay.
Message has been deleted

Tyler Sidell (IMA SDK Team)

unread,
Jun 10, 2015, 2:53:41 PM6/10/15
to ima...@googlegroups.com
Thank you Brian,

It is not an SDK implementation issue but more likely it could be an ad frequency capping scenario or related to the correlator parameter.  There are frequency caps to make sure users don't see the same ads over and over again, which can lead to no ad being returned if you're making a lot of requests from the same site.  

The tag is intended to be used by the SDK.  The SDK will automatically generate and fill in the correlator parameter for you.  The correlator value is a random number, usually the timestamp of the page view, that is shared by multiple request coming from that same page view.


Tyler Sidell
IMA SDK Team

Brian Chu

unread,
Jun 12, 2015, 12:09:29 PM6/12/15
to ima...@googlegroups.com
Thanks Tyler,

I guess there is no way from client side to understand this is a capping or related issues? since there is no <error> tag coming back from the server and hence no AdError event...

Brian Chu

unread,
Jun 12, 2015, 12:27:17 PM6/12/15
to ima...@googlegroups.com
Also, why the example has &correlator= correlator equals to empty?
I am thinking to do a PR to remove them as SDK will add them anyway. It did confuse me :>

Tyler Sidell (IMA SDK Team)

unread,
Jun 12, 2015, 3:33:15 PM6/12/15
to ima...@googlegroups.com
Hi Brian,

For the sample ad tag provided, it is due to no correlator value being assigned.  These examples are provided with intention to be used with the SDK.  As noted below, the SDK it will handle that parameter and generate a unique value.  

If you are seeing an empty VAST for your own ad tag, check if a correlator value is being populated.  The correlator value is used for frequency capping.

Let us know if you have any further questions.

Thanks,
Tyler Sidell
IMA SDK Team

Reply all
Reply to author
Forward
0 new messages