PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of gglAdWConversionOptimizerSettings 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
gglAdWConversionOptimizerSettings (Type of variable)
In French: gglAdWOptimisationConversion (Type de variable)
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 gglAdWConversionOptimizerSettings type is used to define the optimization of conversion for the adverts of a Google AdWords advertising campaign. The characteristics of this type can be defined and modified by several WLanguage properties.
This type of variable is used by the gglAdWCampaign type.
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

// Retrieve a campaign
MyCampaign = GglAdWGetCampaign(Cnt, 152)
// Modify the settings for optimizing the conversion
MyCampaign..ConversionOptimizer..Enabled = True
MyCampaign..ConversionOptimizer..MaxCpaBidForAllAdGroups = 200000 //2 Euros
// Take the changes on the server into account
GglWrite(Cnt, MyCampaign)
Remarks

Properties specific to the description of gglAdWConversionOptimizerSettings variables

The following properties can be used to handle the conversion optimizer for the ads of an AdWords advertising campaign:
Name Type used Effect
EnabledBoolean
  • True if the conversion optimizer is enabled,
  • False otherwise.
MaxCpaBidForAllAdGroupsIntegerDefines the maximum cost allowed per action for all the groups of the campaign. This cost is expressed in micro-units of currency. This property is available in write mode only.
This value can be used only if the conversion optimizer is enabled.
Note: These properties can be handled by using one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment