Notification

Get personalized optimization tips, understand your account health and set up completion on the improved "My AdMob page".

Replace legacy Publisher and Mediation IDs

For ad units created before September 1, 2014.

AdMob uses ad unit IDs to identify unique ad units in your apps, serve ads to those ad units, and manage mediation if it's enabled.

Apps you may have monetized in legacy AdMob used legacy Publisher IDs to identify the ad units and legacy Mediation IDs for mediation. Both of these IDs have been replaced by a single new ad unit ID. To benefit from all of AdMob's mediation features, you need to update the legacy IDs in each of the ad units in your apps to their corresponding new ad unit IDs, then republish your apps.

Update your legacy IDs

To update your the legacy Publisher and Mediation IDs in your apps to the new ad unit IDs:

  1. Sign in to your AdMob account at https://admob.google.com.
  2. Click Apps in the sidebar.
  3. Click the name of the app you want to update.
  4. Scroll down to view the ad units table. It displays all of the ad units associated with the app.
  5. Click the Copy icon in the Ad unit ID column beside the ad unit.
  6. In your app's code, replace the legacy Publisher ID and the legacy Mediation ID for the ad unit with its new ad unit ID. Repeat this step for each pair of legacy Publisher and Mediation IDs.
  7. Publish your app containing the new ad unit IDs.

 

You may want to wait to publish until your next scheduled app release if you're still actively developing the app. However, to benefit from all of AdMob's mediation features, you need to update and republish the app using the new ad unit IDs.

The new ad unit IDs will be used for ad serving to all of the users who download the new version of your app or update their existing version.

Was this helpful?

How can we improve it?
true
Show your support to promote DEI in Gaming by turning intentions into action!

Check out the newly launched Diversity in Gaming website, where you can find video stories and written pledges from global gaming developers. This campaign centers on 3 pillars: diverse teams, diverse games and diverse audiences showing how diversity is not just good for gamers, but for business as well. Show your support by taking the pledge to promote DEI in Gaming and share it on social!

Learn More

Search
Clear search
Close search
Google apps
Main menu
16114544838677960310
true
Search Help Center
true
true
true
true
true
73175
false
false