PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of gglAdWBudgetOptimizerSettings variables
  • Budget optimizer
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
gglAdWBudgetOptimizerSettings (Type of variable)
In French: gglAdWOptimisationBudget (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 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.
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 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)
Remarks

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
TakeOnOptimizedBidsBoolean
  • 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.
EnabledBoolean
  • 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.
Note: 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 required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment