VMAX
 
 
 
 
Show Sidebar

Facebook Audience Network Integration using iOS SDK

Sorry, this entry is only available in 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 Facebook Audience Network Version: 4.16.1

Supported Ad Formats: The VMAX SDK supports in-feed and content stream native ads and interstitial ads from Facebook’s Audience Network.

Note:

  1. When using Facebook as the mediation partner, ensure that users have the Facebook Native App installed on their devices and they are logged in to this app.
  2. As per the Facebook Developer Payments Terms, if you reach the redemption threshold (currently $100) and have not entered your payout details, Facebook’s Audience Network will stop serving ads.

You will need

  1. an active Facebook account
  2. Placement ID
  3. App ID
  4. Secret Key

In Facebook

In your Facebook account

  1. Create a Placement ID
  2. Create a Facebook App ID
  3. On the Developer Dashboard page, the App ID and Secret Key are shown below the App Name.

Note: For Interstitial Ads, it is recommended to use the cacheAd() and showAd() APIs.

Further Integration

Step 1: Integrate the VMAX Library Adapters VMaxFacebookBannerAdapter.h, VMaxFacebookBannerAdapter.m, VMaxFacebookInterstitialAdapter.h, VMaxFacebookInterstitialAdapter.m, VMaxFacebookNativeAdapter.h, and VMaxFacebookNativeAdapter.m from the Adapters .zip folder.

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

Step 3: Integrate the dependent framework files libz.1.2.5.dylib, AdColony.framework, AdSupport.framework, AudioToolbox.framework, AVFoundation.framework, CoreGraphics.framework, CoreMedia.framework, CoreTelephony.framework, EventKit.framework, EventKitUI.framework, MediaPlayer.framework, MessageUI.framework, QuartzCore.framework, Social.framework, StoreKit.framework, SystemConfiguration.framework, and WebKit.framework.

What would you like to do next?