PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of gglAdWAdGroupRequest variables
  • Functions that handle the gglAdWAdGroupRequest variables:
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 gglAdWAdGroupRequest type is used to describe the request for an estimate regarding the traffic generated by the keywords associated with a group of AdWords adverts.
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 gglAdWAdGroupRequest variables

The following properties can be used to handle the request for traffic estimate:
Name Type used Effect
MaxCpcIntegerBid for the ad group (in micro-units).

The following rules are used to define the value of MaxCpc that will be taken into account:
  • MaxCpc property of gglAdWKeywordRequest if it exists.
  • MaxCpc property of the keyword if it exists.
  • MaxCpc property of gglAdWAdGroupRequest if it exists.
  • MaxCpc property of the ad group if it exists.
IdentifierCharacter stringIdentifier of the ad group to estimate.

This property must not be specified for a new ad group.
KeywordRequestArray of gglAdWKeywordRequestKeywords to estimate.
  • If the group of adverts is a new group (Identifier not specified), you will only have the ability to use gglAdWKeywordRequest without identifier. Otherwise, an error occurs.
  • If the ad group already exists (Identifier filled), you have the ability to use gglAdWKeywordRequest variables with or without identifier.
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 gglAdWAdGroupRequest variables:

Versions 14 and later
GglAdWEstimateAdGroup
New in version 14
GglAdWEstimateAdGroup
GglAdWEstimateAdGroup
Returns the estimated traffic generated by the keywords 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