pod update

109 views
Skip to first unread message

Денис Лапшин

unread,
Jul 24, 2019, 9:34:46 AM7/24/19
to Google Mobile Ads SDK Developers
After pod update my application began to crash.

Console: *** 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 '

But
<key> GADApplicationIdentifier </ key>
<string> ca-app-pub-3940256099942544 ~ 1458002511 </ string>
and / or
<key> GADIsAdManagerApp </ key>
<true />
don't solve my problem.
Need your help. Thank you very much!

Денис Лапшин

unread,
Jul 24, 2019, 9:37:23 AM7/24/19
to Google Mobile Ads SDK Developers
I use my application ID instead
<string> ca-app-pub-3940256099942544 ~ 1458002511 </ string>

среда, 24 июля 2019 г., 16:34:46 UTC+3 пользователь Денис Лапшин написал:

Mobile Ads SDK Forum Advisor Prod

unread,
Jul 24, 2019, 3:44:48 PM7/24/19
to google-adm...@googlegroups.com

Hello there,

Thanks for reaching out to us. You can remove - 



 <key> GADIsAdManagerApp </ key>
<true /> 

And only include the - 



<key> GADApplicationIdentifier </ key>
<string> ca-app-pub-3940256099942544~1458002511</string>

Also make sure that you are properly formatting your App_ID (without any spaces).

Let us know if you need anything else.

Regards,
Deepika Uragayala
Mobile Ads SDK Team



ref:_00D1U1174p._5001UEGG8Z:ref

Денис Лапшин

unread,
Jul 25, 2019, 5:05:03 AM7/25/19
to Google Mobile Ads SDK Developers
I tried to use only
<key> GADApplicationIdentifier </ key> 
<string> ca-app-pub-3940256099942544 ~ 1458002511 </ string>. 

but I still get this error

I have already tried to clean the project, restart the Xcode and download the new GoogleService-Info.plist

Strange, but I get this error even when I comment on the line 

 

GADMobileAds.sharedInstance().start(completionHandler: nil)



среда, 24 июля 2019 г., 22:44:48 UTC + 3 пользователя mobileadssdkforumadvisor написал:

Привет,

спасибо, что обратились к нам. Вы можете удалить - 


 <key> GADIsAdManagerApp </ key>
<true /> 

и включить только - 

<key> GADApplicationIdentifier </ key>
<string> ca-app-pub-3940256099942544 ~ 1458002511 </ string>.

Также убедитесь, что вы правильно форматировать ваш App_ID (без пробелов).

Дайте нам знать, если вам нужно что-нибудь еще.

С уважением,
команда
SDK Deepika Uragayala Mobile Ads



ref: _00D1U1174p._5001UEGG8Z: ref

Денис Лапшин

unread,
Jul 25, 2019, 10:45:39 AM7/25/19
to Google Mobile Ads SDK Developers
That's my fault. I added in GoogleService-Info.plist. 
Thanks for the answer!
Reply all
Reply to author
Forward
0 new messages