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. When Meta receives data with Limited Data Use enabled from people in the states where Limited Data Use applies, we will process that data in accordance with our role as a service provider or processor, as applicable, and limit the use of that data as specified in our State-Specific Terms.

For Business Tools and Audience Network, Limited Data Use is available only for people in California, Colorado, Connecticut, Florida, Texas, or Oregon. If a business enables Limited Data Use but does not set the location parameters to US and California, Colorado, Connecticut, Florida, Texas, or Oregon we will determine if the event is from one of those states. If Limited Data Use is enabled for an event in California, Colorado, Connecticut, Florida, Texas, or Oregon we will process data in accordance with our role as a service provider or processor and limit the use of that data in accordance with our State-Specific Terms.

Businesses may notice an impact to campaign performance and effectiveness, and retargeting and measurement capabilities will be limited when Limited Data Use is enabled.

升級至 Audience Network SDK 5.10 或更高版本的發佈商必須設定「限制資料使用」標示,讓 Facebook 能夠繼續對其在加州分享的個人資訊加以限制。

實作方式新增資料處理選項

iOS SDK,5.10 以上版本

使用 FBAdSettings setDataProcessingOptions


若要明確不啟用「限制資料使用(LDU)」模式,請使用:

[FBAdSettings setDataProcessingOptions:@[]];

若要為使用者啟用 LDU 並指定使用者地理位置,請使用:

  • 國家/地區:1 用於表示美國
  • 州/省:1000 用於表示加州。
[FBAdSettings setDataProcessingOptions:@[@"LDU"] country:1 state:1000];

若要為使用者啟用包含地理位置的 LDU,請使用:

  • 國家/地區:0 用於要求我們地理定位該事件
  • 州/省:0 用於要求我們地理定位該事件。
[FBAdSettings setDataProcessingOptions:@[@"LDU"] country:0 state:0];

Android SDK,5.10 以上版本

使用 setDataProcessingOptions 方法。


若要明確不啟用 LDU 模式,請使用:

AdSettings.setDataProcessingOptions(new String[] {}) 

若要為使用者啟用 LDU 並指定使用者地理位置,請使用:

  • 國家/地區:1 用於表示美國
  • 州/省:1000 用於表示加州。
AdSettings.setDataProcessingOptions(new String[] {"LDU"}, 1, 1000);

若要為使用者啟用包含地理位置的 LDU,請使用:

  • 國家/地區:0 用於要求我們地理定位該事件
  • 州/省:0 用於要求我們地理定位該事件。
AdSettings.setDataProcessingOptions(new String[] {"LDU"}, 0, 0);

Unity SDK,5.10 以上版本(沒有使用 Audience Network 提供的 Unity 包裝函式)

如果您沒有使用 Audience Network 提供的 Unity 包裝函式,請輸入下列程式碼。


            using UnityEngine;
            using System.Runtime.InteropServices;

            namespace AudienceNetwork
            {
            public static class AdSettings
            {

            public static void SetDataProcessingOptions(string[] dataProcessingOptions)
            {
            #if UNITY_ANDROID
            AndroidJavaClass adSettings = new AndroidJavaClass("com.facebook.ads.AdSettings");
            adSettings.CallStatic("setDataProcessingOptions", (object)dataProcessingOptions);
            #endif

            #if UNITY_IOS
            FBAdSettingsBridgeSetDataProcessingOptions(dataProcessingOptions, dataProcessingOptions.Length);
            #endif
            }

            public static void SetDataProcessingOptions(string[] dataProcessingOptions, int country, int state)
            {
            #if UNITY_ANDROID
            AndroidJavaClass adSettings = new AndroidJavaClass("com.facebook.ads.AdSettings");
            adSettings.CallStatic("setDataProcessingOptions", (object)dataProcessingOptions, country, state);
            #endif

            #if UNITY_IOS
            FBAdSettingsBridgeSetDetailedDataProcessingOptions(dataProcessingOptions, dataProcessingOptions.Length, country, state);
            #endif
            }

            #if UNITY_IOS
            [DllImport("__Internal")]
            private static extern void FBAdSettingsBridgeSetDataProcessingOptions(string[] dataProcessingOptions, int length);

            [DllImport("__Internal")]
            private static extern void FBAdSettingsBridgeSetDetailedDataProcessingOptions(string[] dataProcessingOptions, int length, int country, int state);
            #endif
            }
            }
          

輸入此程式碼後,您可以按照下行中的 Unity SDK 說明操作,就像使用 Unity 包裝函式一樣。

Unity SDK,5.10 以上版本(使用 Audience Network 提供的 Unity 包裝函式)

如果您使用 Audience Network 提供的 Unity 包裝函式,請使用下列 SetDataProcessingOptions


若要明確不啟用 LDU 模式,請使用:

AdSettings.SetDataProcessingOptions(new string[]{})

若要為使用者啟用 LDU 並指定使用者地理位置,請使用:

  • 國家/地區:1 用於表示美國
  • 州/省:1000 用於表示加州。
AdSettings.SetDataProcessingOptions(new string[] {"LDU"}, 1, 1000);

若要為使用者啟用包含地理位置的 LDU,請使用:

  • 國家/地區:0 用於要求我們地理定位該事件
  • 州/省:0 用於要求我們地理定位該事件。
AdSettings.SetDataProcessingOptions(new string[] {"LDU"}, 0, 0);

使用中介服務合作夥伴的發佈商必須在 Facebook Audience Network SDK 上設定資料處理選項(限制資料使用)標示,才能初始化中介服務 SDK,讓我們能夠在出價要求中接收該標示。

