Show Sidebar

Vungle 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.

Current Vungle Version: 4.0.8

Supported Ad Formats: The VMAX SDK supports Interstitials, Interstitial Video Ads, and Rewarded Video Ads from Vungle.

You will need

  1. an active Vungle account
  2. your Api Key
  3. your Api ID
  4. your App ID

In Vungle

In your Vungle account

  1. Add an App
  2. Obtain your App ID, which you’ll be adding to your app with our SDK. It’s in red on your app’s page
  3. Obtain your Vungle API Key. It can be found on the API documentation page. You can also email tech-support@vungle.com to get one.

Further Integration

Step 1: Integrate the VMAX Library Adapters VMaxVungleInterstitialAdapter.h and VMaxVungleInterstitialAdapter.m from the Adapters .zip folder.

Step 2: Integrate the main framework file VungleSDK.embeddedframework.

Step 3: Integrate the dependent framework files AdSupport.framework

  • AudioToolbox.framework
  • AVFoundation.framework
  • CFNetwork.framework
  • CoreGraphics.framework
  • CoreMedia.framework
  • Foundation.framework
  • libz.dylib or libz.tbd
  • libsqlite3.dylib or libsqlite3.tbd
  • MediaPlayer.framework
  • QuartzCore.framework
  • StoreKit.framework
  • SystemConfiguration.framework
  • UIKit.framework
  • WebKit.framework (Add this as an Optional dependency)

Step 4: Add the following linker flag to Target > Build Settings > Linking > Other Linker Flags:

Step 5: Change the NSAllowsArbitraryLoads value to YES in Info.plist file

What would you like to do next?