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
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
Returns the estimated traffic generated by the keywords found in a set of Google AdWords advertising campaigns.
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 = 32165

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)
Syntax
<Result> = GglAdWEstimateCampaign(<AdWords Connection> , <Advertising Campaign>)
<Result>: Array of gglAdWCampaignEstimate variables
Name of array of gglAdWCampaignEstimate containing the estimated traffic for the Google AdWords campaigns.
<AdWords Connection>: gglAdWConnection variable
Name of gglAdWConnection variable to use.
<Advertising Campaign>: Array of gglAdWCampaignRequest variables
Name of array of gglAdWCampaignRequest variables corresponding to the advertising campaigns to estimate.
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 wd230ggl.dll
Windows Mobile wp230ggl.dll
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment