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,
IMA SDK Team
ref:_00D1U1174p._5004Q2l8DpI:ref
Hi,
Glad to help. Don't hesitate to reach out for any IMA SDK concerns.
![]() |
IMA SDK Team |