Terminating app due to uncaught exception 'GADInvalidInitializationException', reason: 'The Google Mobile Ads SDK was initialized without an application ID. Google AdMob publishers, follow instructions here: https://googlemobileadssdk.page.link/admob-ios-update-plist to set GADApplicationIdentifier with a valid App ID. Google Ad Manager publishers, follow instructions here: https://googlemobileadssdk.page.link/ad-manager-ios-update-plist'
Hi Ravi,
Based on the shared logs, it looks like the initialization is not done correctly. Please refer to our guide for more information and our sample apps on how to add this correctly. If you're loading AdMob ads, please note that it is not required to include the GADIsAdManagerApp key in your plist. Below is the sample source code for this:
<key>GADApplicationIdentifier</key>
<string>ca-app-pub-3940256099942544~1458002511</string>
If you're facing any issues, could you please share the screenshot where you're setting these values, to take a closer look?
Thanks,
Bharani Cherukuri
Mobile Ads SDK Team
Hi,
Thank you for reaching out to us.
Can you provide us your sample app project, so that we can check your implementation on this?
If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:
1. Navigate to https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=5001U00000HEfDLQA1&entry.80707362=00013669
2. Fill out all fields, and attach your file(s).
3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.
Regards,
|
||||||