PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Use conditions
  • Including the Android AdMob SDK in the application
  • AdMob identifier of the ad group
  • Overview
  • Registering the application on the AdMob site
  • Entering the identifier in the generation wizard
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Use conditions
The Ad control is using the AdMob SDK.
When generating the Android application, you must:
The Ad control is using the Google Play Service library of Android.
In order to use an Ad control, you must:
Caution: The display of AdMob ads in an application must comply with specific rules (number of ads visible at the same time, location of ads, ...). See https://support.google.com/admob/bin/answer.py?hl=fr&answer=1307237&topic=1307235&ctx=topic for more details
Including the Android AdMob SDK in the application
To include the Android AdMob SDK in the application:
  1. Download the AdMob SDK from the following address: https://developers.google.com/mobile-ads-sdk/download?hl=fr#downloadandroid.
  2. Decompress the downloaded zip file.
  3. In the generation wizard, specify the path of ".jar" file corresponding to the AdMob SDK.
Path of
AdMob identifier of the ad group

Overview

To be able to display ads in the Ad control, an ad group must be defined on the "AdMob" site in order to define the type of ads to get. During this registering, an identifier is associated with the ad group. This identifier must be specified in the wizard for generating the Android application.

Registering the application on the AdMob site

Caution: These operations are given for information only. The interface may have been modified since this document was written. The interface used in this documentation page corresponds to the interface available in January 2014 (new Google AdMob interface).
To register a new Android application on AdMob:
  1. Connect to the AdMob site: http://fr.admob.com/ (a Google or AdMob account is required).
  2. Create an AdMob account if necessary.
  3. When the account is created, you have the ability to add your site or application.
  4. Specify, if needed, the information required for the payment.
  5. In the home page, click "Monetize" or the "Monetize a new application" button.
    AdMob configuration
  6. Select or create the application to monetize.
    Select or create the application to monetize
    You can:
    • Find an existing application.
    • Add an application manually.
  7. Specify the information regarding the application:
    • the application name. This name can differ from the final name of your application.
    • the application platform: Android
  8. An ad can be created once your application is validated.
    Create an ad
  9. The identifier of the ad block is supplied once the ad group is validated.
    Identifier of ad group
    This identifier must be entered in the wizard for creating the Android application.

Entering the identifier in the generation wizard

In the wizard for generating the Android application, specify the identifier of the ad block.
Note: An error while loading AdMob can occur as long as the ad group is not available yet. This operation can take several hours.
Minimum required version
  • Version 17
Comments
Click [Add] to post a comment