I dont think it is related to ios 14 changes. Did you try with an unrelated app with the store version if it is getting ads ? I am having a similar issue, the device is somehow regitered as a test device, even if I dont enable test mode, I dont get any ads. but after you uplaod it to store and test with another unrelated device, it shows ads.
if you like, you can send me the appstore link , I can downlaod to my phone and check.
Is the FailToReceiveAd event raised? What is the error message?
Sub iad_Ready (Success As Boolean)
Log("Success")
End Sub
Why Admob match rate low?
Your apps may experience less demand from Google while we evaluate your traffic quality. This can occur for up to one week after a new app or ad unit is created. If you're still having issues, use the Can't see ads troubleshooter or check out the Google AdMob Help Community. ...
it is generally not the case, new generated ads generally started to show in 30 minutes.i didnot noticed that there is a "FaildToReceiveAd". i am using this event:
B4X:Sub iad_Ready (Success As Boolean) Log("Success") End Sub
what i get is always False. If i set a test device i get the ads.
if i change the app package name to another app from me and use their provisions file then ads are showing even with the same ad id so there is nothing wrong with the code.
can it be that because it is a new app it can take few days until ads will be shown?
in AdMob i also see the requests that i send from the app but no ads are shown.
View attachment 104420
EDIT: the 1 impression is the 1 time i used the ad id with another package name. when i get back to my pc i will add the "FaildToReceiveAd" to check the logs and post them here. thanx erel
Google:
it is generally not the case, new generated ads generally started to show in 30 minutes.
It will probably give you error no 3 - no ads to show but yes if you can check failedtorecieve logs, it will be betteri will check the logs in the FailToReceiveAd event as Erel suggested and see what it says. it is really weird, if i use a different ad id it is also not working, if i use a different package name for the same app it is working fine. it's like the app is still not registered for AdMob or something like this, i don't know. will see what the logs say.
thanx
Is the FailToReceiveAd event raised? What is the error message?
Sub iad_Ready (Success As Boolean)
Log(Success)
End Sub
Error Domain=com.google.admob Code=1 "Request Error: No ad to show." UserInfo={NSLocalizedDescription=Request Error: No ad to show., gad_response_info=<GADResponseInfo: 0x2812183f0>}
iad.SetTestDevices(Array("5dec977df6729bbbd3e80exxxxxxxxx")) 'TEST
Sub iad_Ready (Success As Boolean)
If Success Then
Log("iad is ready.")
'iad.Show(Page1)
Else
Log("Failed to load full screen ad: " & LastException)
End If
End Sub
/// Tells the delegate an ad request succeeded.
- (void)interstitialDidReceiveAd:(GADInterstitial *)ad {
NSLog(@"interstitialDidReceiveAd");
}
/// Tells the delegate an ad request failed.
- (void)interstitial:(GADInterstitial *)ad
didFailToReceiveAdWithError:(GADRequestError *)error {
NSLog(@"interstitial:didFailToReceiveAdWithError: %@", [error localizedDescription]);
}
/// Tells the delegate that an interstitial will be presented.
- (void)interstitialWillPresentScreen:(GADInterstitial *)ad {
NSLog(@"interstitialWillPresentScreen");
}
/// Tells the delegate the interstitial is to be animated off the screen.
- (void)interstitialWillDismissScreen:(GADInterstitial *)ad {
NSLog(@"interstitialWillDismissScreen");
}
/// Tells the delegate the interstitial had been animated off the screen.
- (void)interstitialDidDismissScreen:(GADInterstitial *)ad {
NSLog(@"interstitialDidDismissScreen");
}
/// Tells the delegate that a user click will open another app
/// (such as the App Store), backgrounding the current app.
- (void)interstitialWillLeaveApplication:(GADInterstitial *)ad {
NSLog(@"interstitialWillLeaveApplication");
}
is this uploaded to hosted builders also ?Both are implemented and raise the Ready event.
You should of course check the error message.
I've also uploaded the latest version of Google Mobile Ads framework: www.b4x.com/b4i/files/GoogleMobileAds-v7.69.0.zip
You can download it and copy the folders to the Mac Libs folder.
You should of course check the error message.
Error Domain=com.google.admob Code=1 "Request Error: No ad to show." UserInfo={NSLocalizedDescription=Request Error: No ad to show., gad_response_info=<GADResponseInfo: 0x2812183f0>}
Application_Start
<Google> To get test ads on this device, set: GADMobileAds.sharedInstance.requestConfiguration.testDeviceIdentifiers = @[ @"5dec977df6729bbbd3e80e4xxxxxxx" ];
Application_Active
itiled: 510 : 1080
Class (b4i_xml2map) instance released.
false
Failed to load full screen ad: <B4IExceptionWrapper: Error Domain=com.google.admob Code=1 "Request Error: No ad to show." UserInfo={NSLocalizedDescription=Request Error: No ad to show., gad_response_info= ** Response Info **
Response ID: (null)
Network: (null)
** Mediation line items **
}>
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?