iOS LoadAdError(code: 1, domain: com.google.admob, message: Request Error: No ad to show., responseInfo: ResponseInfo(responseId: null, mediationAdapterClassName: null, adapterResponses: []))

256 views
Skip to first unread message

Lars “Large” Werner

unread,
Oct 1, 2022, 9:52:51 PM10/1/22
to Google Mobile Ads SDK Developers
Hi

I do not get ads on my simulator anymore
And I have recently updated my app making the eCPM going to the ground, so there is something critical here.

LoadAdError(code: 1, domain: com.google.admob, message: Request Error: No ad to show., responseInfo: ResponseInfo(responseId: null, mediationAdapterClassName: null, adapterResponses: [])) case Request Error: No ad to show.

Using
[✓] Flutter (Channel stable, 3.3.3, on macOS 12.6 21G115 darwin-arm, locale en-NO)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

Noticed in the logs:

<Google> To get test ads on this device, set: Objective-C    GADMobileAds.sharedInstance.requestConfiguration.testDeviceIdentifiers = @[ GADSimulatorID ]; Swift    GADMobileAds.sharedInstance().requestConfiguration.testDeviceIdentifiers = [ GADSimulatorID ]

Tried to "hack" using swift change without luck too:

import GoogleMobileAds /// added this line import UIKit import Flutter @UIApplicationMain @objc class AppDelegate: FlutterAppDelegate { override func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? ) -> Bool { GeneratedPluginRegistrant.register(with: self) ///Ref: https://github.com/googleads/googleads-mobile-flutter/issues/209#issuecomment-951742046 GADMobileAds.sharedInstance().requestConfiguration.testDeviceIdentifiers = [ GADSimulatorID ] /// added this line return super.application(application, didFinishLaunchingWithOptions: launchOptions) } }

Any tips on this issue?

Cheers,
Lars Werner

Mobile Ads SDK Forum Advisor

unread,
Oct 3, 2022, 2:10:45 AM10/3/22
to lars.werner...@gmail.com, google-adm...@googlegroups.com

Hi Lars,

Thank you for reaching out to us.

The error code 1 that you've encounter is happening when the ad request was successful, but no ad was returned. Since there is no ads returning in your end, can you provide us privately your app id and ad unit id used when this behavior returned? You can provide the following details via Reply privately to author option.

Regards,

Google Logo
Princess Pamela
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2ew2in:ref
Reply all
Reply to author
Forward
0 new messages