Why the display-rewarded-ad example doesn't work with my ad Id

328 views
Skip to first unread message

Jooba

unread,
Oct 6, 2022, 1:39:43 AM10/6/22
to Google Ad Manager API Forum
Hi,
Quick question:
I'm using the exmple to disple a rewarded add in https://developers.google.com/publisher-tag/samples/display-rewarded-ad.
It works with the exmple ad ID, but when I change the ad ID to my own ad it doesn't work.

I only changed this:
rewardedSlot = googletag.defineOutOfPageSlot( '/22639388115/rewarded_web_example', googletag.enums.OutOfPageFormat.REWARDED);

To:

rewardedSlot = googletag.defineOutOfPageSlot( '/<my-ad-ID>/<my-ad-code>', googletag.enums.OutOfPageFormat.REWARDED);

I tried both the 11 digits ad ID and also the 8 digits ad ID in the Tag generated code.

Please instruct what setting I need to use to make it work.

Regards

Ad Manager API Forum Advisor

unread,
Oct 6, 2022, 6:14:30 AM10/6/22
to jooba...@gmail.com, google-doubleclick...@googlegroups.com
Hello,

Thank you for reaching out to the Ad Manager API support team. I am Chekurthi and will be assisting you.

As per the provided information, I can confirm that the query is related to the Google Publisher Tag. Please note that we can only assist with the technical queries/concerns related to the Ad Manager API. I would suggest you to post your query in the Google Ad Manager Help Community for further assistance.

Regards,
Google Logo
Chekurthi
Ad Manager API Team
 


ref:_00D1U1174p._5004Q2ey6R3:ref

JuJu G

unread,
Oct 21, 2022, 5:54:50 AM10/21/22
to Google Ad Manager API Forum
did you manage to figure this out Jooba?
Reply all
Reply to author
Forward
0 new messages