Action requested: Declare your Ad ID permission

We Are Going To Discuss About Action requested: Declare your Ad ID permission. So lets Start this Java Article.

Action requested: Declare your Ad ID permission

How to solve Action requested: Declare your Ad ID permission

If your app uses the Google Mobile Ads SDK(Admob) version 20.4.0 or higher, you can skip setting up the permission manually since the SDK automatically declares it
More informations here:
https://developers.google.com/admob/android/quick-start

Action requested: Declare your Ad ID permission

If your app uses the Google Mobile Ads SDK(Admob) version 20.4.0 or higher, you can skip setting up the permission manually since the SDK automatically declares it
More informations here:
https://developers.google.com/admob/android/quick-start

Solution 1

If your app uses the Google Mobile Ads SDK(Admob) version 20.4.0 or higher, you can skip setting up the permission manually since the SDK automatically declares it

More informations here:

https://developers.google.com/admob/android/quick-start

Original Author ABDERRAHMANE OUALI Of This Content

Solution 2

Google describe here how to solve

https://support.google.com/googleplay/android-developer/answer/6048248?hl=en

Add in manifest

<uses-permission android:name="com.google.android.gms.permission.AD_ID"/>

Original Author Bruno Morais Of This Content

Solution 3

If the app doesn’t contain any Ads, you can simply remove it by tools:node="remove".

You just need to add the below line in the AndroidManifest.xml file.

<uses-permission android:name="com.google.android.gms.permission.AD_ID" tools:node="remove"/>

Even if another third-party library asks for this specific permission, the build will be forced not to merge it in your final Manifest file.
You can get more info from this SO answer.

Original Author Rumit Patel Of This Content

Solution 4

Don’t worry. All developer who uses Admob for advertisement received this warning. Just make sure you are using Latest Google Mobile Ads SDK(Admob) OR AdMob SDK version higher or equal to 20.4.0 in your build.gradle file. In that case SDK automatically manage it.

Otherwise for older sdk below 20.4.0, we need to manually mention below line in our AndroidManifest.xml

<uses-permission android:name="com.google.android.gms.permission.AD_ID"/>

Original Author Umeshkumar D. Of This Content

Conclusion

So This is all About This Tutorial. Hope This Tutorial Helped You. Thank You.

Also Read,

ittutorial team

I am an Information Technology Engineer. I have Completed my MCA And I have 4 Year Plus Experience, I am a web developer with knowledge of multiple back-end platforms Like PHP, Node.js, Python and frontend JavaScript frameworks Like Angular, React, and Vue.

Leave a Comment