實作方式新增資料處理選項

Android

若要明確不啟用 LDU 模式,請使用:

AdSettings.setDataProcessingOptions(new String[] {}) 

若要為使用者啟用 LDU 並指定使用者地理位置,請使用:

  • 國家/地區:1 用於表示美國
  • 州/省:1000 用於表示加州。
AdSettings.setDataProcessingOptions(new String[] {"LDU"}, 1, 1000);

若要為使用者啟用包含地理位置的 LDU,請使用:

  • 國家/地區:0 用於要求我們地理定位該事件
  • 州/省:0 用於要求我們地理定位該事件。
AdSettings.setDataProcessingOptions(new String[] {"LDU"}, 0, 0);

設定 LDU 標示後,請如往常般初始化中介服務合作夥伴 SDK。

iOS

若要明確不啟用「限制資料使用(LDU)」模式,請使用:

FBAdSettings setDataProcessingOptions:@[]];

若要為使用者啟用 LDU 並指定使用者地理位置,請使用:

  • 國家/地區:1 用於表示美國
  • 州/省:1000 用於表示加州。
[FBAdSettings setDataProcessingOptions:@[@"LDU"] country:1 state:1000];

若要為使用者啟用包含地理位置的 LDU,請使用:

  • 國家/地區:0 用於要求我們地理定位該事件
  • 州/省:0 用於要求我們地理定位該事件。
[FBAdSettings setDataProcessingOptions:@[@"LDU"] country:0 state:0];

設定 LDU 標示後,請如往常般初始化中介服務合作夥伴 SDK。

若是透過出價套件和其他伺服器端出價與我們合作的發佈商,請依照以下實作方式操作。

實作方式新增資料處理選項

Android/出價套件 2.0

若要明確不啟用 LDU 模式,請使用:

AdSettings.setDataProcessingOptions(new String[] {})

若要為使用者啟用 LDU 並指定使用者地理位置,請使用:

  • 國家/地區:1 用於表示美國
  • 州/省:1000 用於表示加州。
AdSettings.setDataProcessingOptions(new String[] {"LDU"}, 1, 1000);

若要為使用者啟用包含地理位置的 LDU,請使用:

  • 國家/地區:0 用於要求我們地理定位該事件
  • 州/省:0 用於要求我們地理定位該事件。
AdSettings.setDataProcessingOptions(new String[] {"LDU"}, 0, 0);

設定 LDU 標示後,請產生出價者權杖:

String token = BidderTokenProvider.getBidderToken(Context);

iOS/出價套件 2.0

若要明確不啟用「限制資料使用(LDU)」模式,請使用:

[FBAdSettings setDataProcessingOptions:@[]];

若要為使用者啟用 LDU 並指定使用者地理位置,請使用:

  • 國家/地區:1 用於表示美國
  • 州/省:1000 用於表示加州。
[FBAdSettings setDataProcessingOptions:@[@"LDU"] country:1 state:1000];

若要為使用者啟用包含地理位置的 LDU,請使用:

  • 國家/地區:0 用於要求我們地理定位該事件
  • 州/省:0 用於要求我們地理定位該事件。
[FBAdSettings setDataProcessingOptions:@[@"LDU"] country:0 state:0];

設定 LDU 標示後,請產生出價者權杖:

NSString *token = [FBAdSettings bidderToken];

其他伺服器端出價

針對每個平台,請依照以下說明設定 LDU 標示,並在發出伺服器端出價要求前擷取出價者權杖。


針對 Android 用戶端:

若要明確不啟用 LDU 模式,請使用:

AdSettings.setDataProcessingOptions(new String[] {}) 

若要為使用者啟用 LDU 並指定使用者地理位置,請使用:

  • 國家/地區:1 用於表示美國
  • 州/省:1000 用於表示加州。
AdSettings.setDataProcessingOptions(new String[] {"LDU"}, 1, 1000);

若要為使用者啟用包含地理位置的 LDU,請使用:

  • 國家/地區:0 用於要求我們地理定位該事件
  • 州/省:0 用於要求我們地理定位該事件。
AdSettings.setDataProcessingOptions(new String[] {"LDU"}, 0, 0);

設定 LDU 標示後,請產生出價者權杖:

String token = BidderTokenProvider.getBidderToken(Context);

針對 iOS 用戶端:

若要明確不啟用「限制資料使用(LDU)」模式,請使用:

[FBAdSettings setDataProcessingOptions:@[]];

若要為使用者啟用 LDU 並指定使用者地理位置,請使用:

  • 國家/地區:1 用於表示美國
  • 州/省:1000 用於表示加州。
[FBAdSettings setDataProcessingOptions:@[@"LDU"] country:1 state:1000];

若要為使用者啟用包含地理位置的 LDU,請使用:

  • 國家/地區:0 用於要求我們地理定位該事件
  • 州/省:0 用於要求我們地理定位該事件。
[FBAdSettings setDataProcessingOptions:@[@"LDU"] country:0 state:0];

設定 LDU 標示後,請產生出價者權杖:

NSString *token = [FBAdSettings bidderToken];

若 SDK 為 5.10 之前的版本,企業可以透過營利管理工具中的設定來覆寫「限制資料使用」限制期間的自動應用程式。請注意,只有當要求與不具「限制資料使用」標示(即由 SDK 為 5.10 之前版本所發出的任何要求)的加州用戶相關時,才適用此覆寫設定。