1

It is written in the document I have read on Google's site that it is necessary to call GADMobileAds.configureWithApplicationID() at some point, as in the following code for example.

func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
    // Initialize GoogleMobileAds.
    GADMobileAds.configureWithApplicationID("ca-app-pub-7876539281098811~369988223322")

    return true
}

But when testing the app, things seem to work fine whether this function is called or not. So is it important to call it? Does it play an identification role or something similar?

Michel
  • 10,303
  • 17
  • 82
  • 179
  • That is your Ad Unit ID, not an application ID. – Daniel Storm Aug 25 '16 at 14:40
  • Application ID and Unit ID are different. See here https://firebase.google.com/docs/admob/ios/quick-start. My question is about the call to GADMobileAds.configureWithApplicationID(). – Michel Aug 27 '16 at 01:42
  • I think it may have something to do with tracking views, clicks, revenue, etc. – Nik Aug 31 '16 at 20:43
  • OK, so I can put it or not, it won't have any impact on my revenues. Is that correct? – Michel Sep 02 '16 at 00:44
  • @Michel I'm not 100% sure. If the guide says to put it, I would. Plus, if it is indeed for tracking purposes, you should want to see the data produced from it as there are no downsides. It may also have something to do with live devices, and you don't notice a change because you're in the test phase – Nik Sep 16 '16 at 00:36

0 Answers0