Home | Sign in | French EN
  • Properties specific to the description of gglAdWCampaignRequest variables
  • Functions that use the gglAdWCampaignRequest type
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Stored procedures
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 gglAdWCampaignRequest type is used to describe the request for estimate regarding the traffic generated by the keywords associated with an AdWords advertising campaign.

The characteristics of this type can be defined and modified by several WLanguage properties.
Remark: See Declaring a variable for more details on the declaration of this type of variable and the use of WLanguage properties.
// Connection to Google
Cnt is gglAdWConnection
Cnt..Email = "vince@gmail.com"
Cnt..Password = "azerty"
Cnt..UserAgent = "MyApp-01"
Cnt..SandboxMode = True

// Request for estimate
MyCampaign is gglAdWCampaignRequest
MyCampaign..Identifier = "789456"
MyCampaign..LanguageTargeting = "en"

MyGroup is gglAdWAdGroupRequest
MyGroup..Identifier = "123456"
MyKeyword is gglAdWKeywordRequest
MyKeyword..Identifier = "321654"

Add(MyGroup..KeywordRequest, MyKeyword)
Add(MyCampaign..AdGroupRequest, MyGroup)

arrCampaign is array of gglAdWCampaignRequest
Add(arrCampaign, MyCampaign)

Estimate is array of gglAdWCampaignEstimate
Estimate = GglAdWEstimateCampaign(Cnt, arrCampaign)

Properties specific to the description of gglAdWCampaignRequest variables

The following properties can be used to handle the request for traffic estimate:
Name Type used Effect
LanguageTargetinggglAdWLanguageTargetingData of language targeting for the campaign.
NetworkTargetinggglAdWNetworkTargetingData of network targeting for the campaign.
GeoTargetinggglAdWGeoTargetData of geographical targeting.
  • If this information is not specified, the data of geographical targeting for the campaign will be used.
  • Ig the identifier of the campaign is not specified, the data of global targeting will be used.
IdentifierCharacter stringIdentifier of the advertising campaign to estimate.
This property must not be specified for a new campaign.
AdGroupRequestArray of gglAdWAdGroupRequestAd groups to estimate.
  • If the campaign is a new campaign (Identifier not specified), you only have the ability to use gglAdWAdGroupRequest variables without identifier. Otherwise, an error occurs.
  • If the campaign already exists (Identifier specified), you have the ability to use gglAdWAdGroupRequest with or without identifier.
  • If the campaign exists and if it contains more ad groups than the listed ones, the additional ad groups will be included in the estimate process but not in the results of the estimate.
Remark: These properties can be handled by using one of the following syntaxes:
  • <Variable name>..<Property name>
  • <Variable name>.<Property name>

Functions that use the gglAdWCampaignRequest type

Versions 14 and later
New in version 14
Returns the estimated traffic generated by the keywords found in a set of Google AdWords advertising campaigns.
Minimum version required
  • Version 14
This page is also available for…
Click [Add] to post a comment