简体   繁体   中英

iOS AdMob no ads after publishing on App Store

I have an app with AdMob. In plist I added apps ID and in code added banner ID.

<key>GADApplicationIdentifier</key>
<string>ca-app-pub-XXXX~XXXX</string>
<key>SKAdNetworkItems</key>
<array>
    <dict>
        <key>SKAdNetworkIdentifier</key>
        <string>cstr6suwn9.skadnetwork</string>
    </dict>
</array>

bannerView.adUnitID = "YYYY/YYYY"

Test ads I can see, if I explicitly add testDeviceIdentifiers , otherwise I am getting an error To get test ads on this device, set: GADMobileAds.sharedInstance.requestConfiguration.testDeviceIdentifiers .

The App was published on the App Store few days ago. I was thinking AdMob can determine it and show the real Ads, but it did not happen. What am I missing?

Well the ads appeared after few days. Really weird that it took so much time.

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