PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
  • Operating mode of ads
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
AdLoaded (Property)
In french: PublicitéChargée
ODBCOLE DBAvailable only with these kinds of connection
..AdLoaded is used to find out whether an ad is currently displayed in the Ad control.
Example
IF ADV_MyAd..TestMode = False _AND_ ADV_MyAd..AdLoaded = True THEN
NbAdViewed = NbAdViewed + 1
END
Syntax
<Result> = <Control Name>..AdLoaded
<Result>: Boolean
  • True if an ad is currently displayed in the specified control.
  • False otherwise.
<Control Name>: Character string (with or without quotes)
Name of the Ad control to use.
Remarks

Operating mode of ads

An ad is automatically loaded in the Ad control when the window is opened.
Then, new ads can be regularly loaded in the control according to the refresh rate defined in the setting of the application on the AdMob site.
The ads are loaded in background task from Internet. Therefore, the device must be connected in order for the ads to be displayed. A time-out (few seconds to several minutes) may be required between the opening of the window and the actual display of the first ad. This time-out depends on the quality of the connection and on the size of the ad.
The "Ad loading" and "Load error" processes should be used to check the display of ads in the control.
Minimum required version
  • Version 17
Comments
Click [Add] to post a comment