HTML5: Does it possible to get the Wrapper URL when error occurs

69 views
Skip to first unread message

Iries

unread,
Apr 28, 2023, 10:55:41 AM4/28/23
to Interactive Media Ads SDK
Hi, 
I am using IMA SDK HTML5 version for playing video ads, preroll mostly, using together with Prebid.js. The reporting shows that a large amount of 1009 errors and 1005 errors occurred to my users. I am troubleshooting but can't address the issue. I'd like to check if it is a bidder specific problem. 

The response from DFP looks like this:
<VAST xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vast.xsd" version="4.0">
<Ad id="1">
<Wrapper>
<AdSystem>GDFP</AdSystem>
<VASTAdTagURI><![CDATA[https://wrapper.url/to/bidder-A]]></VASTAdTagURI>
<Error>...</Error>
<Impression>...</Impression>
<Creatives>...</Creatives>
<Extensions>...</Extensions>
</Wrapper>
</Ad>

<Ad id="2">
<Wrapper>
<AdSystem>GDFP</AdSystem>
<VASTAdTagURI><![CDATA[https://wrapper.url/to/bidder-B]]></VASTAdTagURI>
<Error>...</Error>
<Impression>...</Impression>
<Creatives>...</Creatives>
<Extensions>...</Extensions>
</Wrapper>
</Ad>

<Ad id="565951583510">
<InLine>
<AdSystem>AdSense</AdSystem>
<AdTitle>video</AdTitle>
<Description><![CDATA[video ad]]></Description>
<Error>...</Error>
<Impression>...</Impression>
<Creatives>
...
</Creatives>
</InLine>
</Ad>
</VAST>

It may includes 1 or more wrapper URLs. What I have noticed is that, IMASDK tries on the first one at the beginning, if error occurs, it continues and try on the next. If wrapper URLs all failed, it throws an error. 

My questions are:
  1. Does it possible to collect the errors occur from each wrapper URLs?
  2. When error occurs, does it possible for me to get the wrapper URL that the ads player is currently working on?
Any help would be appreciated. 

Sincerely,
Iries




老胡

unread,
Jul 14, 2023, 3:17:14 AM7/14/23
to IMA SDK, ima...@googlegroups.com
Thank you for the clarification. It really helps.

IMA SDK <ima...@forumsupport.google> 于2023年4月29日周六 02:39写道:

Hi Iries,

Thank you for reaching out to the IMA SDK Forum.

It appears that you are getting 1009 errors and 1005 errors. To provide information on these errors, the error code 1009 indicates that the VAST response document is empty. These errors are reported when there are no video files or tracking events included in a returned VAST response. This error is likely due to either the publisher setup of the ad unit, or a trafficking error with the order or line item. With this, we would recommend that you ensure there are no errors with the start or end dates in the order or line item, and all targeted key-values are valid. Also, ensure that the correct ad units are targeted, and the size configured in the line item matches the size of the targeted ad units.

Furthermore, the 1005 error can occur when either the encoding or decoding of a URL was not successful. We would recommend that you ensure that any special characters in your URL strings are encoded correctly. You may read more information about VAST and IMA SDK errors via this link (https://support.google.com/admanager/answer/4442429?hl=en&sjid=17171292239324848320-AP)

With regards to your concern on collecting the errors occurring from each wrapper URLs and getting the wrapper URL that the ads player is currently working on. Unfortunately, the internal parsing of VAST and VMAP responses is not currently considered a public component of the IMA SDK, and as this behavior can vary heavily dependent on internal details of serving and parsing, we cannot provide the data requested through the IMA.

You may use our VSI player to check whether your video ad response will work with the IMA SDK by pasting your VAST ad tag or VAST ad response into the field provided.

Please let us know if you have further questions.

Reference Links:

Regards,

Google Logo IMA SDK Team


ref:_00D1U1174p._5004Q2l8DpI:ref

IMA SDK

unread,
Jul 14, 2023, 6:30:21 AM7/14/23
to hjl58...@gmail.com, ima...@googlegroups.com

Hi,

Glad to help. Don't hesitate to reach out for any IMA SDK concerns.
 

This message is in relation to case "ref:_00D1U1174p._5004Q2l8DpI:ref"

Thanks,

 
Google Logo IMA SDK Team


Reply all
Reply to author
Forward
0 new messages