Show Sidebar

AdMob Integration using iOS SDK

ขออภัยรายการนี้จะใช้ได้เฉพาะในภาษาอังกฤษ English. For the sake of viewer convenience, the content is shown below in the alternative language. You may click the link to switch the active language.

The minimum Xcode version should be Xcode 7.0. To use the minimum base sdk (compilation sdk), the iOS version should be iOS 9.0 however it will work on devices with iOS 8.0 and above.

Supported AdMob Version: 7.16

Supported Ad Formats: The VMAX SDK supports Admob Native Express Ads (Admob Native Advanced Ads are in beta and open to limited publishers)

You will need

  1. an active AdMob account
  2. Ad unit ID
  3. Refresh Token

In your AdMob Account

To find the ad unit ID, click the Monetize tab. Select an app from the list of apps in the sidebar. The ad unit ID is listed below the ad unit name.

Read more on how to get your refresh token here.

Further Integration

Step 1: Integrate the VMAX Library Adapters from the Adapters .zip folder.

  • VMaxGoogleMobileAdsBannerAdapter.h
  • VMaxGoogleMobileAdsInterstitialAdapter.h
  • VMaxGoogleMobileAdsNativeAdapter.h
  • VMaxGoogleMobileAdsBannerAdapter.m
  • VMaxGoogleMobileAdsInterstitialAdapter.m
  • VMaxGoogleMobileAdsNativeAdapter.m

Step 2: Integrate the main framework file GoogleMobileAds.framework.

Step 3: Integrate the dependent framework files

  • AdSupport.framework
  • AudioToolbox.framework
  • AVFoundation.framework
  • CoreGraphics.framework
  • CoreMotion.framework
  • CoreMedia.framework
  • CoreTelephony.framework
  • EventKit.framework
  • EventKitUI.framework
  • GLKit.framework
  • MessageUI.framework
  • MobileCoreService.framework
  • StoreKit.framework
  • SystemConfiguration.framework

What would you like to do next?