Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook Audience Network Proguard settings

I'm currently using Proguard in my app, and the Audience Network is not working. I need some different configuration, rather than the usual:

-keep class com.facebook.** { *; }

The problem is the integration guide doesn't refer any kind of Proguard configuration. Does someone already faced this problem and figured out what is missing?

like image 803
Sergio Carneiro Avatar asked Jul 26 '14 04:07

Sergio Carneiro


People also ask

Is Facebook audience network better than AdMob?

The normal RPM on the Android platform is lower than on iOS. Nonetheless, AdMob offers higher fill rates and reasonable eCPMs compared to FAN.

What is included in Facebook Audience Network?

Audience Network extends Facebook's people-based advertising beyond the Facebook platform. With Audience Network, publishers can make money by showing ads from Facebook advertisers in their apps. In order to manage your monetisation with Audience Network, you'll need to set up Monetisation Manager.

Can you run Facebook Ads on Android?

If you want to manage your Facebook Ads on the go, download the Facebook Ads Manager app for iOS and Android. With the app, you can create ads, manage your campaigns, get notifications about your ad performance, and check the metrics of your ads.


1 Answers

I need some different configuration, rather than the usual:

-keep class com.facebook.** { *; }

You need to use

-keep class com.facebook.ads.** { *; }

proguard configuration to show Facebook Audience Network.Because inAudienceNetwork.jar the main package is com.facebook.ads

like image 141
Giru Bhai Avatar answered Sep 28 '22 07:09

Giru Bhai