PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Operating mode of test mode
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
..TestMode is used to find out whether the ad displayed in the Ad control is a test ad.
Example
IF ADV_MyAd..TestMode = False _AND_ ADV_MyAd..AdLoaded = True THEN
NbAdViewed = NbAdViewed + 1
END
Syntax
<Result> = <Control Name>..TestMode
<Result>: Boolean
  • True if the displayed ad is a test ad.
  • False otherwise.
<Control Name>: Character string (with or without quotes)
Name of the Ad control to use.
Remarks

Operating mode of test mode

AdMob does not allow the application provider to click his own ads or to artificially increase the number of ad displays.
The test mode of Ad control is used to display "fake ads" on which the click triggers no income.
The test mode is automatically:
  • enabled when the application is started on the emulator.
  • disabled at run time on the phone or on the tablet.
Minimum version required
  • Version 17
Comments
Click [Add] to post a comment