PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Possible error cases:
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
GglAdWListCriterion (Function)
In french: GglAdWListeCritère
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
Lists the criteria associated with a group of Google AdWords ads. These criteria can be "Keyword" criteria or "Web Site" criteria.
Example
// Connect to Google
Cnt is gglAdWConnection
Cnt..Email = "vince@gmail.com"
Cnt..Password = "azerty"
Cnt..UserAgent = "MyApp-01"
Cnt..DeveloperToken = "ABcdeFGH93KL-NOPQ_STUv"
Cnt..ApplicationToken = "ZYXwvu-TSR123_456ABCDE"
Cnt..SandboxMode = True
// Retrieve the criteria for the ad group 127
arrCriteria is array of Variant
arrCriteria = GglAdWListCriterion(Cnt, "127")
Syntax

Retrieving all the criteria for an ad group Hide the details

<Result> = GglAdWListCriterion(<AdWords connection> , <Identifier of ad group>)
<Result>: Array of variants
Array of variants containing the criteria for the ad group. This array can contain the following types of objects:
<AdWords connection>: gglAdWConnection variable
Name of gglAdWConnection variable to use.
<Identifier of ad group>: Unicode character string (with quotes)
Identifier of the Google AdWords ad group whose criteria must be retrieved.

Retrieving some criteria for an ad group Hide the details

<Result> = GglAdWListCriterion(<AdWords connection> , <Identifier of ad group> , <Criteria Identifiers>)
<Result>: Array of variants
Array of variants containing the criteria for the ad group. This array can contain the following types of objects:
<AdWords connection>: gglAdWConnection variable
Name of gglAdWConnection variable to use.
<Identifier of ad group>: Unicode character string (with quotes)
Identifier of the Google AdWords ad group whose criteria must be retrieved.
<Criteria Identifiers>: Array of character strings
Array of character strings containing the identifiers of the criteria to retrieve.
Remarks

Possible error cases:

  • The Internet connection is not valid.
  • The authentication was not performed properly.
  • The XML response of the server cannot be read.
To find out whether an error occurred, use the ErrorOccurred variable.
Component : wd160ggl.dll
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment