RE: [google-admob-ads-sdk] The Google Mobile Ads SDK was initialized without an application ID.

651 views
Skip to first unread message
Message has been deleted

Mobile Ads SDK Forum Advisor Prod

unread,
Aug 26, 2019, 2:41:30 PM8/26/19
to rahv...@gmail.com, google-adm...@googlegroups.com
Hi Ravi, 

If you're is using AdMob, you need to add the AdMob app ID in the Info.plist as mentioned in this guide. If so, you will need to set the GADIsAdManagerApp to false in your plist.

If you're is using Ad Manager, you will need to declare that the app is an Ad Manager app by adding the GADIsAdManagerApp with a boolean value in the Info.plist as mentioned in this guide. Let me know if you have any other questions.

Regards,
Bharani Cherukuri
Mobile Ads SDK Team

ref:_00D1U1174p._5001UHEfDL:ref

Ravi Kotadiya

unread,
Aug 27, 2019, 9:10:51 AM8/27/19
to Google Mobile Ads SDK Developers
I tried both of your solution seprately but still not gettting success here is my log screen exception error please solve my issue asap:

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'

Mobile Ads SDK Forum Advisor Prod

unread,
Aug 27, 2019, 1:56:47 PM8/27/19
to rahv...@gmail.com, google-adm...@googlegroups.com

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



ref:_00D1U1174p._5001UHEfDL:ref

6481...@qq.com

unread,
May 7, 2022, 3:57:33 AM5/7/22
to Google Mobile Ads SDK Developers
I also encountered it, and I am very puzzled. I have checked it countless times according to the document, and I still have this problem.

Mobile Ads SDK Forum Advisor

unread,
May 11, 2022, 10:37:12 AM5/11/22
to google-adm...@googlegroups.com

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,

Google Logo
Princess Pamela
Mobile Ads SDK Team
 


ref:_00D1U1174p._5001UHEfDL:ref
Reply all
Reply to author
Forward
0 new messages