Android Question what is the correct steps to have admob in our app?

wmardian

Member
Licensed User
Longtime User
Dear All,
Could you please help me to verify correct steps to have ads in our app?
here are steps that i did:

1. create app
2. put adview in my app
3. sign up to: https://apps.admob.com/
4. add app in https://apps.admob.com manually
5. get the ads unit id and put it in our app.

note: i haven't upload the apk in google play. should i upload first? but i want to configure the adview before upload. if it is uploaded, how can i configure the adview?

or what are the correct steps? please help.
your help is very appreciated

best regards
 

wmardian

Member
Licensed User
Longtime User
Dear Erel,
Thank for your respond. I did follow every steps mentioned on the above tutorial, but, there is something that i do not understand.

I use admob 2.x (new version, i download the lib that says it is newer one), and i use B4A 3.2.
On the above tutorial, it says that;
1. Register your app and get an ad unit id (PublisherId). does it mean i should register to https://apps.admob.com or i should register in https://play.google.com/apps/publish?
should i add the apk to the google play first?

i got publiser id from https://apps.admob.com and i also got ad unit id. These two are in different format.

step 2 to 5 already done, but the ads in my phone still does not appear.

thanks for your help. it is very appreciated.
rgds
 
Upvote 0

wmardian

Member
Licensed User
Longtime User
Dear Erel,
how to see the log? is it log in ide? if it is yes, the app has a service module so that usually i run in release mode. it is not connected to debugger window. am i correct?

is the step in number 1 correct?

your help is very appreciated.
Rgds
 
Upvote 0

eps

Expert
Licensed User
Longtime User
Have you got any 'feedback' in the admob control panel? You should see either that the ad is live but no Impressions have been served.. It may be that another part of Admob is pending, such as the payment method or bank account details - I think someone else here had this issue.
 
Upvote 0

wmardian

Member
Licensed User
Longtime User
Dear Erel, eps and all b4A forum user..
Finally this night i see the ads in my app :)

I did not do anything to my code. it seem there is some delay for the ads to show up in my app.
I follow the steps from Erel's tutorial (thanks Erel), and for you who wants to know about step number 1.
- i just sign up to the https://apps.admob.com, i got publisher ID but i still need to add app manually, (just need to enter app name and some detail, without uploading apk to admob nor to the google play). I got ad unit id, and put it in my app.

Thanks
Best Regards
 
Upvote 0
Top