Hi Umair,
Thank you for reaching out to us. We are here to assist you with your concern.
To answer your question: if you are using the
Google Ad Manager SDK along with the Mobile Ads SDK, then you must use the second set of metadata as described in this
page. Specifically:
<manifest>
<application>
<meta-data
android:name="com.google.android.gms.ads.AD_MANAGER_APP" android:value="true"/>
</application>
</manifest>
However, if you are only using the
Mobile Ads SDK by itself, then you must use only the first set of metadata. Specifically:
<manifest>
<application>
<!-- Your AdMob app ID will look similar to this
sample ID: ca-app-pub-3940256099942544~3347511713 --> <meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="YOUR_ADMOB_APP_ID"/>
</application>
</manifest>
Let us know if you have any other questions.
Regards,
Ziv Yves Sanchez
Mobile Ads SDK Team