Home | Sign in | French EN
  • Properties specific to the description of gglAdWBudgetOptimizerSettings variables
  • Budget optimizer
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Stored procedures
gglAdWBudgetOptimizerSettings (Type of variable)
In french: gglAdWOptimisationBudget (Type de variable)
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 gglAdWBudgetOptimizerSettings type is used to define the optimization of the budget for a Google AdWords campaign. The characteristics of this type can be defined and modified by several WLanguage properties.
This type is used by the gglAdWCampaign variables.
Remark: See Declaring a variable for more details on the declaration of this type of variable and the use of WLanguage properties.
// 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 budget
MyCampaign..BudgetOptimizer..Enabled = True
MyCampaign..BudgetOptimizer..TakeOnOptimizedBids = False
MyCampaign..BudgetOptimizer..BidCeiling = 200000 //2 Euros
// Take the changes on the server into account
GglWrite(Cnt, MyCampaign)

Properties specific to the description of gglAdWBudgetOptimizerSettings variables

The following properties can be used to handle the optimization of the budget for an AdWords advertising campaign:
Name Type used Effect
  • True to replace the initial settings by the optimized settings when disabling the budget optimizer,
  • False otherwise. This property is available in write mode only.
  • True if the budget optimizer is enabled,
  • False otherwise.
BidCeilingIntegerMaximum bid, expressed in micro-units of currency. This value can be used only if the budget optimizer is enabled.
Remark: These properties can be handled by using one of the following syntaxes:
  • <Variable name>..<Property name>
  • <Variable name>.<Property name>

Budget optimizer

The use of budget optimizer is not compatible with the use of ad scheduler. To specify intervals for ad scheduling, the budget optimizer must be disabled.
Minimum version required
  • Version 14
This page is also available for…
Click [Add] to post a comment