PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of gglAdWCampaignRequest variables
  • Functions that use the gglAdWCampaignRequest 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
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 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.
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..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)
Remarks

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.
Note: 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
GglAdWEstimateCampaign
New in version 14
GglAdWEstimateCampaign
GglAdWEstimateCampaign
Returns the estimated traffic generated by the keywords found in a set of Google AdWords advertising campaigns.
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment