Hello everyone,
I am developing an Android game called Maze-Mania with B4A 12.80 and FirebaseAdmob2 v3.21.
The application is now publicly published on Google Play and has been successfully linked to my AdMob account.
My AdMob configuration is the following:
The initialization code is:
Ads.Initialize
Wait For (MobileAds.Initialize) MobileAds_Ready
If Ads.GetConsentStatus = "UNKNOWN" Or Ads.GetConsentStatus = "REQUIRED" Then
Wait For (Ads.RequestConsentInformation(False)) Complete (Success As Boolean)
End If
If Ads.GetConsentStatus = "REQUIRED" And Ads.GetConsentFormAvailable Then
Wait For (Ads.ShowConsentForm) Complete (Success As Boolean)
End If
LoadAds
The rewarded interstitial is loaded with:
Ads.FetchRewardedInterstitialAd("ca-app-pub-5538406962438606/xxxxxxxxx", Me, "RewardedInterstitialAd")
The callbacks are:
Sub RewardedInterstitialAd_ReceiveAd
IndicInterstitialReward = True
End Sub
Sub RewardedInterstitialAd_FailedToReceiveAd (ErrorCode As String)
Log(ErrorCode)
End Sub
The problem is that neither RewardedInterstitialAd_ReceiveAd nor RewardedInterstitialAd_FailedToReceiveAd is ever called.
The log shows:
After MobileAds_Ready
onConsentInfoUpdateFailure:
Publisher misconfiguration:
Failed to read publisher's account configuration;
no form(s) configured for the input app ID.
Consent: UNKNOWN
Failed:
Code: 1
Message:
Error building request URL:
Cannot determine request type.
Is your ad unit id correct?
Additional information:
Could this be related to the current AdMob review, the consent configuration, or is there another possible cause?
Thank you very much for any advice.
I am developing an Android game called Maze-Mania with B4A 12.80 and FirebaseAdmob2 v3.21.
The application is now publicly published on Google Play and has been successfully linked to my AdMob account.
My AdMob configuration is the following:
- App ID: ca-app-pub-5538406962438606~xxxxxxxxxx
- Rewarded Interstitial Ad Unit ID: ca-app-pub-5538406962438606/xxxxxxxxxx
The initialization code is:
Ads.Initialize
Wait For (MobileAds.Initialize) MobileAds_Ready
If Ads.GetConsentStatus = "UNKNOWN" Or Ads.GetConsentStatus = "REQUIRED" Then
Wait For (Ads.RequestConsentInformation(False)) Complete (Success As Boolean)
End If
If Ads.GetConsentStatus = "REQUIRED" And Ads.GetConsentFormAvailable Then
Wait For (Ads.ShowConsentForm) Complete (Success As Boolean)
End If
LoadAds
The rewarded interstitial is loaded with:
Ads.FetchRewardedInterstitialAd("ca-app-pub-5538406962438606/xxxxxxxxx", Me, "RewardedInterstitialAd")
The callbacks are:
Sub RewardedInterstitialAd_ReceiveAd
IndicInterstitialReward = True
End Sub
Sub RewardedInterstitialAd_FailedToReceiveAd (ErrorCode As String)
Log(ErrorCode)
End Sub
The problem is that neither RewardedInterstitialAd_ReceiveAd nor RewardedInterstitialAd_FailedToReceiveAd is ever called.
The log shows:
After MobileAds_Ready
onConsentInfoUpdateFailure:
Publisher misconfiguration:
Failed to read publisher's account configuration;
no form(s) configured for the input app ID.
Consent: UNKNOWN
Failed:
Code: 1
Message:
Error building request URL:
Cannot determine request type.
Is your ad unit id correct?
Additional information:
- The application is already public on Google Play.
- The package name is correct.
- The Ad Unit ID was copied directly from AdMob.
- The same project previously worked correctly with Google's test ad IDs.
- My application is currently under AdMob review ("Review required").
Could this be related to the current AdMob review, the consent configuration, or is there another possible cause?
Thank you very much for any advice.