PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of gglAdWStatsRecord variables
  • Functions that handle the gglAdWStatsRecord type
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
gglAdWStatsRecord (Type of variable)
In French: gglAdWStatistique (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 gglAdWStatsRecord type is used to describe the statistical data linked to a Google AdWords object: group, campaign, ad, ... The characteristics of these statistics are returned by 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..DeveloperToken = "ABcdeFGH93KL-NOPQ_STUv"
Cnt..ApplicationToken = "ZYXwvu-TSR123_456ABCDE"
Cnt..SandboxMode = True
Cnt..ClientEmail = "Client_1+vince@gmail.com"
// Retrieve the statistics for 3 ad groups of the campaign 1928
// between 12/25/2008 and 01/01/2009
arrIds is array of 3 strings
arrIds[1] = "123456"
arrIds[2] = "987654"
arrIds[3] = "555666"
Stats is array of gglAdWStatsRecord
Stats = GglAdWListGroupStats(Cnt, "1928", arrIds, "20081225", "20090101")
Remarks

Properties specific to the description of gglAdWStatsRecord variables

The following properties can be used to handle the statistical data:
NameType usedEffect
CostIntegerTotal cost induced. This property is available in read-only.
IdentifierCharacter stringIdentifier of the element used (group, campaign, ad). This property is available in read-only.
NbImpressionIntegerNumber of times the element was displayed. This property is available in read-only.
NbClickIntegerNumber of times the element was clicked. This property is available in read-only.
NbConversionIntegerNumber of clicks actually converted for the element. This property is available in read-only.
AveragePositionRealAverage position for the display of the element. This property is available in read-only.
ConversionRateRealConversion ratio on the convertible clicks for the element. 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 handle the gglAdWStatsRecord type

Versions 14 and later
GglAdWListAdStats
New in version 14
GglAdWListAdStats
GglAdWListAdStats
Retrieves the list of statistics linked to a set of Google AdWords marketing ads.
Versions 14 and later
GglAdWListCampaignStats
New in version 14
GglAdWListCampaignStats
GglAdWListCampaignStats
Retrieves the existing statistics for a set of Google AdWords marketing campaigns.
Versions 14 and later
GglAdWListCriterionStats
New in version 14
GglAdWListCriterionStats
GglAdWListCriterionStats
Retrieves the statistics regarding a set of criteria linked to a group of Google AdWords ads.
Versions 14 and later
GglAdWListGroupStats
New in version 14
GglAdWListGroupStats
GglAdWListGroupStats
Retrieves the existing statistics for a set of groups of Google AdWords ads.
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment