问题
Im trying to setup the DFP side of FBA interstitial mediation, i.e. create the necessary AdUnit + LineItem + creative.
I didn't find any example for FBA. When I choose "interstitial" as the adsize, I can not choose mediation for the creative:
I've already successfuly set up my client app (Android + iOS) for Facebook Audience ad mediation.
回答1:
Well, there is no tutorial for FBA, but I've found this tutorial for VPON that seems to be applicable for FBA as well: http://vpon-sdk.github.io/android/mediation/dfp/
The result:
On the client side:
Android:
- First implement the DFP SDK:
https://developers.google.com/mobile-ads-sdk/docs/dfp/android/quick-start - Then add the mediation library and adapter:
https://developers.google.com/mobile-ads-sdk/docs/dfp/android/mediation#include_network_adapters_and_sdks - And finally update your manifest as per Facebook's instructions: https://developers.facebook.com/docs/audience-network/android/interstitial
iOS:
- First implement the DFP SDK:
https://developers.google.com/mobile-ads-sdk/docs/dfp/ios/quick-start - Then add the mediation library and adapter: https://developers.google.com/mobile-ads-sdk/docs/dfp/ios/mediation
来源:https://stackoverflow.com/questions/36823274/dfp-ads-setting-up-facebook-audience-mediation-for-interstitial-ads-adunit