Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ad unit doesn't match format in AppOpenExample #626

Open
mobile-ads-github opened this issue Nov 16, 2023 · 4 comments
Open

Ad unit doesn't match format in AppOpenExample #626

mobile-ads-github opened this issue Nov 16, 2023 · 4 comments
Assignees
Labels

Comments

@mobile-ads-github
Copy link

Hi!
I'm trying check the AppOpenAd format, but in public samples (AppOpenExample) (both java & kotlin) every load of the ad fails with an error:

{
  "Code": 3,
  "Message": "Ad unit doesn't match format. <https:\/\/support.google.com\/admob\/answer\/9905175#4>",
  "Domain": "com.google.android.gms.ads",
  "Cause": "null",
  "Response Info": {
    "Response ID": "null",
    "Mediation Adapter Class Name": "",
    "Adapter Responses": [],
    "Response Extras": {}
  }
}

Ad Unit ID wasn't changed, I'm loading the original ca-app-pub-3940256099942544/3419835294

@NVentimiglia NVentimiglia self-assigned this Nov 16, 2023
@NVentimiglia
Copy link
Member

@mobile-ads-github

Thanks for reporting this, I will submit a fix asap. On your end change the ad unit id to:

ca-app-pub-3940256099942544/9257395921

@mobile-ads-github
Copy link
Author

It works, thanks!

@mobile-ads-github
Copy link
Author

I'm getting the same error in an iOS example:

App open ad is not ready yet.
Start loading app open ad.
App open ad failed to load with error: Ad unit doesn't match format. <https://support.google.com/admob/answer/9905175#4>

Should I create a new issue there?

@NVentimiglia
Copy link
Member

Here is the fixed iOS ad unit id ca-app-pub-3940256099942544/5575463023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants