I have managed to run the example file here. The tutorial for it is here.
The example file works.
However, I am having trouble placing my own Google details into it,. I have tried to:
log into Adsense
Create an ad unit
Look at the code for the ad unit to get my publisher id. It looks like the one in the example i.e. ca-app-pub-XXXXXXXXXXXXXXXX
Append the above with a slash and the ID of the ad unit, which appears to be a 10 digit number.
Use the resulting string to set the variable AD_UNIT_ID in the example
I did the above last night.
Ads do not appear when I use my AD_UNIT_ID, but they do appear when I use the example ID. What am I doing wrong?
I fixed it. I actually needed to go to https://apps.admob.com/ and use their adverts rather than Adsense.
Related
I have two apps, both have one bottom ad banner, on admob platform it shows the impression number is similiar, but the click number varies much.
I want to know which factor affects the number of click? Why two ads has similar impressions but varies in click number?
Better ad placements and more relatable ads typically get more clicks. Also if you refresh your ads more frequently your impression/click ratio falls.
If you are getting way more clicks that seem suspicious you can report it.
I would suggest to check the other parameters of your report inside Admob admin panel.
Check region, time of impressions, language and the other parameters.
Futhermore, I you want, you can post here your screenshots.
i have been trying to implement Native Ads from admob.
I got some sample code from Github. I tried to implement this code, and the demo code works fine. The native ads show up properly.
I then created my own Admob account and obtained an Ad Unit ID. The previous demo code for native ad did not work with this id, and I got an error with error code 0 although my created Ad Unit ID works fine for banner type ads.
Are this native ads still in beta?? when are they supposed to be out for the common developer?
Helllom I have the same problem but I dont think the real problem be the space. I'm not sure but maybe Native Ads Advanced are still in beta. I try the same code with the Ad Unit ID from admob's example and it works fine. You can try the examples code with your ad units but it doesnt work for me.
What happens to me every time I create an Admob banner ad, it takes a while to appear. So i think you should check again in an hour. I'm guessing Google is processing ad unit id and this is taking some time.
Also, they're not in beta. You should be able to use them. If you still cannot see real ads, post your code and I'll take a look at it.
I hope this helps.
I am getting the exact same error. I implemented native ad code from the example given in git hub. Now I am always getting error code '0' .
Funny thing . When I replace My ad unit Id with the ad_unit_id given in Example.
Ads is displaying in my APP. So it is Clear that my implementation is Correct.
There is some problem with admob ad unit. Its been 18 hour since I created it, I am still getting error with my ad_unit.
If it is ad_unit activation problem then , How would I know it is ready or not , or i have to create some other new ad_unit.
i'm looking for a solution to be able to display, manage and control a banner in my app being able to change the banner in future. I've already tried ad mob and its house ad feature. but it seems that it also displays random ads provided by google.
Since you want to display something so specific, AdMob seems inappropriate. I suggest just creating your own layout to display exactly what you want. You can even create a custom View which can easily be reused wherever you wish.
I have an Android education App where user can hold "tokens" to earn new contents and features.
I searched at Admob documentation but the information seems to be not very clear about my situation.
In case to create a button to open Admob interstitial in return of any tokens mentioned above (I'm thinking make this feature periodic), should it generate invalid traffic or break any admob rule? Anyone tried it before?
My doubt consist in the fact that it does not generate invalid clicks, it just improve the number of interstitials showed.
Thanks in advice.
Ok, concerning to your reply I'm pretty sure that this is not allowed. What I can tell you for sure is that you must not reward people for clicking your ads (or even a button which shows ads).
In addition to it, this is not a "natural transition point". Read what AdMob proposes about showing interstitials: https://developers.google.com/admob/android/interstitial?hl=en#some_best_practices
I have few admob sites and for each of them I want to set different filer for the content of the banners.
I want to do some manipulation with admob filter, unfortunately I do not even know the basics.
I want to show ads that contain image and no text (ads with image only)
How to do this ?
I want to show ads that look like this (no phone)
I want to show ads that have phones like this
For #1, if you disable AdSense backfill you can get rid of a lot of these text ads. The AdMob network itself is not guaranteed to only have image ads though, so it doesn't fully solve this problem. In addition, the fill rate on your ad slot would be much lower if you disable backfill, so this is generally not recommended.
For #2 and #3, the AdMob filters that are in place are ad category filters and language filters. As far as I know, there is not support for ad type filters.