{"id":1139,"date":"2019-08-20T12:13:03","date_gmt":"2019-08-20T12:13:03","guid":{"rendered":"http:\/\/www.netexl.com\/blog\/?p=1139"},"modified":"2026-04-02T09:33:36","modified_gmt":"2026-04-02T09:33:36","slug":"gadinvalidinitializationexception-the-google-mobile-ads-sdk-was-initialized-incorrectly","status":"publish","type":"post","link":"https:\/\/www.netexl.com\/blog\/gadinvalidinitializationexception-the-google-mobile-ads-sdk-was-initialized-incorrectly\/","title":{"rendered":"GADInvalidInitializationException: The Google Mobile Ads SDK was initialized incorrectly."},"content":{"rendered":"\n<p>While running a cordova app for iOS, if following error is thrown<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>*** Terminating app due to uncaught exception &#8216;GADInvalidInitializationException&#8217;, reason: &#8216;The Google Mobile Ads SDK was initialized incorrectly. Google AdMob publishers should follow instructions here: https:\/\/googlemobileadssdk.page.link\/admob-ios-update-plist to include the AppMeasurement framework, set the -ObjC linker flag, and set GADApplicationIdentifier with a valid App ID. Google Ad Manager publishers should follow instructions here: https:\/\/googlemobileadssdk.page.link\/ad-manager-ios-update-plist&#8217;<\/p><\/blockquote>\n\n\n\n<p>Make sure to include following values in your info.plist<\/p>\n\n\n\n<pre class=\"wp-block-preformatted lang:default decode:true\">&lt;key&gt;GADIsAdManagerApp&lt;\/key&gt;\n&lt;true\/&gt;\n&lt;key&gt;GADApplicationIdentifier&lt;\/key&gt;\n&lt;string&gt;REPLACE_YOUR_ADMOB_APP_ID&lt;\/string&gt;\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>While running a cordova app for iOS, if following error is thrown *** Terminating app due to uncaught exception &#8216;GADInvalidInitializationException&#8217;, reason: &#8216;The Google Mobile Ads SDK was initialized incorrectly. Google AdMob publishers should follow instructions here: https:\/\/googlemobileadssdk.page.link\/admob-ios-update-plist to include the AppMeasurement framework, set the -ObjC linker flag, and set GADApplicationIdentifier with a valid App ID. Google Ad Manager publishers should follow instructions here: https:\/\/googlemobileadssdk.page.link\/ad-manager-ios-update-plist&#8217; Make sure to include following values in your info.plist &lt;key&gt;GADIsAdManagerApp&lt;\/key&gt; &lt;true\/&gt; &lt;key&gt;GADApplicationIdentifier&lt;\/key&gt; &lt;string&gt;REPLACE_YOUR_ADMOB_APP_ID&lt;\/string&gt;<\/p>\n","protected":false},"author":5,"featured_media":1541,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28,27,29],"tags":[],"class_list":["post-1139","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cordova","category-ios","category-issue"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/posts\/1139","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/comments?post=1139"}],"version-history":[{"count":2,"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/posts\/1139\/revisions"}],"predecessor-version":[{"id":1166,"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/posts\/1139\/revisions\/1166"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/media\/1541"}],"wp:attachment":[{"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/media?parent=1139"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/categories?post=1139"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/tags?post=1139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}