Перейти к содержимому

No ad config что значит

  • автор:

No ad config что значит

"No Ad Config." on onAdFailedToLoad() Method While trying to Load Ads

I am trying to load interstitial advertisements for my app. Whenever I try to load these ads I get a Error saying "No Ads Config" from Domain "com.google.android.gms.ads".

Here is the code:

onCreate() in main.java

When I load my ad in a on function it gives me error "No Ad Config."

12 Answers 12

Fixed It and it works.

Found a resource from google. And It cleared all my doubts. For Test Ad Resource Click Me

The Advertisement works in two ways.

  1. While The App Is In Development.
  2. While The App Is In Production.

Scenario 1: While the App Is In Devlopment

For this case, we need to use Test Advertisements. Admob and "com.google.android.gms.ads" doesnt allow user to use Advertisements in Development Phase due to false impressions.

To enable Test Advertisement. There are two ways: You can either use google ad unit id’s which are available on the link adove. Or You can use your own ad unit id, but you will be needing to register your device as a test device and use your own request configuration. Here is a simple Example: Search for your "Device Id" In "Logcat"

message:"No ad config", "code:3" about admob HOT 29 CLOSED

I got the same issue with v1.2.1
even I used google app id (in the official example) and test ad unit id, it doesn’t work.

However the interesting here is after fixing the missing @babel/runtime on the example of this repository, the example works.

ildfreelancer commented on December 10, 2022 1

@manuhook I checked this thread
https://groups.google.com/g/google-admob-ads-sdk/c/Ce2iYsHPYCc?pli=1
and after I changed from test ad it to real ad id, it works

Obhenimen commented on December 10, 2022

I created the adunits 4 weeks ago.
I have set up my app-ads.txt
I set up have set up my test device in my admob account.
I have put my app id in my manifest.xml

ShivamJoker commented on December 10, 2022

I am getting this even on test ID
ca-app-pub-3940256099942544/1033173712

Possible Unhandled Promise Rejection (id: 1):
Error: No ad config.
Error: No ad config.

Strapazzon commented on December 10, 2022

I have same erro, after update to 1.2.1.

ShivamJoker commented on December 10, 2022

@Strapazzon was it working before this version ?

Strapazzon commented on December 10, 2022

Obhenimen commented on December 10, 2022

This should be very useful for those using test id. Please when using Google test id, Ensure that use also use Google app id in your android manifest file. Do not use your admob app id with google test id cos it won’t work.

ShivamJoker commented on December 10, 2022

@Obhenimen it didn’t work still gave the same error :/

ShivamJoker commented on December 10, 2022

@Strapazzon I tried the 1.2.0 and 1.1.2 still gave the same error

@wjaykim can you please help us out ?

Obhenimen commented on December 10, 2022

@ShivamJoker ok can you reproduce the code here.

ShivamJoker commented on December 10, 2022

The code is same as #49 (This library is broken with latest react native)

wjaykim commented on December 10, 2022

@Strapazzon You said the ad worked until previous version, can you check if the ads works after roll back to the previous version now?

Code 3 and error related «com.google.DummyAdapter» both means

The ad request was successful, but no ad was returned due to lack of ad inventory.

And those errors mean the code is correct, but admob returns no ads.

This should be very useful for those using test id. Please when using Google test id, Ensure that use also use Google app id in your android manifest file. Do not use your admob app id with google test id cos it won’t work.

In addition to the @Obhenimen’s comment above, to receive test ads, you should add following line to app-ads.txt if you set up it:

ShivamJoker commented on December 10, 2022

@wjaykim the thing is I already have app ads setup and my production app is running ads on older version of react native library

image

Everything was fine until I upgraded stuffs

Also the stackoverflow link isn’t helpful I have already done most of the stuffs

wjaykim commented on December 10, 2022

That’s weird. I’ll investigate more.

ildfreelancer commented on December 10, 2022

@wjaykim I created a new fresh project and it works
Seems like an issue with my project, but very hard to know why
«Error: Cannot find an ad network adapter with the name(s): com.google.DummyAdapter»

I will update you guys if found the root issue.

ShivamJoker commented on December 10, 2022

@ildfreelancer I have the same issue see #49
Maybe try with running react native clean project

ildfreelancer commented on December 10, 2022

@Strapazzon Did you know the root of the issue?

ildfreelancer commented on December 10, 2022

@wjaykim
when I try to use AdMob.isTestDevice().then((result) => console.log(result));
it shows false even I am using simulator with test ad unit
and const initializationStatus = await AdMob.getInitializationStatus();
show this

Does it stop working because using AdMob.setRequestConfiguration(config) ?

ildfreelancer commented on December 10, 2022

@ShivamJoker @wjaykim I believe this package conflicts with react-native-firebase, after install the package one by one to detect what the root of issue, I figured out that it got the issue after integrate firebase.
FYI

manuhook commented on December 10, 2022

@ildfreelancer I have the latest versions of react-native-firebase and react-native-admob/admob and everything works perfectly

ShivamJoker commented on December 10, 2022

Intresting I’ll give it a shot with real ad id

ildfreelancer commented on December 10, 2022

image

here is the proof.

ShivamJoker commented on December 10, 2022

@ildfreelancer oh nice I’m pretty sure that it’s not firebase issue because I am not using it

ildfreelancer commented on December 10, 2022

I am not sure, however I think you should try following:
1/ Add this into you app-ads.txt in case you setup: google.com, pub-3940256099942544, DIRECT, f08c47fec0942fa0
2/ if it doesn’t work with 1, try to test with real ad id and app id, and don’t click on the ads.

ShivamJoker commented on December 10, 2022

But now I have got another error
@wjaykim any help with this one ?

ShivamJoker commented on December 10, 2022

BTW it seems to be working fine on android

wjaykim commented on December 10, 2022

But now I have got another error @wjaykim any help with this one ?

Can you open new issue with this.

Related Issues (20)

  • Multiple appOpenAds at the same time HOT 1
  • Execution failed for task ':app:checkDebugAarMetadata'. HOT 3
  • Admob never loads HOT 2
  • Delay SDK initialization to request EEA consent HOT 2
  • [Suggestion] Disable entire admob HOT 2
  • Expo Supported? HOT 1
  • Android 12 — androidx.work issue HOT 2
  • AppOpenAd displayed above the interstialAd which is violation HOT 7
  • Hermes error HOT 1
  • adLoaded never changes it's value HOT 3
  • App crash on start up (only on emulator) HOT 4
  • [RewardedAd] `loadOnMounted: false` performance issue. HOT 2
  • new react native project won't compile for android HOT 1
  • Using this library with expo HOT 1
  • Can't get serverSideVerificationOptions data in server side callback HOT 2
  • Problem with M1 (Macbook 2021 Pro 14 inch) HOT 4
  • After rewardedAd.load(), the ad screen or Alert can't display normally. HOT 1
  • Implementation of AdMob mediation HOT 2
  • [RewardAd] Server side validation doesn't work HOT 1
  • Support Expo EAS build via plugin config? HOT 1

Recommend Projects

React

A declarative, efficient, and flexible JavaScript library for building user interfaces.

Vue.js

�� Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

Typescript

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

TensorFlow

An Open Source Machine Learning Framework for Everyone

Django

The Web framework for perfectionists with deadlines.

Laravel

A PHP framework for web artisans

Recommend Topics

javascript

JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

Some thing interesting about web. New door for the world.

server

A server is a program made to process requests and deliver data to clients.

Machine learning

Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

Visualization

Some thing interesting about visualization, use data art

Some thing interesting about game, make everyone happy.

Recommend Org

Facebook

We are working to build community through open source technology. NB: members must have two-factor auth.

[Solved] When using a test ad unit I get "no ad config" on AdMob

casolorz Asks: When using a test ad unit I get "no ad config" on AdMob
I’ve setup AdMob on Android to load a test ad unit ca-app-pub-3940256099942544/2247696110 , this used to work fine before but now I’m getting an error. I think it is related to app-ads.txt , which is configured fine for my own ads but maybe it fails on the test ad units? Is there a way to get around this when using MoPub to mediate?

Unreplied Threads

bad regression performance on imbalanced dataset
  • Michael_S
  • 26 minutes ago
  • Replies: 0

distribution of y_true

Michael_S Asks: bad regression performance on imbalanced dataset
My current dataset has a shape of 5300 rows by 160 columns with a numeric target variable range=[641, 3001].

That’s no big dataset, but should in general be enough for decent regression quality. The columns are features from different consecutive process steps.

The project goal is to predict the numerical variable, with the satisfactory object to be very precise in the area up too 1200, which are 115 rows (2,1%). For target variables above 1200 the precision can be lower than in the area [640, 1200]. The target-variable is normally distributed with its mean

1780 (25%: 1620, 75%: 1950) and variance of 267.5.

prediction vs actual:
prediction vs actual
residual plot:
residual-plot
My problem is (see plots above), that no matter what I try, the range of predictions (y_hat) is very limited and rather random (Training RMSE

450), best test-mean-abs-error for y-values <= 1200

I’ve already tried:

  • feature cleaning
  • process step wise addition of features to compare model performance/information gain
  • feature generation
  • derive new features (by business logic)
  • generate features
    • cross-product of features
    • differences to previous rows
    • differences between features
    • differences per feature to mean
    • durations based on timestamps
    What could be causing High HC GPM, CO GPM, prevent the RPM from going over 4000, and creating an odd exhaust sound?
    • Paul F
    • 26 minutes ago
    • Replies: 0

    Paul F Asks: What could be causing High HC GPM, CO GPM, prevent the RPM from going over 4000, and creating an odd exhaust sound?
    I have a Toyota Camry 94, it failed its emission test today with 2.62 HC GPM(Limit is 1.2) , 56.87 CO GPM (Limit is 15). The car also won’t rev over 4000 RPM and acts as if it has a governor on when it hits that RPM, it will shift gears just fine when you don’t have the pedal pressed down too hard.

    It started when I left a parking lot and went over a dip in the road a little fast and I heard the bottom of the car scrape. Since then the engine sounds much louder than usual and the RPM problem started. It also feels as if it has lower power than before. There is no check engine light. (It came on a month before the problems and I replaced the air intake tube that was cracked and it went away but hasn’t returned.)

    I’m assuming these are related but would rather try and figure out the problem myself and fix it rather than take it to a repair shop.

    Interference pattern and slit
    • Damon
    • 26 minutes ago
    • Replies: 0

    Damon Asks: Interference pattern and slit
    Three questions about interference pattern and slit.

    (i) In the 1-slit experiment, an interference pattern is observed if the slit is wide enough (a narrow slit gives a rather blurred interference pattern). In theory, if we widen the slit more and more but keep the source of light narrow (constant narrow source), the interference pattern will remain sharp or get even sharper. In the limiting case, one can take away the barrier altogether and the slit can become infinitely wide while the source of light is kept narrow (constant narrow source). In this limiting case, the interference pattern will still remain or become the sharpest. Has people done an experiment with no barrier and therefore no slit but with a very narrow source of light to see what interference pattern emerges?

    (ii) According to http://web.mit.edu/viz/EM/visualizations/coursenotes/modules/guide14.pdf, in the 2-slit experiment, the distance of the first minimum (with m=0) from the centre of the central fringe is inversely proportional to the distance between the two slits, i.e., d in eqn. 14.2.9. Using this expression, if we let d decreases towards zero which amounts to the 2-slit experiment becoming a wide 1-slit experiment, the first minimum will be infinitely far away from the central fringe. That would mean that effectively there will be no first minimum and there will be no interference pattern for this 1-slit experiment. But this is contrary to what is observed where we find 1-slit experiment still produces interference pattern. Hence, we have to conclude that there is something wrong with this expression for the position of the first minimum and other minimums. Can someone provide us with a better formula than the one given in eqn. 14.2.9? For that matter, the expression for the maximums in eqn. 14.2.8 also looks suspect.

    (iii) According to eqn. 14.2.9, the first minimum and other minimums depend linearly on the distance between the slits and the detecting screen (L). I wonder if people have done experiment by varying L and keep everything else the same, and have observed this linear dependence on L. Since the expression in 14.2.9 seems to be suspect by the argument in (ii), this dependence on L may also be suspect.For that matter, the dependence on L in the expression for the maximums in eqn. 14.2.8 also looks suspect.

    Explicit form matrix product series expansion, which is close to matrix exponential
    • mheld
    • 26 minutes ago
    • Replies: 0

    mheld Asks: Explicit form matrix product series expansion, which is close to matrix exponential
    Is there an explicit form of the following matrix product series

    A and B are real valued square matrices that do not commute. A is a diagonal matrix.

    I know that the power series $ \sum_ ^ \frac = \exp $, which is the power series expansion of the matrix exponential with matrix $A B$.

    Calculate $\mathbf^+\mathbf $ indirectly without accessing $\mathbf$
    • BinChen
    • 26 minutes ago
    • Replies: 0

    The Original Question (informal):

    I have a black-box linear system $f:\mathbb ^N\rightarrow\mathbb ^M

    There are some supplementary information:

    Does there exists an efficient way to achieve this?

    There may be two statements (but in fact, only one of them is true):

    Any solutions, suggestions and discussions about this problem are welcomed.

    App Open Ads на admob — нет конфигурации для тестовых объявлений

    Перед запуском приложения удалите папку Build и удалите ранее установленное приложение.

    Согласно их документу, у AdMob есть новые требования для получения тестовых объявлений :

    Вариант 1 (сработал для нас): добавьте эту строку в app-ads.txt файл для своего приложения и подождите 24 часа, пока сканер AdMob обновит его:

    Вариант 2. Включите тестовые устройства, как описано здесь, для iOS и Android.

    Я столкнулся с той же проблемой. Попробуйте воссоздать объект RewardedAd непосредственно перед вызовом loadAd() следующим образом:

    Также убедитесь, что вы выполнили новую установку, а AndroidManifest содержит идентификатор вашего приложения:

    В моем случае я удалил идентификатор рекламного блока из кампании, с которой он был связан. Ошибка сразу пропала.

    Не знаю, почему, но кажется, что использование одного и того же идентификатора рекламного блока для показа рекламы и кампаний также может вызвать эту проблему.

    Когда вы уверены в настройках Android в своем проекте, вам нужно проверить количество запросов Admob, можете ли вы успешно выполнить правильный запрос или нет.

    Итак, согласно изображению выше, перейдите в Admob, выберите свое приложение, перейдите на страницу обзора приложения и проверьте, что ваши номера запросов, вероятно, должны отличаться от нулей. Если вы видите только нули, вы делаете ошибки в своем приложении. Если он отличается от нуля, вам нужно подождать, чтобы ваше приложение загрузилось из Google Play, и пользователи должны оставаться в приложении не менее двух минут. Автоматически каждые 30 секунд подряд пользователь автоматически устанавливает новый запрос объявления, и, вероятно, он должен сделать как минимум четыре запроса от приложения. Это означает, что пользователи активно используют ваше приложение, и вскоре они могут получить просмотр рекламы.

    Подводя итог, подождите, пока новые пользователи воспользуются вашим приложением и загрузят его из Google Play вовремя.

    [Solved]-Banner Google Ad not display — Ad failed to load: LoadAdError(code: 3, domain: com.google.android.gms.ads, message: No ad config.)-Flutter

    I got that error because of my package name containing example. After I changed it, it worked like a charm.

    Related Query
    More Query from same tag

    Ezoic

    report this ad

    Contact Us
    • appsloveworld000457@gmail.com
    • About Us
    Quick Links
    • Information Technology Write For Us
    • Online Learning Write For Us
    • Software development Write for Us
    • JavaScript Tutorial
    • jQuery Tutorial
    • ReactJS Tutorial
    • Vue.js Tutorial
    • Chart.js Tutorial
    • Highcharts Tutorial
    • ASP.NET Tutorial
    • LINQ Tutorial
    • SQL Server Tutorial
    • VBA Tutorial
    • Spring MVC Tutorial
    • Flutter Tutorial
    Services
    • Web Development
    • Mobile App Development
    • Custom Software Development
    • SEO & Digital Marketing
    • Technology Consulting
    Quick Links
    • C language
    • Bash
    • C++
    • Excel-Formula
    • Node.js
    • Numpy
    • R
    • Reactjs
    • React-Native
    • Ruby
    • Swift
    • WordPress
    • Vba
    • Vue.js
    • Php
    • Machine learning
    • Tkinter
    • Scikit learn
    • Tensorflow
    • Beautifulsoup
    Quick Links
    • Oracle
    • Postgresql
    • Sql-Server
    • Mongodb
    • MySQL
    • Pandas
    • Powershell
    • Django
    • Eclipse
    • Kotlin
    • Laravel
    • Docker
    • Babel.js
    • Blazor
    • Handlebars.js
    • Nuxt.js
    • Phantom.js
    • Require.js
    • Sequelize.js
    • Three.js
    • Vuetify.js
    • WebRTC
    • OpenCv

    Copyright 2023 www.appsloveworld.com. All rights reserved.

    Ezoic

    report this ad

    Error — No ad config about react-native-admob-native-ads HOT 2 CLOSED

    Notice #253 exists too, this might be a duplicate, though my case seems a tad different as I get no ads at all and an error message, whereas the author of that issue reportedly sees an «ad badge».

    ammarahm-ed commented on March 4, 2023

    Related Issues (20)

    • [Android/iOS] Unable to obtain a JavascriptEngine.
    • RNAdmobNativeAdsManager.o ld: symbol(s) not found for architecture x86_64 clang
    • Comple errors on react-native 0.69.1 HOT 2
    • Can't customize hight and width of ad banner
    • [IOS] Multiple ads on 1 screen HOT 6
    • Dynamically load into list?
    • iOs: problem with GADNativeAdView and 'GADNativeAdLoaderDelegate' (cannot find) HOT 2
    • ld: framework not found FacebookAdapter HOT 1
    • Full-screen native ad support HOT 1
    • Custom targeting not working on iOS
    • ios native ads installation error HOT 2
    • [BUG] adChoicesPlacement prop not working with preload ad HOT 1
    • issue with react-native-google-mobile-ads HOT 1
    • Error compiling on Android HOT 10
    • Error build Android
    • [Android] onAdImpression and onAdClicked doesn't work properly HOT 3
    • `onAdFailedToLoad` and `CallToActionView` TS types are wrong
    • Feature request: Create Expo plugin HOT 2
    • Android does not compile HOT 1
    • [M1 Silicon][0.6.0] Build workaround with react-native-google-mobile-ads[8.2.3]

    Recommend Projects

    React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

    Vue.js

    �� Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

    Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    TensorFlow

    An Open Source Machine Learning Framework for Everyone

    Django

    The Web framework for perfectionists with deadlines.

    Laravel

    A PHP framework for web artisans

    Bring data to life with SVG, Canvas and HTML. ������

    Recommend Topics

    javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

    Some thing interesting about web. New door for the world.

    server

    A server is a program made to process requests and deliver data to clients.

    Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

    Visualization

    Some thing interesting about visualization, use data art

    Some thing interesting about game, make everyone happy.

    Recommend Org

    Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

    "No Ad Config." on onAdFailedToLoad() Method While trying to Load Ads

    I am trying to load interstitial advertisements for my app. Whenever I try to load these ads I get a Error saying "No Ads Config" from Domain "com.google.android.gms.ads".

    Here is the code:

    onCreate() in main.java

    When I load my ad in a on function it gives me error "No Ad Config."

    Solution

    Fixed It and it works.

    Found a resource from google. And It cleared all my doubts. For Test Ad Resource Click Me

    The Advertisement works in two ways.

    1. While The App Is In Development.
    2. While The App Is In Production.

    Scenario 1: While the App Is In Devlopment

    For this case, we need to use Test Advertisements. Admob and "com.google.android.gms.ads" doesnt allow user to use Advertisements in Development Phase due to false impressions.

    To enable Test Advertisement. There are two ways:
    You can either use google ad unit id’s which are available on the link adove.
    Or
    You can use your own ad unit id, but you will be needing to register your device as a test device and use your own request configuration.
    Here is a simple Example:
    Search for your "Device Id" In "Logcat"

    It will look something like

    I/ADS: Use Requested Configuration……Arrays.asList("Your device Id will be here");

    Then Just Copy Paste This(i can read your mind..)

    Now just load the ad and it will pop up. Congratz. ��

    Scenario 2: While the App Is In Production

    This is pretty simple part…

    1. Just remove the .setTestDeviceIds(Arrays.asList("your device id should go here")) part from the code…
    2. Link your AdMob App to PlayStore. [Is your app published? Yes…yes…and on…]
    3. Just opt for ad.
    4. And check if Ads are enabled in your app settings on play console.
    5. It should work now. Congratz.

    This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *