Does the Facebook SDK use IDFA for Mobile App Installs?

醉酒当歌 提交于 2019-12-04 16:43:20

问题


When you integrate the Facebook SDK to track Mobile App Installs, does this use the IDFA and hence do you have to answer yes to the corresponding question in iTunes Connect question when submitting the app for review?

This is the code in application:didFinishLaunchingWithOptions:

[FBSettings setDefaultAppID:FB_APP_ID_NSTRING];
[FBAppEvents activateApp];

In my Facebook dashboard, my app is configured with Yes under "Install Insights" and "Enable Enhanced Interest Targeting":

The iTunes Connect question I refer to is shown here:

There are plenty of questions here about IDFA, but none (as far as I could see) that clarifies whether using the Facebook SDK solely for Mobile App Installs does make use of the IDFA.


回答1:


Only under certain situations. See Facebook's FAQ:

Does Facebook’s SDK for iOS access the IDFA?

  • The Facebook SDK includes code to access Apple’s Advertising Identifier (IDFA), but that code is only executed in certain situations.
  • The Facebook SDK for iOS only accesses IDFAs in the following scenarios: 1) if your app serves ads within the app through Facebook’s Audience Network, or 2) if your app logs app installs or other mobile App Events in order to attribute those events to your ad campaigns.
  • If you are not logging App Events (via the FBAppEvents class), then the Facebook SDK is not accessing the IDFAs. Additionally, the Facebook SDK does not require AdSupport.framework to be included.
  • If you want to track App Events without collecting IDFA, you can disable IDFA collection within your app dashboard in the advanced setting section.


来源:https://stackoverflow.com/questions/25998846/does-the-facebook-sdk-use-idfa-for-mobile-app-installs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!