Additional Meta AudienceNetwork steps - cleveradssolutions/CAS-iOS GitHub Wiki

:zap: Before you start
Make sure you have correctly update app Info.plist.


iOS Advertising Tracking Enabled for Audience Network

Implement the setAdvertiserTrackingEnabled flag, irrespective of the use of mediation, to inform Facebook whether to use the data to deliver personalized ads.
Set flag to inform Audience Network to use the data to deliver personalized ads in line with your own legal obligations, platform terms, and commitments you’ve made to your users.

import CleverAdsSolutions
import FBAudienceNetwork

func requestATT(){
    FBAdSettings.setAdvertiserTrackingEnabled(enabled)
    CAS.create(...)
}

Data Processing Options for US Users

Meta Audience Network Data Processing Options for US Users Limited Data Use is a data processing option that gives you more control over how your data is used in Meta’s systems and better supports your compliance efforts with various US state privacy regulations. To utilize this feature, you must proactively enable Limited Data Use.
Visit Meta’s developer documentation for details.

If you do not want to enable Limited Data Use (LDU) mode, pass an empty string array:

FBAdSettings.setDataProcessingOptions([])  

To enable LDU for users and specify user geography, call setDataProcessingOptions in a form like this:

FBAdSettings.setDataProcessingOptions(["LDU"], country: 1, state: 1000)

🔗 Done! What’s Next?