How do I add ads on my published android app? - android

Hi every one so I published my first app on google play store (without ads) and after adding Ads code snippet on my app (I used AdMob and already linked my app with my google AdMob).
So now should i generate an other APK and publish it on google play console or is there any other method to show ads on my app it's already on google play store (without ads)

Short answer - no, you can't.
You must need an advertising-id set for your ads (which is unique to every ad). You must need to publish an update to your app with new ads.
You won't lose any of your existing users if you release the update, they will just receive an updated app from google play.

Related

Add Android In App Billing after publishing the app

I searched the web for an answer but I don't find any information about if I can add in app purchase after I publish the app in play store in a new update for the application or should I added it from the beginning ?
You can add in app billing to an existing app and I've done so with a few of mine in the past.
A point to note is that you must upload an APK with billing permissions enabled at least into Alpha channel before you can test it.

Admob stop serving ads to my android app after i renamed the app in google play

I simply renamed the app in my google play console and since that day the app is no more generating revenue! i then focused on the analytics and i noticed since the day i renamed the app in google play console, there is no more ads displayed in my app.
I tried to change the name to the old one but ad still not displaying, i also checked adsense account and there is no warning of not respecting rules.
My question is this
After renaming an app in the google play console, is there any other changes i have to make. or how can i fix this.
Ad delivery has nothing to do with anything in Google Play Console. It is solely driven by the AdUnitId you have in your app.
You must have also changed something in your app, or something in your Admob account.

can i use admob without uploading at playstore

It appears to be working but im not sure if playstore will require me in the future to link it by uploading the app to their playstore. Can anyone confirm if i can leave it unlinked? Thanks!
In 2023, you can't monetize your app with admob without publishing it on Google Play Store or any other Admob supported app store.
if you link your app to google play from admob console. then admob will fetch up your apps budle id and other information. Rest will be the same. if one of your application is removed from GP by google in case of ban or suspansion. then it will cause to disable ad-serving to that budle id of the application or if your app gets invalid clicks, ad-serving will also disable by admob to your budle id like com.xxxx.xxxx. Linking your app to google play increase the risks in case something goes wrongly...
You can definitely use Admob without uploading your app to Google Play. The question is why wouldn't you upload your app to Google Play - it is a very large market that you will be missing out on.

How can I test in-app-billing with a non-published app?

I have an Android app that uses In-App-Billing to sell Account Managed Items.
I tested the app with the static response IDs and everything seems to work. I now want to test the app with real product Ids.
I created the app in the Google Play Store and uploaded a draft version of the app with the correct permissions. I now created an In-App-Billing item and published the item.
At the moment the app is unpublished. The item is created and published and I have a test account that is registered in the profile of the developer account and is the only account on the device that I use for testing. The app is signed with the same key as the uploaded draft. Edit:I'm testing with Android 4.1 && 4.03 at the moment
If I try to buy the item the Google Play Store pops up but shows a dialog with the following method: The item you requested is not available for purchase.
How can I test buying the item without publishing the app?
When you test the app, make sure you have exported and correctly signed it (not using debug key). Also make sure that you are using the correct Google account (registered test account) on the device.
Additionally, the registered test account cannot be the developer account.
Apart from this, it should work fine.
Note: Testing your own in-app purchases does require a valid credit card and actual payment.
And finally, it currently takes a few hours for market edits to propagate through the servers and show up.
It may take some time to reflect the changes on google play if you just uploaded the app and added the item there wait for some time near about 2 hr. it will be shown the item you want to purchase.
For others who reach this thread, Now it's not possible to test In-app billing with just a draft version of the app.
Draft Apps are No Longer Supported
Previously, you could publish a "draft" version of your app for testing. This functionality is no longer supported. Instead, there are two ways you can test how a pre-release app functions on the Google Play store:
You can publish an app to the alpha or beta distribution channels. This makes the app available on the Google Play store, but only to the testers you put on a "whitelist".
In a few cases, you can test Google Play functionality with an unpublished app. For example, you can test an unpublished app's in-app billing support by using static responses, special reserved product IDs that always return a specific result (like "purchased" or "refunded").
for details read https://developer.android.com/google/play/billing/billing_testing.html#billing-testing-test
You can test in-app billing by using options, look at this
Edit :
On the link I mentionned, you can see this :
Note: You do not need to publish your application to do end-to-end
testing. You only need to upload your application as a draft
application to perform end-to-end testing.
If you still can not test it, what you can do is to publish it and test it. If you think there might be bugs in your app's in-app billing, refunds are still a solution.
I'm thinking about something, on the dev site, you can see this :
Verify that your device is running a supported version of the Google
Play application or the MyApps application.
On what Android version are you testing on ?
You've to add the products(item sku) in you app product in your play store app account. The SKU you set In-App billine is not available. For testing, set the SKU androidtestpayment. Now you'll now get that error The item you requested is not available for purchase.

sandbox mode on Google Play?

I want to do the process of "publishing" my application to Google Play (android market)
my application is not ready yet, but AdMob demanding it for the registration.
so, I don't want to publish my app yet, although I want to combine AdMob in my app
is there a way to register to google play without really publishing your app?
or, using the adMob SDK without registration to Google Play?
The package field for AdMob registration is optional. You can leave that field blank, and fill it in later when you're ready to publish your application.
You can add your application to Google Play, and there is function Publish, or Unpublish. If you want add but don`t Publish application. When your application will ready, add as other version application.

Categories

Resources