Go to AdMob Home, Click on Get Started or SignUp. If you have already created an AdMob account earlier, do not create a new account instead login with that account.
If you access this link in a browser where you have already login with a Google account you will receive this screen. Where they ask you to verify your account click Next .
Now, your ad unit is created sucessfully. You will find appId & adUnit id. Copy these id somewhere in notepad and save this. You can use the app id while creating your extension for manifest requirement for the application. And you can use ad unit id in the respective format extension.
Where do I find my app id and AdMob ad unit id ?
I've found most user are confused on AdMob app id & ad unit id. AppId and ad unit id are different. You should use your app id when you are building your own extension from Niotron IDE & you should use ad unit id in your respective ad extensions for banner, interstitial and all.
Click the name of the app associated with the ad unit. Note: If you don't see it in the list of recent apps, click View all apps. Then, click the name of the app.
Click Ad units in the sidebar.
Click the icon in the Ad unit ID column to copy the ID of an ad unit.
How to enable test ads ?
It's important to enable test ads during development so that you can click on them without charging Google advertisers. If you click on too many ads without being in test mode, you risk your account being flagged for invalid activity.
In every format extension ie, AdmobBanner, AdmobInterstitial, AdmobRewarded etc you will find TestMode checkbox on their properties. You should check the checkbox in order to enable test ads.
Or,
Click on settings on AdMob and click on Test Devices
Add device name, platform and advertising id and save the device. To find an advertising id, Go on your Android Setting, Find & Click on Google, then Click on Ads. Find More.
This extension will not work on companion as companion application doesn't have required manifest for the extension to work. You should always build the application to check if it is working or not. So, I will suggest you to complete your application and use this extension after.
Ads are only showing on test mode, When I put my own ad unit id, It doesn't show ads, Why?
Many users have complained that this extension is not able to show their ads with their ad unit id. First of all, you should be sure if you haven't violated any of the AdMob policies and your AdMob is allowed to serve the ads. You should be sure that you have followed all the steps from documentation properly. Some users use ad-unit as app-unit or vice-versa. Make sure your are not that user and have used appId(which contains ~) while creating extension in Niotron IDE as suggested & adUnitId(which contains /) properly in Admob Banner, Interstitial or Rewarded ad extension.
Secondly, If your ad is failed to load then get the failure message from AdFailedToLoad method. If the failure message is no-ad-config then you can check a FAQ on this documented after this FAQ. You can reply this post if you got any trouble.
Ad loading failed with an error 'No Ad Config', How to fix?
Most users get this message after they completed all the steps on documentation,
{
"Code": 3,
"Message": "No ad config.",
"Domain": "com.google.android.gms.ads",
"Cause": "null",
"Response Info": {
"Response ID": "null",
"Mediation Adapter Class Name": "",
"Adapter Responses": []
}
}
You don't need to worry about this. If the app is not published on Play Store then first make sure you have followed steps properly then you can publish your app and wait few days.
Also, Kindly ensure that the following conditions are fulfilled in order to maximize the chances of receiving ads from the AdMob SDK:
Copied from Google Groups, See
Fully complete the setup of your AdMob account, particularly the billing and PIN verification sections.
Link your app to your AdMob account; you may have to wait for a week or two after publishing an app in order to do this.
You may also refer to common reason for ads not showing for additional scenarios, as well as the fixes for those. Also, you may also reach out to the AdMob Help Center for further assistance on such ad-serving concerns.
I've explained this on FAQs. This is because your adUnit is not able to serve ads now. Publish your application on PlayStore, register that app on your AdMob and wait for a few days.
Also, you should not test the real ads on your own device. You can use the second method on How to enable test ads? of FAQs to enable test ads for your device.
Make sure you have used the correct ad ids and app id. If you are coming from the TheCodingBus youtube video on AdMob, then he has done some mistake there, he has used AdUnit instead of AppId while creating an extension.
How to create an application Id & Ad Unit Id ?
Click on Apps on SideBar and then click on Add Your First App .
Now, your ad unit is created sucessfully. You will find appId & adUnit id. Copy these id somewhere in notepad and save this. You can use the app id while creating your extension for manifest requirement for the application. And you can use ad unit id in the respective format extension.
Where do I find my app id and AdMob ad unit id ?
I've found most user are confused on AdMob app id & ad unit id. AppId and ad unit id are different. You should use your app id when you are building your own extension from Niotron IDE & you should use ad unit id in your respective ad extensions for banner, interstitial and all.
Click the name of the app associated with the ad unit. Note: If you don't see it in the list of recent apps, click View all apps. Then, click the name of the app.
Click Ad units in the sidebar.
Click the icon in the Ad unit ID column to copy the ID of an ad unit.
Click Create a new Business Manager account and fill out the required fields with your business details.
Once you've filled out the required information, you'll be prompted to create a property for your app. Enter the desired name of the property for your app and click. Then Go to Monetization Manager .
Indicate whether or not your app is live and click Submit . Then, You will be prompted to create an ad placement for your application. Select a format, fill out the form and click Next .
Note property id after &property_id= to &ref= . For this link above, 631234567890471 is my property id. Note the property id.
Step 2 : Create a new Mediation Group
First, You should create an application on AdMob and create all placements you have made on Monetization Manager. Please check FAQs at end of documentation if you don't know how to create application id and ad unit id.
Now tap on Mediation >> Mediation Groups and click on Create Mediation Group
Enter the ad format, for example if you have created 2 placements, one banner and one interstitial in Montization manager, we will create for banner first then interstitial.
Give your mediation group a name, and select locations to target. Next, set the mediation group status to Enabled. Then click Add Ad Units, which will open up the ad unit selection overlay.
Then on Waterfall, Click on Add ad source, Select Facebook Audience Network, then add manual cpm for example 1$ , Continue and add placement id, system access token and property id that we have noted on Step 1.
You should download FacebookBidding extension, and just drag and drop that extension to Screen. This extension doesn't contain any methods. You must use AdMob Sdk extension and that extension we created on Niotron IDE to put app id on manifest. And if you want to show facebook banner ad, you can download banner ad extension from above. You should use ad unit id of that AdmobApp we mediate our facebook on.
Fill out the form and click Create at the bottom of the page to add your app to AdColony.
Once your app is created you can obtain your App ID by navigating to Monetization > Apps under your app's Basic App Information section.
Next, create a new Ad Zone by clicking the Setup New Ad Zone button in the Ad Zones section of your App's page. We recommend creating a new Ad Zone for mediation with AdMob even if you already have one.
Set Zone is Active? to Yes and Enter a Name for your AdZone.
For Banner, Choose Banner as the Ad Zone Size.
Enter a value for the Daily play cap.
Click the Create button when finished to create the Ad Zone. Note your AdZone and app id in notepad. It will be used on further steps.
Now, Go to Settings and note the Read-Only API key in notepad. It will be used on further steps.
Enter your ad format and platform, then click Continue.
Give your mediation group a name, and select locations to target. Next, set the mediation group status to Enabled. Then click Add Ad Units, which will open up the ad unit selection overlay.
Associate this mediation group with your existing AdMob ad unit. Then click Done.
I've added all the required libraries for showing AdColony ads in this extension. You just need to download, drag and drop the extension to the screen. This extension doesn't contain any methods.
Anyone of you can tell what to do when ad is clicked? When ad will be clicked what will be happened?
If someone click the ad then the website which is in the ad should be opened in external browser? How to do it?
Let me ask you another question that if someone click on ad the where that advertised website will open? In the app? or outside the app? and what if I want that the ad when clicked the advertised website will open externally?
OK, but in my case when I click the ad the content is opening in an external browser. Anyways thank You so much.
It's perfectly working. Now I have the last question the admob App ID extensionn is created and imported in the project but nothing is done with that. How admob will recognize the app id?
The only purpose of AppId Extension which user has to create is to add your AdMob app id to your app's AndroidManifest.xml file.
When you drag and drop the extension to the screen and compile the application, it will add following in your AndroidManifest.xml file of your app.
<manifest>
<application>
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyy"/>
<!-- There will be your app id in android:value on format above -->
</application>
</manifest>
Also, If you have already drag and dropped this extension on your first screen, you don't need to drag and drop the extension on other screens.
Hello
I hope to help me solve this problem
Test ad is showing properly in my device but there is no real ads in other devices
I have uploaded the app on galaxy store
Your app is ready to server ads. You have 12 request of ads if you see in Ads activity performance which means your app has requested 12 times to show an ad. Most of time, request depends upon userbase of the app and number of time ad is refreshed. So, it may show ad after your app get some more downloads if you have integrated properly. You can send me application or aia in private message to check if you have integrated extension properly or not.
I'm used to blocks from advantage.co as an attachment; I am seeing that this adcolony page and I see that you have shared those captures to formalize the publicity, I see that you have published the aix connector... what I would be missing is knowing the assembly of blocks, the question is that the assembly of the type block is useful to me chance to configure can I use the same?