AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
  • Operating mode of test mode
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
The TestMode property determines if the Ad control displays a test ad.
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 application providers to click their own ads or increase the number of ads displayed.
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.
Versión mínima requerida
  • Versión 17
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local