Ask Your Question
3

How do I transition from using AdMob version 19 to version 20?

asked 2023-06-21 18:58:32 +0000

bukephalos gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2023-06-21 19:12:02 +0000

ladyg gravatar image

If you are using version 19 of AdMob and want to upgrade to version 20, you can follow these steps:

  1. Update your AdMob SDK: You need to update your AdMob SDK to version 20. You can do this by downloading the latest version of the AdMob SDK from the AdMob website and updating your code accordingly.

  2. Replace Google Mobile Ads dependencies: In version 20, the Google Mobile Ads SDK no longer contains the AdMob SDK. Instead, you need to use the Google Mobile Ads dependencies. You can do this by updating your build.gradle file to include the following dependencies:

dependencies { implementation 'com.google.android.gms:play-services-ads:20.4.0' }

  1. Update your ad units: Once you have updated your SDK and dependencies, you need to update your ad units to use the new version of AdMob. You can do this by logging into your AdMob account and updating your ad units to use version 20.

  2. Test your ads: Finally, you should test your ads to ensure that they are working correctly. You can do this by using test ads during development and testing.

By following these steps, you should be able to transition from using AdMob version 19 to version 20.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-21 18:58:32 +0000

Seen: 13 times

Last updated: Jun 21 '23