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
GglAdWGetConversionOptimizerEligibility (Function)
In French: GglAdWListeEligibilitéOptimConversion
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
Used to find out whether Google AdWords campaigns are eligible for using the conversion optimizer.
Example
// Connection to Google
Cnt is gglAdWConnection
Cnt..Email = "vince@gmail.com"
Cnt..Password = "azerty"
Cnt..UserAgent = "MyApp-01"
Cnt..SandboxMode = True
Cnt..ClientEmail = "Client_1+vince@gmail.com"
// Retrieve the eligibility of 2 campaigns
// to the conversion optimizer
Ids is array of strings
Add(Ids, "123")
Add(Ids, "456")
arrEligibility is array of gglAdWConversionOptimizerEligibility
arrEligibility = GglAdWGetConversionOptimizerEligibility(Cnt, Ids)
Trace(arrEligibility[1]..CampaingIdentifier + ": " + arrEligibility[1]..Eligible)
Trace(arrEligibility[2]..CampaingIdentifier + ": " + arrEligibility[2]..Eligible)
Syntax
<Result> = GglAdWGetConversionOptimizerEligibility(<AdWords Connection> , <Identifiers>)
<Result>: Array of gglAdWConversionOptimizerEligibility variables
Name of array of gglAdWConversionOptimizerEligibility variables.
<AdWords Connection>: gglAdWConnection variable
Name of gglAdWConnection variable to use.
<Identifiers>: Array of character strings
Array of character strings containing the identifiers of the campaigns to process.
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 wd160ggl.dll
Windows Mobile wp160ggl.dll
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment