Closed lzhudson closed 4 years ago
Hello @lzhudson
I think this is likely an issue with your ad-tag setup in Ad Manager. Are you able to see loading the ad-tag in the Video Suite Inspector result in different ads? If the ads are the same there, I would recommend reaching out to your Ad Manager agent to help resolve the issue.
Hello @Kiro705
I tested the tag here though, now it is returning me error 1009. Follow the test link: https://www.mtorrespack.com.br/video-ads/
@Kiro705 Now he is repeating the same mistake. Always display the same ad even changing the tag and making the request.
Hello @lzhudson ,
Thank you for sharing the test page. I think the issue for you is with the ad tag and not the implementation. I tired using IMA's sample skippable pre-roll, then on the SKIPPED event, I called the following code to switch the ad to a IMA's sample post-roll and that played successfully at the end of the video.
player.ima.changeAdTag(postRollAdTag);
player.ima.requestAds();
I think the current issue is the 1009 error which will have to be solved on the ad manager side.
In addition, the IMA team does not recommend requesting new ads for the same content video on the SKIPPED event. This can be seen as spammy behavior if multiple ad requests are made in quick succession.
When I load the player, when I skip the ad and make a new request it always returns the same ad to me.