3

Recently I added interstitial ads in my iOS App. Although during development phase we are supposed to use testDevice id for test ads. The google admob faq says that you can submit the app with the testDevice id code still in it. I did submit it with this. Will my app serve real ads when its on the store??

rmaddy
  • 314,917
  • 42
  • 532
  • 579
shubhsin
  • 247
  • 2
  • 3
  • 12

4 Answers4

5

It'll indeed serve live ads for all devices except those that you listed as testDevices.

Another thing that came to my mind (isn't really related to your question but I think that you may benefit from the information anyway, if you don't know it already) is that if you are building with the iOS 9 SDK then you must disable ATS as the current AdMob SDK is not compatible with ATS. If ATS isn't disabled it will prevent AdMob SDK from receiving and serving ads. You will find more information about this on Google's Ads Developer Blog

Markus
  • 767
  • 2
  • 7
  • 19
  • Thanks Markus for the answer. I have built the application using xcode 6 so that won't be a problem. – shubhsin Sep 29 '15 at 02:27
2

Sure. But you cannot check this with your own device, which was set in the testDevices.

For future reference here is the link which verifies this: https://developers.google.com/admob/ios/targeting#faq

nzs
  • 3,252
  • 17
  • 22
1

If you are working with iOS10, you should add this to your .plist:

<key>NSAppTransportSecurity</key>
<dict>
    <key>NSAllowsArbitraryLoads</key>
    <true/>
    <key>NSAllowsArbitraryLoadsForMedia</key>
    <true/>
    <key>NSAllowsArbitraryLoadsInWebContent</key>
    <true/>
</dict>

Otherwise only test ads will appear. You can find more details about it at Firebase's Admob documentation.

Of course if you add your device to testdevices in the GADRequest it will not work.

Oriol
  • 635
  • 6
  • 13
0

Check that you have configured AdMob with the correct app-id and ad-unit-id. The installation instructions appear to use placeholder ids, not the ones for your instance.

Ric Santos
  • 15,419
  • 6
  • 50
  • 75