PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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
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
Retrieves the data found in a set of Google AdWords ad groups.
Example
// Connection 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 several ad groups
arrIds is array of 3 strings
arrIds[1] = "123456"
arrIds[2] = "987654"
arrIds[3] = "555666"
MyGroups is array of gglAdWAdGroup
// Retrieve the ad groups
MyGroups = GglAdWListAdGroup(Cnt, arrIds)

// Retrieve the ad groups for campaign 1928
MyGroups = GglAdWListAdGroup(Cnt, "1928")
Syntax

Retrieving the data found in several ad groups Hide the details

<Result> = GglAdWListAdGroup(<AdWords Connection> , <Identifiers of Ad Groups>)
<Result>: Array of gglAdWAdGroup variables
Name of array of gglAdWAdGroup containing the characteristics of ad groups to retrieve.
<AdWords Connection>: gglAdWConnection variable
Name of gglAdWConnection variable to use.
<Identifiers of Ad Groups>: Array of character strings
Name of array of character strings containing the identifiers of the Google AdWords ad groups to retrieve.

Retrieving the data found in an ad group identified by its campaign Hide the details

<Result> = GglAdWListAdGroup(<AdWords Connection> , <Campaign Identifier>)
<Result>: Array of gglAdWAdGroup variables
Name of array of gglAdWAdGroup containing the characteristics of ad groups to retrieve.
<AdWords Connection>: gglAdWConnection variable
Name of gglAdWConnection variable to use.
<Campaign Identifier>: Unicode character string (with quotes)
Identifier of the Google AdWord campaign for which the ad groups will be retrieved.
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.
Components
WINDEVWEBDEV - Server code wd160ggl.dll
Windows Mobile wp160ggl.dll
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment