AdMob: Updated AdMob Ad Unit ID

Recently, I recently upgraded to a new version of AdMob (the previous version is called Legacy AdMob).

I imported my information from Legacy AdMob into an updated version. Now I'm not sure how to add a new ad unit.

I have two (2) ads. One of them is the announcement on the main screen (announcement 1), and the other - on the other screen (announcement 2). Ad 1 created by Legacy AdMob. It has a Legacy Publisher ID and a Lifetime Mediator ID under it. I recently created ad 2. It ONLY indicates "Ad unit ID."

Of course, Google’s developer resources have not yet been updated ( https://developers.google.com/mobile-ads-sdk/docs/admob/fundamentals?hl=en_US#xml ).

My questions: 1. Do I continue to use the Legacy AdMob PUBLISHER ID for ad 1? 2. For Ad 2, I use my NEW publisher ID (I noticed that AdMob gave me a new publisher ID when switching from Legacy)?

Basically, now that I’m using an updated version of AdMob (migrated from Legacy AdMob, the old AdMob), what ID * do I use to ensure revenue?

* The new identifiers in the new / updated AdMob are also much longer and start with things like:

cha-app-pub- [AD_UNIT_ID_NUMBER_HERE]

pub- [PUBLISHER_ID_HERE]

Do I include the prefix as above?

+6
source share
1 answer

New AdMob ad unit identifiers start with ca-app-pub . You should start using them. Include the entire ad unit in your application, for example ca-app-pub-1234567890123456/1234567890 .

As for your traffic in existing versions of your application that use old identifiers, this is fine - there is a comparison between the old publisher / reseller identifiers and the new ad unit identifier (although this is not necessarily a 1-1 display). New placements can be either a site identifier or a mediation identifier combined into one, since in the new AdMob the ad unit is a mediation room regardless of whether you use only AdMob or notify you.

Hope to answer more questions than arises.

+14
source

Source: https://habr.com/ru/post/951083/


All Articles