Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Improper advertising identifier [IDFA] usage (Limit Ad Tracking)

Tags:

xcode

ios

limit

ads

I'm submitting an ios game update to the app store.

xcode shows the following error: "Improper advertising identifier [IDFA] usage. Your app contains the Advertising Identifier [IDFA] API but your app is not respecting the Limit Ad Tracking setting in iOS."

I haven't changed anything regearding my ad settings and there were no problems with the last version of my app.

I have been trying to find a workaround for the last 20 hours and I am starting to become insane. What do I have to change and how? Please help me!

like image 216
MMM Avatar asked Apr 11 '14 05:04

MMM


People also ask

What does limit ad tracking mean?

Limit ad tracking (LAT) is a feature allowing users to opt-out of having an ID for Advertisers (IDFA). With this setting enabled, the user's IDFA appears blank when tracked. This means they won't see specific ads targeted at them because, as far as networks see, the device has no identity.

How does IDFA impact advertising?

Much like a third-party cookie in a browser, IDFA enables advertisers to track a user's interactions within mobile apps, such as downloads, clicks and purchases. The purpose of the iOS ad ID is to help create personalized app experiences for users.

What is IDFA used for?

YEDFAs utilize dual-stage amplification to maintain system increase amplification power without sacrificing stability. APC (automatic power control), AGC (automatic gain control) and ACC (automatic current control) systems are designed into the amplifier to ensure successful system integration and operation.

What is IDFA and why Apple killed it?

Apple created the IDFA years ago so that mobile marketers could attribute ad spend. The IDFA allows publishers and advertisers to track users through their unique mobile device ID, and connect a click on an ad with an app install at a later point in time, so results from marketing campaigns can be measured accurately.


2 Answers

I had a similar error in an update to an app. I wasn't using any ads but do have Facebook integration (which needs the AdSupport framework). I believe, after searching the net, that Facebook uses the advertising ID for its own analysis purposes so, even though I'm not including ads in my app, the validation and upload processes through xCode were failing with the error "Your app contains the Advertising Identifier [IDFA] API..."

I searched and found that I needed to download the Facebook SDK source code, update the FBUtility.m to remove the references to the advertisingID but, in fact, I simply needed to:

1) download the source code for the latest SDK, which I did from here: https://github.com/facebook/facebook-ios-sdk (I downloaded the zip file from github to my documents folder)

2) build the framework - open the terminal. Use cd documents at the command prompt, then use this command: sudo scripts/build_framework.sh, which will run the build_framework.sh script that is in the scripts subfolder within the downloaded Facebook SDK folder

3) Remove the old FacebookSDK.framework from your Xcode project and add the new one (in my case, I navigated to documents/facebook-ios-sdk/build & choose the FacebookSDK.framework folder

4) Archive the project and it should (it was in my case) be good to upload

Hope that helps someone along the way - I've been at this for days!!

like image 124
JanB Avatar answered Nov 15 '22 07:11

JanB


You can try update newest version of Admob, or check [ASIdentifierManager sharedManager] isAdvertisingTrackingEnabled before call Admob because Apple now require apps need check this settings in user devices.

like image 24
user3529286 Avatar answered Nov 15 '22 09:11

user3529286