I am trying to integrate AdMob into my application. I am using CocosCreator to develop it. My sdkbox_config.json look like this:
{
"ios": {
"AdMob":{
"test": true,
"ads":{
"periodic":{
"id":"ca-app-pub-3940256099942544/1033173712",
"type":"interstitial",
"is_designed_for_families": false
}
},
"appid": "ca-app-pub-3940256099942544~3347511713"
}
},
"android": {
"AdMob":{
"test": true,
"ads":{
"periodic":{
"id":"ca-app-pub-3940256099942544/1033173712",
"type":"interstitial",
"is_designed_for_families": false
},
"appid": "ca-app-pub-3940256099942544~3347511713"
}
}
}
}
Using it with testing ids provided by google, the ads are shown with no problem, but when I try to use the ones from my AdMob account, they are not displayed. I checked the logs on the devices using logcat and I see that it says something like “Ad failed to load”. What are the possible reasons for this?
Please ask for any other information you would need. Thanks.