[iOS] Application Stopped Showing Ads, [Error Domain=com.google.admob Code=1 "Request Error: No ad to show."]

178 views
Skip to first unread message

Will Lumley

unread,
Jun 20, 2024, 12:55:02 AMJun 20
to Google Mobile Ads SDK Developers
My live application (iOS only) was working with AdMob perfectly.
One day, it stopped working completely. My fill rate is 0%, and I get this error:

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)


  ** Loaded Adapter Response **

    (null)


  ** Extras Dictionary **

    {

    }


  ** Mediation line items **

}

My App ID is: ca-app-pub-1812179338462543~8181414095

My Ad Unit ID is: ca-app-pub-1812179338462543/9484555770

This has been occuring for a few days now. Any help would be greatly appreciated.

Will Lumley

unread,
Jun 20, 2024, 12:57:59 AMJun 20
to Google Mobile Ads SDK Developers
Some extra details I forgot to add:

My app is written in native Swift.
I'm using SPM to pull the SDK, from this URL:

And have experienced this in version 11.6.0 and 11.5.0.

Mobile Ads SDK Forum Advisor

unread,
Jun 20, 2024, 2:58:21 AMJun 20
to wlum...@gmail.com, google-adm...@googlegroups.com
Hi,

I have tried running the Google sample app and able to see the error "Failed to read publisher's account configuration; no form(s) configured for the input app ID." looks to be GDPR related. Kindly verify whether you have enabled the GDPR and IDFA messages in the privacy and messaging section of your account? If you have not enabled it, kindly enable and allow those messages in the privacy and messaging section of your account.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02tJPLy:ref" (ADR-00242751)

Thanks,
 
Google Logo Mobile Ads SDK Team


Will Lumley

unread,
Jun 20, 2024, 7:33:10 PMJun 20
to Google Mobile Ads SDK Developers
Hi there,

Thanks for quickly replying.

I have enabled the GDPR messaging, as seen in the screenshot below.

Here is my code that requests the users consent:

```swift

func configureConsent() {

        // Create a UMPRequestParameters object.

        let parameters = UMPRequestParameters()


        // Request an update for the consent information.

        UMPConsentInformation.sharedInstance.requestConsentInfoUpdate(with: parameters) { [weak self] requestConsentError in

            guard let self = self else { return }

            if let error = requestConsentError {

                // Handle the error.

                print("Error requesting consent info update: \(error.localizedDescription)")

            } else {

                // Consent info updated successfully.

                print("Consent info updated successfully.")

            }

        }

    }

```

I haven't configured IDFA requesting - but is that 100% necessary? Can I serve ads without gaining access to the IDFA?
I understand that the ads served won't be as targetted, but I'd rather cop the loss in ad revenue and not have my users feel like I'm intruding on them.
Screenshot 2024-06-21 at 9.30.19 AM.png

Will Lumley

unread,
Jun 20, 2024, 8:21:44 PMJun 20
to Google Mobile Ads SDK Developers
Another note of importance:
The request info closure returns the following error:

Error requesting consent info update: Failed to read publisher's account configuration; no form(s) configured for the input app ID. Verify that you have configured one or more forms for this application and try again. Received app ID: `ca-app-pub-1771131622712996~4272823202`.

This is particularly interesting as my app ID is ca-app-pub-1812179338462543~8181414095
I've attached a screenshot of my Google-Info.plist confirming that my app ID is listed accordingly.

Could this cause the issue?
Screenshot 2024-06-21 at 10.20.49 AM.png

Mobile Ads SDK Forum Advisor

unread,
Jun 21, 2024, 4:05:19 AMJun 21
to wlum...@gmail.com, google-adm...@googlegroups.com
Hi,

In your info.plist the key value should be "GADApplicationIdentifier" but i see you have mentioned "ADMOB_APP_ID". Kindly replace "ADMOB_APP_ID" with  "GADApplicationIdentifier" and we have tried running sample project and able to reproduce the "No Ad to show" error. Upon further investigation, this seems to be a serving issue rather than something specific to the Mobile Ads SDK.

I would suggest that you contact our Product Support Team for further assistance on this. You may also use our Troubleshooter. Kindly also make sure that you have already set up your Payment Options or have verified your PIN.

Will Lumley

unread,
Jun 22, 2024, 3:27:17 AMJun 22
to Google Mobile Ads SDK Developers
Thanks for the reply.

I have setup my payment options. I have not verified my PIN as I am below the payment threshold (and will remain there as I can't display ads to my users).
That's interesting about the Google-Info.plist having the wrong key, as I download the .plist file directly (and unchanged) from the Firebase Project Settings.

I went through the Troubleshooter and unfortunately I could not have my issue detected nor resolved.
I selected the "Product Support Team" link and I am unable to email them. BTW I'm using the latest version of Chrome. Do you have any idea as to how I can get past this?
Screenshot 2024-06-22 at 5.25.54 PM.png

Mobile Ads SDK Forum Advisor

unread,
Jun 24, 2024, 2:16:10 AMJun 24
to wlum...@gmail.com, google-adm...@googlegroups.com
Hi,

I would suggest that you contact our Product Support Team for further assistance on this. At this time the forum is the best escalation path to address your concern. It is monitored internally and externally to help you resolve your issue.

Will Lumley

unread,
Jul 8, 2024, 9:14:02 PM (7 days ago) Jul 8
to Google Mobile Ads SDK Developers
Hi there,

Unfortunately I have not received any assistance in the forum you linked. Are you able to link me any further resources to help me?
Thank you so much in advance.

Mobile Ads SDK Forum Advisor

unread,
Jul 9, 2024, 12:30:27 AM (7 days ago) Jul 9
to wlum...@gmail.com, google-adm...@googlegroups.com

Hi,

At this time the forum Product Support Team is the best escalation path to address your concern. It is monitored internally and externally to help you resolve your issue.

If you have any issues regarding Google Mobile Ads SDK implementation, please reach out to us.

Will Lumley

unread,
Jul 9, 2024, 12:36:08 AM (7 days ago) Jul 9
to Google Mobile Ads SDK Developers
Hi there,

I understand that, however I'm still unable to reach a conclusion.

What more can I do to get official help?
Reply all
Reply to author
Forward
0 new messages