Facebook Mediation Adapter v1.1.5

Adapter for allowing the Millennial Media SDK to mediate to Facebook for inline, interstitial, and native ads.

Requirements

  • MM Ad SDK v6.4.0
  • Facebook SDK v4.20.2

Compatibility

  Facebook SDK v4.20.2
MM Ad SDK v6.4.0 Facebook Adapter v1.1.5

Integration

Mediation to the Facebook Audience Network SDK for inline, interstitial, and native ads is handled by the MM Ad SDK and mediation adapter. Integrating application needs to add the appropriate frameworks per the standard integration guide from Facebook.

1. Download the Facebook SDK from the Facebook developers site
2. Integrate the Facebook SDK and MM Ad SDK according to their respective integration guides and include libMMFacebookAdapter.a
3. Include the following headers, provided with the adapter zip:
  • MMFacebookNative.h
4. (Native ONLY) When configuring a native placement to use Facebook mediation, make sure that the MMNativeAdTypeFacebook type is included in the supported types:
#import <MMAdSDK/MMAdSDK.h>
#import "MMFacebookNative.h" // Declares the MMNativeAdTypeFacebook native ad type
// A native ad request for native type inline and native type facebook
MMNativeAd* nativeAd = [[MMNativeAd alloc] initWithPlacementId:@"<YOUR_PLACEMENT_ID>" supportedTypes:@[MMNativeAdTypeInline, MMNativeAdTypeFacebook]];

References

Release Notes

v1.1.5 - April 11, 2017

  • Added bitcode support

v1.1.4 - October 14, 2016

  • Fix for using site ID for the placement ID

v1.1.3 - June 30, 2016

  • Fix for missing native ad components

v1.1.2 - June 10, 2016

  • Fix for body component not being set

v1.1.1 - May 5, 2016

  • Updated to support Facebook SDK v4.10.1

v1.1.0 - September 18, 2015

  • Addition of support for inline and interstitial ads from the Facebook Audience Network
  • Removed armv7s slices – no longer supported under clang-700.0.72 (Xcode 7)

v1.0.0 - July 22, 2015

  • Initial release of the MM to Facebook mediation adapter