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
GglAdWListAdStats (Function)
In French: GglAdWListeStatistiqueAnnonce
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 list of statistics linked to a set of Google AdWords marketing ads.
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 the statistics for 3 adverts found in group 676
// between 12/25/2008 and 01/01/2009
arrIds is array of 3 strings
arrIds[1] = "111"
arrIds[2] = "222"
arrIds[3] = "258"
Stats is array of gglAdWStatsRecord
Stats = GglAdWListAdStats(Cnt, "676", arrIds, "20081225", "20090101")
Syntax
<Result> = GglAdWListAdStats(<AdWords Connection> , <Identifier of Ad Group> , <Identifiers of Ads> , <Start Day> , <End Day>)
<Result>: Array of gglAdWStatsRecord variables
Name of array of gglAdWStatsRecord variables that will contain the requested statistics.
<AdWords Connection>: gglAdWConnection variable
Name of gglAdWConnection variable to use.
<Identifier of Ad Group>: Unicode character string (with quotes)
Identifier of the ad group for which the statistics must be retrieved.
<Identifiers of Ads>: Array of character strings
Name of array of character strings containing the identifiers of the Google AdWords marketing ads whose statistics will be retrieved.
<Start Day>: DateTime
Start day of interval for which the statistics must be retrieved.
<End Day>: DateTime
End day of interval for which the statistics must 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