PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
  • 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
The Property ModeTest is used to determine whether the advertisement displayed in the Control Advertisement is a test advertisement..
Example
IF ADV_MyAd.TestMode = False _AND_ ADV_MyAd.AdLoaded = True THEN
NbAdViewed = NbAdViewed + 1
END
Syntax
<Result> = <Ad control>.TestMode
<Result>: Boolean
  • True if the displayed ad is a test ad.
  • False otherwise.
<Ad control>: Control name
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