Show Sidebar

AdMob Integration using iOS Unity

Rất tiếc, mục này chỉ tồn tại ở 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 Audience Network Version: 4.8.2

Supported Ad Formats: The VMAX SDK supports native ads (in-feed and content stream), banners, and interstitials from AdMob.

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 VMaxGoogleMobileAdsBannerAdapter.h, VMaxGoogleMobileAdsInterstitialAdapter.h, VMaxGoogleMobileAdsBannerAdapter.m, and VMaxGoogleMobileAdsInterstitialAdapter.m from the Adapters .zip folder.

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

Step 3: Integrate the dependent framework files AdSupport.framework, AudioToolbox.framework, AVFoundation.framework, CoreGraphics.framework, CoreMedia.framework, CoreTelephony.framework, EventKit.framework, EventKitUI.framework, MessageUI.framework, StoreKit.framework, and SystemConfiguration.framework.

What would you like to do next?