Nathan NAHUM
unread,May 23, 2024, 1:21:56 AMMay 23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Interactive Media Ads SDK
Hi guys - hope you are well,
I have a player where I use IMA to load an advertising video from a vast tag. I'd like to be able to retrieve the creative id in order to match it with the GAM creative id. I can retrieve the creative id when IMA manages to load the video, but I can't retrieve the creative id when IMA returns a vast error code.
My goal is to be able to identify the creatives that make the most errors (by type of error), so I need to retrieve this creative id when IMA fails to load the ad, when there's been a vast error.
Maybe I'm missing something, but can you tell me/help me how to retrieve the creative id from the IMA response when it's in error and returns a 302,303 etc. error? I only have the error code information.
For this I am listening
this.adsLoader.addEventListener(
google.ima.AdErrorEvent.Type.AD_ERROR,
this.onAdRequestErrorWaterfall.bind(this),
false);
In my function onAdRequestErrorWaterfall(adErrorEvent), functions adErrorEvent.getUserRequestContext(), adErrorEvent.getError() work well, but I don't have any information about advertising, the creative id.
Thank you for your feedback, it would be very helpful.