GGLConfiguration Class

GGLConfiguration Class Reference

Overview

This class provides configuration fields of Google APIs.

Inherits NSObject.

Properties

NSString * apiKey
 A secret iOS API key used for authenticating requests from your app, e.g. More...
 
NSString * clientID
 The OAuth2 client ID for iOS application used to authenticate Google users, for example "12345.apps.googleusercontent.com", used for signing in with Google. More...
 
NSString * trackingID
 The tracking ID for Google Analytics, e.g. More...
 
NSString * bannerAdUnitID
 Mobile Ads' Ad Unit ID for a banner view, for example "ca-app-pub-1234567890", used for displaying ads view. More...
 
NSString * interstitialAdUnitID
 Mobile Ads' Ad Unit ID for an interstitial view, for example "ca-app-pub-1234567890", used for displaying ads view. More...
 
NSString * gcmSenderID
 The Project Number from the Google Developer's console, for example "012345678901", used to configure Google Cloud Messaging. More...
 
NSString * androidClientID
 The Android client ID used in Google AppInvite when an iOS app has its Android version, for example "12345.apps.googleusercontent.com". More...
 
NSString * googleAppID
 The Google App ID that is used to uniquely identify an instance of an app. More...
 
BOOL isAdsEnabled
 Whether or not Ads was enabled in the developer console. More...
 
BOOL isAnalyticsEnabled
 Whether or not Analytics was enabled in the developer console. More...
 
BOOL isAppInviteEnabled
 Whether or not AppInvite was enabled in the developer console. More...
 
BOOL isGCMEnabled
 Whether or not GCM was enabled in the developer console. More...
 
BOOL isMeasurementEnabled
 Whether or not Measurement was enabled. More...
 
BOOL isSignInEnabled
 Whether or not SignIn was enabled in the developer console. More...
 
NSString * libraryVersionID
 The version ID of the client library, e.g. More...
 

Property Documentation

- (NSString*) apiKey
readnonatomiccopy

A secret iOS API key used for authenticating requests from your app, e.g.

"AIzaSyDdVgKwhZl0sTTTLZ7iTmt1r3N2cJLnaDk", used to identify your app to Google servers.

- (NSString*) clientID
readnonatomiccopy

The OAuth2 client ID for iOS application used to authenticate Google users, for example "12345.apps.googleusercontent.com", used for signing in with Google.

- (NSString*) trackingID
readnonatomiccopy

The tracking ID for Google Analytics, e.g.

"UA-12345678-1", used to configure Google Analytics.

- (NSString*) bannerAdUnitID
readnonatomiccopy

Mobile Ads' Ad Unit ID for a banner view, for example "ca-app-pub-1234567890", used for displaying ads view.

- (NSString*) interstitialAdUnitID
readnonatomiccopy

Mobile Ads' Ad Unit ID for an interstitial view, for example "ca-app-pub-1234567890", used for displaying ads view.

- (NSString*) gcmSenderID
readnonatomiccopy

The Project Number from the Google Developer's console, for example "012345678901", used to configure Google Cloud Messaging.

- (NSString*) androidClientID
readnonatomiccopy

The Android client ID used in Google AppInvite when an iOS app has its Android version, for example "12345.apps.googleusercontent.com".

- (NSString*) googleAppID
readnonatomiccopy

The Google App ID that is used to uniquely identify an instance of an app.

- (BOOL) isAdsEnabled
readnonatomicassign

Whether or not Ads was enabled in the developer console.

- (BOOL) isAnalyticsEnabled
readnonatomicassign

Whether or not Analytics was enabled in the developer console.

- (BOOL) isAppInviteEnabled
readnonatomicassign

Whether or not AppInvite was enabled in the developer console.

- (BOOL) isGCMEnabled
readnonatomicassign

Whether or not GCM was enabled in the developer console.

- (BOOL) isMeasurementEnabled
readnonatomicassign

Whether or not Measurement was enabled.

Measurement is enabled unless explicitly disabled in GoogleService-Info.plist.

- (BOOL) isSignInEnabled
readnonatomicassign

Whether or not SignIn was enabled in the developer console.

- (NSString*) libraryVersionID
readnonatomiccopy

The version ID of the client library, e.g.

"1100000".