Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Forward consent to Facebook Audience Network SDK (GDPR)

I've added Consent SDK from Google, and I've written code to pass consent from EU users to Admob SDK by doing something like below:

Bundle bundle = new Bundle();
bundle.putString("npa", "1");
AdRequest adRequest = new AdRequest.Builder()
                    .addNetworkExtrasBundle(AdMobAdapter.class, bundle).build();
adView.loadAd(adRequest);

Now, I've searched a lot in Facebook documentation, and the Google Consent SDK page here carries me here, and after going on that, I'm carried to useless page which only tells me about GDPR, i.e. https://www.facebook.com/business/gdpr.

Basically, what I'm trying to say is I've searched a lot, and I couldn't find anything related to passing user consent to Facebook SDK.

Does anyone know how to pass consent to FAN SDK while requesting Ads on Android?

like image 754
Vedprakash Wagh Avatar asked Sep 03 '19 14:09

Vedprakash Wagh


1 Answers

I think Facebook handles this in another way.

In order to show relevant ads, the user must have used the Facebook app. If no advertisement is shown, it is because the user has not logged in to the app in the last 30 days.

The user has to have consented to targeted ads from within the Facebook apps.

If those conditions are not met, the ad is not shown

The person using your app or site has turned off targeted advertising in his or her device settings.

You can read more about this in this link

Update September 23, 2020

Here I leave more information about how Facebook processes the data

Facebook Privacy Links:

  • Data Policy
  • Cookies & Other Storage Technologies
  • Privacy Basics
like image 52
Quimbo Avatar answered Nov 12 '22 01:11

Quimbo