PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of gglAdWSiteSuggestion variables
  • Functions that use the gglAdWSiteSuggestion variables:
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
gglAdWSiteSuggestion (Type of variable)
In French: gglAdWSuggestionSite (Type de variable)
Warning
From version 17, this feature is not available anymore. To use Google AdWords, see the corresponding Google API: https://developers.google.com/adwords/api/docs/guides/start
The gglAdWSiteSuggestion type represents the suggestions made by the "Google AdWords Site Suggestion" service. This service corresponds to the tool for location targeting proposed by the interface of Google AdWords.
The characteristics of this type are available in read-only and they can be identified via several WLanguage properties.
Note: See Declaring a variable for more details.
Example
// Connection to Google
Cnt is gglAdWConnection
Cnt..Email = "vince@gmail.com"
Cnt..Password = "azerty"
Cnt..UserAgent = "MyApp-01"
Cnt..SandboxMode = True
// Retrieve the site suggestions
MyGeoTargeting is gglAdWLanguageGeoTargeting
MyGeoTargeting..Language = "FR"
MyDemoTargeting is gglAdWDemographicsTarget
MyDemoTargeting..Gender = "MaleOnly"
arrSuggestion is array of gglAdWSiteSuggestion
arrSuggestion = GglAdWListSiteByDemographics(Cnt, MyDemoTargeting, MyGeoTargeting)
Remarks

Properties specific to the description of gglAdWSiteSuggestion variables

The following properties can be used to handle a suggestion of Web site:
Name Type used Effect
AcceptImageAdsBoolean
  • True if the suggested site accepts the image ads,
  • False otherwise.
This property is available in read-only.
AcceptTextAdsBoolean
  • True if the suggested site accepts the text ads,
  • False otherwise.
This property is available in read-only.
AcceptVideoAdsBoolean
  • True if the suggested site accepts the video ads,
  • False otherwise.
This property is available in read-only.
NbImpressionsPerDayIntegerApproximate number of impressions per day (which means the number of times an ad was diffused to the site visitors during one day).
This property is available in read-only.
URLCharacter stringURL of the suggested site.
This property is available in read-only.
Note: These properties can be handled by using one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>

Functions that use the gglAdWSiteSuggestion variables:

Versions 14 and later
GglAdWListSiteByCategory
New in version 14
GglAdWListSiteByCategory
GglAdWListSiteByCategory
Lists the suggestions of Web sites corresponding to the specified categories.
Versions 14 and later
GglAdWListSiteByDemographics
GglAdWListSiteByDemographics
Lists the site suggestions corresponding to the specified demographics criteria. Then, you will be able to position the Google AdWords ads on these sites.
Versions 14 and later
GglAdWListSiteByTopic
New in version 14
GglAdWListSiteByTopic
GglAdWListSiteByTopic
Lists the suggestions of Web sites corresponding to the specified topics.
Versions 14 and later
GglAdWListSiteByURL
New in version 14
GglAdWListSiteByURL
GglAdWListSiteByURL
Lists the suggestions of Web sites corresponding to the specified URLs.
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment