California Consumer Privacy Act (CCPA) Compliance

Your app or website might be required to limit the use of personal information to comply with the California Consumer Privacy Act (CCPA).

The following table describes how to enable limited data use based on your platform and product. For more information, see Data Processing Options for Users in California.

Publishers who upgrade to Audience Network SDK version 5.10 or higher, must set the Limited Data Use flag in order for Facebook to continue to apply restrictions to personal information they share about people in California.

ImplementationAdding Data Processing Options

iOS SDK, v5.10+

Use FBAdSettings setDataProcessingOptions.


To explicitly not enable Limited Data Use (LDU) mode, use:

[FBAdSettings setDataProcessingOptions:@[]];

To enable LDU for users and specify user geography, use:

[FBAdSettings setDataProcessingOptions:@[@"LDU"] country:1 state:1000];

Android SDK, v5.10+

Use the setDataProcessingOptions method.


To explicitly not enable LDU mode, use:

AdSettings.setDataProcessingOptions(new String[] {}) 

To enable LDU for users and specify user geography, use:

AdSettings.setDataProcessingOptions(new String[] {"LDU"}, 1, 1000);

Unity SDK, v5.10+

Use SetDataProcessingOptions.


To explicitly not enable LDU mode, use:

AdSettings.SetDataProcessingOptions(new string[]{})

To enable LDU for users and specify user geography, use:

AdSettings.SetDataProcessingOptions(new string[] {"LDU"}, 1, 1000);

Publishers using a Mediation Partner must set the Data Processing Options (Limited Data Use) flag on the Facebook Audience Network SDK before initializing the Mediation SDK so that it is received by us in the bidding request.

ImplementationAdding Data Processing Options

Android

To explicitly not enable LDU mode, use:

AdSettings.setDataProcessingOptions(new String[] {}) 

To enable LDU for users and specify user geography, use:

AdSettings.setDataProcessingOptions(new String[] {"LDU"}, 1, 1000);

After setting the LDU flag, initialize mediation partner SDK as per usual.

iOS

To explicitly not enable Limited Data Use (LDU) mode, use:

FBAdSettings setDataProcessingOptions:@[]];

To enable LDU for users and specify user geography, use:

[FBAdSettings setDataProcessingOptions:@[@"LDU"] country:1 state:1000];

After setting the LDU flag, initialize mediation partner SDK as per usual.

For publishers that are working with us through Bidding Kit and other Server-side Bidding, please follow the implementation methods below.

ImplementationAdding Data Processing Options

Android/Bidding Kit 2.0

To explicitly not enable LDU mode, use:

AdSettings.setDataProcessingOptions(new String[] {})

To enable LDU for users and specify user geography, use:

AdSettings.setDataProcessingOptions(new String[] {"LDU"}, 1, 1000);

After setting the LDU flag, generate the bidder token:

String token = BidderTokenProvider.getBidderToken(Context);

iOS/Bidding Kit 2.0

To explicitly not enable Limited Data Use (LDU) mode, use:

[FBAdSettings setDataProcessingOptions:@[]];

To enable LDU for users and specify user geography, use:

[FBAdSettings setDataProcessingOptions:@[@"LDU"] country:1 state:1000];

After setting the LDU flag, generate the bidder token:

NSString *token = [FBAdSettings bidderToken];

Other Server-Side Bidding

For each platform follow the instructions below to set the LDU flag and retrieve the bidder token before making the server-side bid request.


For Android client:

To explicitly not enable LDU mode, use:

AdSettings.setDataProcessingOptions(new String[] {}) 

To enable LDU for users and specify user geography, use:

AdSettings.setDataProcessingOptions(new String[] {"LDU"}, 1, 1000);

After setting the LDU flag, generate the bidder token:

String token = BidderTokenProvider.getBidderToken(Context);

For iOS client:

To explicitly not enable Limited Data Use (LDU) mode, use:

[FBAdSettings setDataProcessingOptions:@[]];

To enable LDU for users and specify user geography, use:

[FBAdSettings setDataProcessingOptions:@[@"LDU"] country:1 state:1000];

After setting the LDU flag, generate the bidder token:

NSString *token = [FBAdSettings bidderToken];

For AN SDK version below 5.10, businesses can override the automatic application of the Limited Data Use restrictions period through a setting in Monetization Manager. Please note, this override setting would only apply whenever a request relating to a person in California does not have a 'Limited data use' flag (i.e. any request coming from AN SDK versions below 5.10).