GGLContext(AdMob) Category

GGLContext(AdMob) Category Reference

Overview

This category extends GGLContext with the mobile ads service.

Import GGLContext+AdMob.h to use AdMob in your app. After calling -[[GGLContext sharedInstance] configureWithError:], [GGLContext sharedInstance].adUnitIDForBannerTest , [GGLContext sharedInstance].adUnitIDForInterstitialTest , [GGLContext sharedInstance].bannerView and [GGLContext sharedInstance].interstitialView are ready for use.

See also
GGLContext

Properties

NSString * adUnitIDForBannerTest
 Provides an AdUnitID to use the banner view. More...
 
NSString * adUnitIDForInterstitialTest
 Provides an AdUnitID to use the interstitial view. More...
 
GADBannerView * bannerView
 Provides a GADBannerView configured using adUnitIDForBannerTest. More...
 
GADInterstitial * interstitialView
 Provides an GADInterstitial configured using adUnitIDForInterstitialTest. More...
 

Property Documentation

- (NSString*) adUnitIDForBannerTest
readnonatomicstrong

Provides an AdUnitID to use the banner view.

This value can be updated by changing the AD_UNIT_ID_FOR_BANNER_TEST in GoogleService-Info.plist.

Extends class GGLContext.

- (NSString*) adUnitIDForInterstitialTest
readnonatomicstrong

Provides an AdUnitID to use the interstitial view.

This value can be updated by changing the AD_UNIT_ID_FOR_INTERSTITIAL_TEST in GoogleService-Info.plist.

Extends class GGLContext.

- (GADBannerView*) bannerView
readwritenonatomicstrong

Provides a GADBannerView configured using adUnitIDForBannerTest.

Extends class GGLContext.

- (GADInterstitial*) interstitialView
readwritenonatomicstrong

Provides an GADInterstitial configured using adUnitIDForInterstitialTest.

Extends class GGLContext.