Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Request: offer in code to control and even disable mediation

22 views
Skip to first unread message

Liran Barsisa

unread,
Feb 2, 2025, 6:31:10 PMFeb 2
to Google Mobile Ads SDK Developers
When debugging and developing the app with ads, there are 2 ways to get test ads which won't interfere with real ads:

1. Use Admob test ad unit IDS. This is a problem because they aren't customizable (for example I can't set the banner ads to avoid auto-refresh). Also sadly it seems only Admob respects it out of all ad-sources of mediation.
2. Use the current device/emulator as a test device. Sadly for this, only few ad-sources of mediation respect it, and most require you to set things up on their website. This is a problem because of all the maintenance and set up time that's required as device ad-id can change, which is also inefficient. Not to mention that they don't always show it's a test ad.

This can often lead to real ads being shown by the mediation ad-sources, which should be avoided.

We could reach the ad-inspector to force using Admob, but then it could be too late, as ads might appear before we can reach the ad-inspector.

So, my request:
Offer some control over mediation in code too, such as being able to disable it, and use only Admob.
This is useful for this scenario, of before publishing the app, so that we won't affect anything of the ad-sources, and won't use real ads.

Mobile Ads SDK Forum Advisor

unread,
Feb 3, 2025, 2:11:34 AMFeb 3
to lbl...@gmail.com, google-adm...@googlegroups.com

Hi Liran,

Thank you for contacting the Mobile Ads SDK support team.

If you're seeing real mediation ads after adding test devices, you might need to enable test mode for your mediation networks.

This Turn on test mode section also mentions how to enable test mode for most of the mediation adapters. I shall however raise this request with the wider team and will notify you once I receive any updates.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vGziV:ref" (ADR-00286737)

Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5


 


Liran Barsisa

unread,
Feb 3, 2025, 3:28:31 AMFeb 3
to Google Mobile Ads SDK Developers
That's the point I already wrote, that it requires more steps for each network and can also break, instead of letting me do it in code which is much more reliable, easy, and quick.
Reply all
Reply to author
Forward
0 new messages