PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of gglAdWSiteKeywordGroup variables
  • Functions that use the gglAdWSiteKeyword 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
gglAdWSiteKeywordGroup (Type of variable)
In French: gglAdWGroupeMotCléSite (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 gglAdWSiteKeywordGroup type encapsulates the different groups of keywords associated with a site. A group is a collection of keywords that contains a common keyword. For example, the "Towel" group would contain the following keywords: "Bath towel", "Beach towel"and "Paper towel".
The characteristics of this type can be retrieved by several WLanguage properties.
Note: See Declaring a variable for more details.
Example
// Connection to Google AdWords
Cnt is gglAdWConnection
Cnt..Email = "vince@gmail.com"
Cnt..Password = "azerty"
Cnt..UserAgent = "MyApp-01"
Cnt..SandboxMode = True
MyLanguages is array of strings
Add(MyLanguages, "fr-fr")
MyCountries is array of strings
Add(MyCountries, "FR")
KeywordGroup is gglAdWSiteKeywordGroup
KeywordGroup = GglAdWGetKeywordsFromSite(Cnt, "www.pcsoft.fr", False, MyLanguages, MyCountries)
Word is gglAdWSiteKeyword
FOR EACH Word OF KeywordGroup..Keyword
        Trace(Word..Text)
END
Remarks

Properties specific to the description of gglAdWSiteKeywordGroup variables

The following properties can be used to handle a group of keywords associated with a site:
NameType used Effect
GroupCharacter stringName of the groups of keywords for which the results are given. The groups are separated by CR characters and classified in descending pertinence order.
This property is available in read-only.
KeywordArray of gglAdWSiteKeywordSuggestions of keywords. Each keyword is associated with a group of keywords. The group of keywords can be retrieved via the GroupIdentifier property of the gglAdWSiteKeyword variable.
Keyword[n]..GroupIdentifierCharacter stringPosition of the group to which the keyword belongs in the list of groups of keywords (..Group property of the gglAdWSiteKeywordGroup type).

This property is available in read-only
Keyword[n]..AdvertiserCompetitionScaleIntegerLevel of competition between the advertisers for the keyword on a scale from 0 to 5. If this information is not available, this property corresponds to -1.

This property is available in read-only
Keyword[n]..SearchVolumeScaleIntegerVolume of searches performed for this keyword on a scale from 0 to 5. If this information is not available, this property corresponds to -1.

This property is available in read-only
Keyword[n]..TextCharacter stringKeyword.

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 gglAdWSiteKeyword variables:

Versions 14 and later
GglAdWGetKeywordsFromSite
New in version 14
GglAdWGetKeywordsFromSite
GglAdWGetKeywordsFromSite
Retrieves the keyword suggestions linked to the content of a Web page. This function is using the keyword generator of Google AdWords.
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment