Facebook Audience Network show banner ad

988 views Asked by At

When I want to show banner in my iOS app on my test device,following the rules,I add the code like this:

[FBAdSettings addTestDevice:@"HASHED ID"];

Then the ad works normally.I want to know if I need to remove the code above when I release my app. Thanks.

2

There are 2 answers

1
Tanya Chen On BEST ANSWER

Yes, you need to remove the code so that your app user will see real ads rather than test ads.

0
LeChatNoir On

I think you can leave this code. It's only useful when you test on your device and just tell the framework that your device is a test device.

But in production, it should not impact other users at all.