Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • Where exactly did you put the meta data tag? Commented Oct 12, 2018 at 21:05
  • I edited the question and added the manifest data. Now you should be able to see where I put the meta data tag. I am sorry, but I don't want to share app id and ads id, that's why I replaced or changed them. Thank for your help bro! Commented Oct 12, 2018 at 21:34
  • 1
    Follow this answer stackoverflow.com/questions/53294162/… Commented Nov 23, 2018 at 8:40
  • 4
    I am facing same problem, but in my app I didn't include ads, should I add the meta-data part? if so, where can I get the appID from? I didn't get where "Google addmob" could be found.
    – coder
    Commented Jan 7, 2019 at 13:12
  • 1
    @coder go to manifest -> Merged Manifest , you can find these tags, delete all of them : . . <provider android:name="com.google.android.gms.ads.MobileAdsInitProvider" tools:node="remove" /> <service android:name="com.google.android.gms.ads.AdService" tools:node="remove" /> <meta-data android:name="com.google.android.gms.version" tools:node="remove" />
    – Ali Salehi
    Commented Feb 1, 2022 at 11:59