ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Ad control
  • Use conditions
  • 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/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Use conditions
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, ...). For more details, see https://support.google.com/admob/bin/answer.py?hl=fr&answer=1307237&topic=1307235&ctx=topic
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. Enter the application details:
    • 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.
    Ad group ID
    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.
Remark: An error while loading AdMob can occur as long as the ad group is not available yet. This operation can take several hours.
Minimum version required
  • Version 17
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help