confuse AdMob : Failed to receive ad: Request Error: No ad to show

Home / ios / confuse AdMob : Failed to receive ad: Request Error: No ad to show

Question:
a strange problem,

I have create a app on Admob that linked to AppStore, then create AdUnit, integrate code ‘* Native ad template: M001’ in app, but it report error ‘Failed to receive ad: Request Error: No ad to show.’

then I recreate a new app on Admob that not linked to AppStore, then create new AdUnit under the new app, it is the same type ‘* Native ad template: M001’

I change the configure , AppID, Ad unit id, then the second works fine, but the first report error as above,
class GMAds{
static var _isLinkedAppStore = true
static func setup(){

GADMobileAds.configure(withApplicationID: "ca-app-pub-xxxxx~xxxx")
if _isLinkedAppStore {

}else{
GADMobileAds.configure(withApplicationID: "ca-app-pub-yyyyy~yyyy")
}
}

static func getUnitId()->String{

var adUnitID = "ca-app-pub-xxxxx/xxxxx"//
if _isLinkedAppStore {

}else{
adUnitID = "ca-app-pub-yyyy/yyyy"
}
return adUnitID
}
the question seem relative to Admob configure, so I try to remove the linked app ( which linked to AppStore) but seem the console of Admob no this feature at all, it only provide set visible, hide or show ???

I do not know how to do now, I created two App id for one iOS app, which one is linked to AppStore , another is not linked , not linked App ID can load AD content, but linked App ID can not load AD content, I do not know the what reason make it failed, the same iOS code, just the different configure.

any help ? thanks for advanced, I am appreciate with your help.


Answer:

Read more

Leave a Reply

Your email address will not be published. Required fields are marked *