Hi all,
I'm still not able to receive ads from admob and applovin. I set up my ad unit over 56 hours ago, so I'm sure there must be an error on my side. I opened a new thread for this, because my issue of not being able to compile the AdsInterface plugin was solved.
First let me list the things I think I have done right:
Code:
require 'ads'
admob = Ads.new('admob')
admob:setKey(ca-app-pub-publisherId)
admob:showAd("auto", ca-app-pub-publisherId/adUnitId)
Export:
Gaming:
- Enable Google Play Services support
- Google Play services version: 9.2.0
Ads:
- Google Play services version: 9.2.0
- Enable Admob Support
Now the list where I'm not so sure. Do these parameters also need to be included?
Gaming:
- Application ID -> if this is needed, how does it look like and where to find it?
- Api key -> if this is needed, how does it look like and where to find it? Do I need to set up someting other than just publish my App?
Ads:
- Application ID -> Is this the same as under Gaming? If not, where to find it?
- Admob client key -> I'm already setting this in the code. Does it also need to be included here?
- Admob banner key -> I'm already setting this in the code. Does it also need to be included here?
Test ads with Admob are working. Without testing, I get HTTP error 403 in catlog on Bluestacks, and an immediate AD_DISMISSED event.
I added two screenshots which show again which parts I do have setup and which are maybe missing.
I know I'm going on everyone's nerves lately, but I tried everything to get this working for 5 days straight, exported my app dozens if not a hundred times with different combinations of settings, and before I finally give up, maybe someone has an idea what's wrong.
Comments
So I logged into Adsense (didn't even know I have an account), and there is some prime google bullshit going on.
On the top of the page is a big red box saying: Currently no ads are delivered, because you didn't add payment info yet.
And then on the page where you can add payment methods, the "add payment" button is grayed out and unclickable, with the hint "You will need to add a payment method only after your minimum payment threshold (70€) is reached."
So how the f*** am I going to earn something to be able to add a payment method, while my ads are blocked because there is no payment method?!
I'm not even sure if any of this is relevant for admob, I lost track of all the different portals, services and redundant settings in Google long time ago
Here is where you find the application id:
Likes: Holonist
https://deluxepixel.com
See this screenshot
https://deluxepixel.com
- I had to use Google Play services 10.0.1 in both places
- Enter App Id (com.company.app) in both places. (Thought this was already taken care of by the project settings)
That's it.
Likes: antix, SinisterSoft
I didn't realize this and published my update without beta test.
Ads were supposed to appear inside a very defined area of the screen, but in live they just overlap several buttons/texts.
Nothing to fix here, just a funny story and a lesson learned: always publish beta first
Likes: antix
(Is this simply com.yourCompanyName.yourAppName?)
Also, for clarity, does "ca-app-pub-publisherId" take the form...
"ca-app-pub-bunchOfNumbers~moreNumbers" (numbers separated by a ~)
...and does "ca-app-pub-publisherId/adUnitId" take the form...
"ca-app-pub-bunchOfNumbers/moreNumbers" (numbers separated by a /)
Am I right?