AdMob test ads not working - iOS

1.9k Views Asked by At

I am using AdMob through AdWhirl and last week running in the simulator showed test ads from both AdMob and iAd. Nothing has changed in my AdWhirl code, and test mode is still on, yet I no longer get test ads from AdMob. Every now and then I get a proper ad. Test ads from iAd are fine.

I have tried the AdWhirl and AdMob forums but my posts never get posted!

Anyone know what the problem could be?

Thanks

2

There are 2 best solutions below

2
On BEST ANSWER

I think that you may need to modify the code in the AdWhirlAdapterGoogleAdMobAds.m. The line where it turns on test mode

[additional setObject:@"on" forKey:@"adtest"];

Should probably be changed to

request.testDevices = [NSArray arrayWithObjects:
                       GAD_SIMULATOR_ID,                                           
                       nil];

It looks like the method of using "adtest" in the additionalParamters property of GADRequest doesn't seem to be working anymore.

Of course, this also assumes you've overridden the adWhirlTestMode method in your class that is an AdWhirlDelegate.

5
On

if you changed nothing..then it is from there side..try changing priorities..and traffic of the ads network in adwhirl.