I have been trying to add ads in my game using admob but i have hit a wall. I have been trying to use multiple ad units in my app but i keep getting errors. Here are my problems:
<meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="ca-app-pub-3940256099942544/5224354917"/>
i am a little confused on what i should put in "APPLICATION_ID". any help?I tried to add two meta data tags but to no avail. I dont know how to add two add units in my app and am a beginner in android development so any help will be appreciated.
Add one time this meta-data tag in your manifest like this
And put your ad ids in your string file like this
And use like this