简体   繁体   中英

iTunes Connect Test Flight won't play AdMob Test Ads

I just double checked in my Xcode Project and the build I uploaded to iTunes Connect has AdMob test ads ON. However, this same build during Test Flight's Internal Testing is not playing the AdMob test ads, it's playing live ads.

How do I make it play AdMob test ads during beta testing?

To get test admob ads, you need to specify test device. otherwise, only in simulator it shows test ads.

To specify test device :

    GADRequest *request = [GADRequest request];
    request.testDevices = @[ @"2077ef9a63d2b398840261c8221a0c9a"]; //my iPhone's UDID
    [self.bannerView loadRequest:request];

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM