Google ads are not showing in a particular app - ios

I am getting the following error when loading an interstitial in an iOS app:
Error Domain=com.google.ads Code=1 "Request Error: No ad to show." UserInfo={NSLocalizedDescription=Request Error: No ad to show., NSLocalizedFailureReason=Request Error: No ad to show.}
I have tried with various live AD IDs, but the ad never shows. However, if I use a test AD ID, the ad shows.
If I use the live AD IDs in other apps, the ads show. It seems that the problem is with the particular app when using live AD IDs.
Any help?

Mainly there are 2 types of Google Ads, Banner ads and Interstitial ads. Banner ads are received as a complete view from the Google API's, whereas for interstitial ads you only get the params that you can display on your custom UI.
For live Ad ID's to work, you need to get your App whitelisted by Google. Since you are able to use the test Ad ID's and not the live Ad ID's, your app might not have been whitelisted yet. After your app gets whitelisted you should be able to receive the ads from Google Ads.

In addition to #Krishna's answer: the issue may be simply that there are no ads to show. Google tries to pick an ad based on targeting parameters that you pass in (e.g. location), user's AdID (a unique ad-specific identifier used for targeting) and your AdUnitID settings (on the server side) and other things (device type, possibly IP address, current time, etc.). Sometimes it just can't find a suitable ad.
In test mode you always get an ad (for testing purposes). But, of course, I'd recommend exploring the "whitelisting" first.

Related

Google AdMob Publisher data not found. error iOS

I have a problem with AdMob.I add all implementations for AdMob.When I tried I had an error: Publisher data not found. Then I searched on google. They mention to check id but it is no problem with my id. (My ad type is rewarded)
Google gives next recommendations:
...Always test with test ads
When building and testing your apps, make sure you use test ads rather
than live, production ads. Failure to do so can lead to suspension of
your account.
The easiest way to load test ads is to use our dedicated test ad unit
ID for iOS rewarded ads:
ca-app-pub-3940256099942544/1712485313
It's been specially configured to return test ads for every request,
and you're free to use it in your own apps while coding, testing, and
debugging. Just make sure you replace it with your own ad unit ID
before publishing your app...
More information here

What is the difference between DFPBannerView and GADBannerView?

Google ad mob documentation tells me to use a GADBannerView to display ads where as google ad manager tells me to use a DFPBannerView. Both perform exactly the same from what I can tell so why the 2 option?
Google Ad Mob
Google Ad Manager
The GMA SDK is shared by both AdMob and Ad Manager, which are two different ad serving solutions. Even if the SDK is the same, you still need to indicate whether the ad serving will be managed by AdMob or Ad Manager. Depending on where you have you're campaigns set up, you'll need to use the appropriate method to request such ads.

Rewarded Video Ads not displaying?

I have implemented whole procedure of Google doc for Reward AbMob integration.
https://developers.google.com/admob/ios/rewarded-video
But i am getting error like this:-
Reward based video ad failed to load: No ad returned from any ad server.
Note : you have to replace kSampleAdUnitID with your AppID in Admob
Its obious that there are no ads for the user, google only send ads for a person on its recent search.
Google is also promoting firebase ads instead admob.
and of-corse, did you create a proper frame for your adview, there are multiple type of ads,
one which comes on banner,
second which comes on any grid,
and last which comes on whole screen
So, each type should have a specific dimension view. Please check it.

AdMob Mediation reward video ad Error Domain=com.google.ads Code=9 No ad returned from any ad server

I use Google AdMob Mediation for iOS, load reward video ad returns error, error code is 9, message is:
Error Domain=com.google.ads Code=9 "No ad returned from any ad server." UserInfo={NSLocalizedDescription=No ad returned from any ad server., NSLocalizedFailureReason=No ad returned from any ad server.
Does anyone know how to fix it?
This error usually returned for a couple of reasons.
There were no ads that are available to serve the specific user.
Content width is not enough for the ad to be shown fully
You just created the ad element at AdMob and it'll take some time before it'll start serving you ads.
You are using the wrong App ID or ID. Just double check them as you might have just copied the example from documentation and forgot to change it to your unit's app id or id.
Last but not least, you didn't properly initialize the AdMob. Go back and read the documentation again.

Fabric - MoPub: No ads found for ad unit

I am currently developing an iOS app (could be Android or sth else, that's not the issue here) and have just included the MoPub kit through fabric in order to monetize the app through ads.
After implementing a full screen/interstitial ad with the test unit id, the interstitial shows perfectly. However, when using my personal ad unit ID, the ad doesn't show up. What I get from the console is the following:
MOPUB: Interstitial controller is loading ad with MoPub server URL: https://ads.mopub.com/m/ad?v=8&udid=ifa:XXXX&id=1234567890&nv=4.7.0&o=p&sc=2.0&z=+0100&mr=1&ct=2&av=1.5&cn=EE&iso=gb&mnc=30&mcc=234&dn=iPhone7%2C2&w=640&h=1136&bundle=com.company.appId
MOPUB: Interstitial ad view is fetching ad network type: clear
MOPUB: No ads found for ad unit: 1234567890
N.B: if I do the exact same process with the banner, no issues; for some reason I ignore, it only happens to me with the interstitial.
Does anyone know how to solve this issue?
One thing I noticed is that it takes steady requests to get the ad unit 're-loaded' and be responsive. If there has been a period of no requests. I think it is officially referred to as a "warm up" period. But you can 'stim' your ad unit by making and saving a change to the ad unit on the MoPub portal. I usually get a better response if I make an edit (then change it back) a few minutes before testing. This is just an empirical observation.
Edit Just had another parting thought. Make sure your NOT paused in the segment for all networks for that ad unit!
It happened to me when I tried to load a fullscreen ad with image creatives that exceeded the size available to show them in the app.

Resources