I have an app on playstore https://play.google.com/store/apps/details?id=com.advocosoftwares.colorbook. I have used startApp in first release version. Now for next version I am trying to add AdMob rewarded video ad in the same app. I am getting the issue while implementing it. I have followed the complete procedure from https://www.youtube.com/watch?v=_frcK8lYnX8 but onRewardedVideoAdFailedToLoad() method is called showing error code 3, I tried with both the sample id as well as created new Id for project but same error code as a result. I did the same procedure in other app where it works fine. Just having the issue in this app. Please help me out.
Error Code 3 means no fills from the mediated ad network.
Try again by enabling only test ads from startApp and see if that works.
You can also use this sample app to test you ad unit id.
Related
I'm using cordova-plugin-admobpro plugin to display ads inside my Cordova app. The test ads are showing if I set the isTesting:true property, but when i release my app to production (I removed isTesting:true property) the ads are not showing. The onAdFailLoad callback is fired and I get the following response:
{
"isTrusted":"false",
"adNetwork":"AdMob",
"adType":"banner",
"adEvent":"onAdFailLoad",
"error":"0",
"reason":"Internal error"
}
Anybody faced the same problem? I don't get why I get isTrusted:false. This means the app isn't trusted by Google or AdMob? How can I fix this?
I'm using cordova-plugin-admobpro 2.31.5 on Android.
Thanks in advance
in the past i had a similar problem. I forgot to save a payment method to admob. After adding this, everything worked as well.
My client set a bannerID to an Insterstitial Ad and an interstitialID to the banner Ad... So be careful with the Ad type when setting the IDs my fellow friends.
I integrated Android FAN v4.24.0 SDK as docs says for testing live ads,but I found when first time to call "adView.loadAd()"(adView is a Adview Object), always received error 1001:" No fill,We are not able to serve ads to this person. Please refer to https://developers.facebook.com/docs/audience-network/faq#a12. If you are integrating Audience Network for the first time, you can use test ads https://developers.facebook.com/docs/audience-network/testing.", then I called "adView.loadAd()" again, ad was filled. What's happening and how to avoid this issue? Anyone can help me?
Upgrade your Facebook SDK to v4.25.0.
Fixed
Fixed no fill on the very first impression when advertising id hasn't been retrieved yet
I was trying with SDK version v4.20.0, v4.24.0 . But I was getting failed again and again.
After using SDK v4.25.0 all ads are being shown.
compile 'com.facebook.android:audience-network-sdk:4.25.0'
How to enable test mode in RevMob Android? I'm trying to find code snippet but not able to find.
revmob.setTestingMode(RevMobTestingMode.WITH_ADS);
The above code is not working.
My app is not in live. Its just in testing purpose. The following pic is showing what they are saying to implement.
See here
The setTestingMode isn't used anymore and will soon be removed. To get test ads just use your media ID that has "Testing" as status.
I'm working on InMobi Ad integration with sample project.
I've updated the project id and PLACEMENT_ID but I'm getting below message on onAdLoadFailed
Unable to load interstitial ad (error message: An invalid ad request was sent and was rejected by the Ad Network. Please validate the ad request and try again)
Need help.
Having the same problem. Using SDK 5.0.0 integrating Native Ads.
In test mode, slot requested is "0", and it shows no problem, although no ad is filled. When disabling Test Mode, the error #Ankit says is appearing in LogCat.
I have another application which integrates InMobi, but Interstitial ones. It is ansewering request with error and, when it works- some hours ago- it just fills a blank -transparent- ad.
I found the problem, in my case i was using device ID except advertising id of device while adding devices for test in Inmobi. and in Inmobi they change key in response Json with every version of SDK (ie its one for 5.0.0 and different for 5.0.1).
I signed up for Google AdMob services recently and been using this code to create the AdRequest.
private AdRequest createAdRequest()
{
return new AdRequest.Builder()
.AddTestDevice(AdRequest.TestDeviceSimulator)
.AddTestDevice("0123456789ABCDEF0123456789ABCDEF")
.AddKeyword("game")
.SetGender(Gender.Male)
.SetBirthday(new DateTime(1985, 1, 1))
.TagForChildDirectedTreatment(false)
.AddExtra("color_bg", "9B30FF")
.Build();
}
When logging in today morning, I saw some impression (around 100) created obviously by myself. The TestDevice ID is of course not the correct ID because I was too lazy to find out the correct one.
Are the ads showing right now in my app "real" ads? Can I fix this by adding the correct device ID and will I see then inside App that the Ads are just "Demo"?
... Is there no "general testing-mode" ? I'm developing together with a friend and he has of course a different device ID...
Thanks in advance
You can add multiple device IDs, no problem:
.AddTestDevice("YOURDEVICEIDYOURDEVICEIDYOURDEVICEID")
.AddTestDevice("FRIENDSDEVICEIDFRIENDSDEVICEIDFRIEND")
.AddTestDevice("SOMEONEELSESOMEONEELSESOMEONEELSESOM")
Now your friends and you will see demo ads, all the rest will see real ads.
To get the device id you can start your app and check the logcat for an admob log that looks more or less like this:
05-20 20:27:20.888: I/Ads(32367): Use AdRequest.Builder.addTestDevice("BANANANAANANANANANANNANANANANANA") to get test ads on this device.
Just use this id as a parameter in the addTestDevice method then. See also this related admob question