Early Access - Integrating AdMob + Vungle SDK v 6.5.0 (iOS)

Please direct integration issues or Early Access SDK related bugs to early.adoption@vungle.com.Early Access SDKs will not be supported upon Early Access testing completion. We recommend you update to the latest SDK version, once Early Access testing is completed.

Use this guide to add Vungle iOS SDK into your app, using AdMob as your main advertising mediation layer.

AdMob iOS adapter v6.5.0.0 is compatible with Vungle iOS SDK v6.5.0 and is tested with Google SDK v7.50.0 

Download AdMob iOS Adapter v6.5.0.0 and include Vungle SDK 6.5.0, then add them to your project manually. 

Vungle iOS SDK is also available through CocoaPods. Add the following line in your project's pod file followed by a quick pod install run to update the project with the version of Vungle iOS SDK.

source 'https://github.com/Vungle/ios-sdk-beta.git'
pod "VungleSDK-iOS", "6.5.0"


Before You Get Started

  • Ad units set up on AdMob dashboard.
  • Vungle App ID and Placement IDs created on Vungle dashboard and placement IDs are linked to ad units on AdMob dashboard.
  • Set up the application with the right XCode and iOS SDK version as detailed in the Vungle iOS integration document


Refer AdMob's integration document for detailed steps to setup Ad units and link Vungle's Placement IDs to ad units on AdMob dashboard.


  Before you begin to test the new adapter:

  • Integrate the application with the latest adapter files and Vungle SDK.
  • Update the Google Mobile Ads SDK to the latest version in the project.

Ad Format

Starting v6.5.0, we have expanded support for AdMob’s Banner Ads and support following 3 sizes:

Size in points (WxH) Description AdSize constant
320x50 Banner kGADAdSizeBanner
728x90 IAB leaderboard kGADAdSizeLeaderboard
300x250 IAB medium rectangle kGADAdSizeMediumRectangle

To display banner ad in the application, create an MREC placement on Vungle dashboard and link this placement to a Banner Ad unit on AdMob dashboard.

Presently, Vungle supports banner size 300*250 and should be specified as kGADAdSizeMediumRectangle as ad constant size in the implementation.

Sample Code:

GADBannerView *bannerView = [[GADBannerView alloc] initWithAdSize:kGADAdSizeMediumRectangle];
[self addBannerViewToView:self.bannerView];

Loading, playing and closing the banner ad is detailed in the AdMob integration guide.


For SDK version 6.4.x onwards, publishers can now restrict from passing IDFV from the device to the SDK.

Sample Code:

//Set the bool value YES to pass the IDFV from device to SDK
[VungleRouterConfiguration setPublishIDFV:YES];
//Set the bool value NO to disable the IDFV collection from device to SDK
[VungleRouterConfiguration setPublishIDFV:NO];

Memory Settings

Starting from v6.4.x, you can prevent the SDK from requesting ads or even initializing if the storage of your iPhone falls below a predefined threshold. 

Sample Code:

//Integer value sets the required minimum available free storage space to be able to initialize the SDK
 [VungleRouterConfiguration setMinSpaceForInit:];
//Integer value sets the required minimum available free storage space to be able to request an Ad
[VungleRouterConfiguration setMinSpaceForAdLoad:];


New Rewarded API

As documented by AdMob, starting from version 7.42.2 or higher, AdMob’s Rewarded Ads (New APIs), let’s you cache multiple ads at the same time for a single ad unit.

Since Vungle does not support this feature, the Ad request for the second “Load ad” will not be filled by Vungle, rather it will be passed to the next ad network in the waterfall.


Was this article helpful?


Need further assistance, feel free to reach out to us, we’re here to help!