update: TextCampaign parameters
Request structure in JSON format:
{
"method": "update",
"params": {
"Campaigns": [{ /* CampaignUpdateItem */
...
"TextCampaign": { /* TextCampaignUpdateItem */
"BiddingStrategy": { /* TextCampaignStrategy */
"Search": { /* TextCampaignSearchStrategy */
"BiddingStrategyType": ( "AVERAGE_CPA" | ... | "WEEKLY_CLICK_PACKAGE" ), /* required */
"PlacementTypes" : {
"SearchResults" : ( "YES" | "NO" ),
"ProductGallery" : ( "YES" | "NO" ),
"DynamicPlaces" : ( "YES" | "NO" )
},
"WbMaximumClicks": { /* StrategyMaximumClicks */
"WeeklySpendLimit": (long),
"BidCeiling": (long), /* nillable */
"CustomPeriodBudget": { /* nillable */
"SpendLimit": (long),
"StartDate": (string),
"EndDate": (string),
"AutoContinue": ("YES" | "NO")
}
},
"WbMaximumConversionRate": { /* StrategyMaximumConversionRate */
"WeeklySpendLimit": (long),
"BidCeiling": (long), /* nillable */
"GoalId": (long),
"CustomPeriodBudget": { /* nillable */
"SpendLimit": (long),
"StartDate": (string),
"EndDate": (string),
"AutoContinue": ("YES" | "NO")
}
},
"AverageCpc": { /* StrategyAverageCpc */
"AverageCpc": (long),
"WeeklySpendLimit": (long), /* nillable */
"CustomPeriodBudget": { /* nillable */
"SpendLimit": (long),
"StartDate": (string),
"EndDate": (string),
"AutoContinue": ("YES" | "NO")
},
"BudgetType": ("WEEKLY_BUDGET" | "CUSTOM_PERIOD_BUDGET") /* nillable */,
},
"AverageCpa": { /* StrategyAverageCpa */
"AverageCpa": (long),
"GoalId": (long),
"WeeklySpendLimit": (long), /* nillable */
"CustomPeriodBudget": { /* nillable */
"SpendLimit": (long),
"StartDate": (string),
"EndDate": (string),
"AutoContinue": ("YES" | "NO")
},
"BudgetType": ("WEEKLY_BUDGET" | "CUSTOM_PERIOD_BUDGET") /* nillable */,
"BidCeiling": (long), /* nillable */
"ExplorationBudget" : { /* nillable */
"MinimumExplorationBudget" : (long) /* required */,
"IsMinimumExplorationBudgetCustom" : ("YES") /* required */
}
},
"AverageCpaMultipleGoals": { /* StrategyAverageCpaMultipleGoals */
"WeeklySpendLimit": (long), /* nillable */
"BidCeiling": (long), /* nillable */
"CustomPeriodBudget": { /* nillable */
"SpendLimit": (long),
"StartDate": (string),
"EndDate": (string),
"AutoContinue": ("YES" | "NO")
},
"ExplorationBudget" : {
"MinimumExplorationBudget" : (long) /* required */,
"IsMinimumExplorationBudgetCustom" : ("YES"| "NO") /* required */
}
},
"WeeklyClickPackage": { /* StrategyWeeklyClickPackage */
"ClicksPerWeek": (long),
"AverageCpc": (long), /* nillable */
"BidCeiling": (long) /* nillable */
},
"AverageRoi": { /* StrategyAverageRoi */
"ReserveReturn": (int),
"RoiCoef": (long),
"GoalId": (long),
"WeeklySpendLimit": (long), /* nillable */
"CustomPeriodBudget": { /* nillable */
"SpendLimit": (long),
"StartDate": (string),
"EndDate": (string),
"AutoContinue": ("YES" | "NO")
},
"BudgetType": ("WEEKLY_BUDGET" | "CUSTOM_PERIOD_BUDGET") /* nillable */,
"BidCeiling": (long), /* nillable */
"Profitability": (long), /* nillable */
"ExplorationBudget" : { /* nillable */
"MinimumExplorationBudget" : (long) /* required */,
"IsMinimumExplorationBudgetCustom" : ("YES") /* required */
}
},
"AverageCrr": { /* StrategyAverageCrr */
"Crr": (int),
"GoalId": (long),
"WeeklySpendLimit": (long), /* nillable */
"CustomPeriodBudget": { /* nillable */
"SpendLimit": (long),
"StartDate": (string),
"EndDate": (string),
"AutoContinue": ("YES" | "NO")
},
"BudgetType": ("WEEKLY_BUDGET" | "CUSTOM_PERIOD_BUDGET") /* nillable */,
"ExplorationBudget" : { /* nillable */
"MinimumExplorationBudget" : (long) /* required */,
"IsMinimumExplorationBudgetCustom" : ("YES") /* required */
}
},
"PayForConversionCrr": { /* StrategyPayForConversionCrr */
"Crr": (int),
"GoalId": (long),
"WeeklySpendLimit": (long), /* nillable */
"CustomPeriodBudget": { /* nillable */
"SpendLimit": (long),
"StartDate": (string),
"EndDate": (string),
"AutoContinue": ("YES" | "NO")
},
"BudgetType": ("WEEKLY_BUDGET" | "CUSTOM_PERIOD_BUDGET") /* nillable */,
},
"PayForConversion" : { /* StrategyPayForConversion */
"Cpa" : (long),
"GoalId" : (long),
"WeeklySpendLimit" : (long), /* nillable */
"CustomPeriodBudget": { /* nillable */
"SpendLimit": (long),
"StartDate": (string),
"EndDate": (string),
"AutoContinue": ("YES" | "NO")
},
"BudgetType": ("WEEKLY_BUDGET" | "CUSTOM_PERIOD_BUDGET") /* nillable */,
},
"PayForConversionMultipleGoals" : { /* StrategyPayForConversionMultipleGoals */
"WeeklySpendLimit" : (long) /* nillable */
"CustomPeriodBudget": { /* nillable */
"SpendLimit": (long),
"StartDate": (string),
"EndDate": (string),
"AutoContinue": ("YES" | "NO")
}
}
},
"Network": { /* TextCampaignNetworkStrategy */
"BiddingStrategyType": ( "AVERAGE_CPA" | ... | "WEEKLY_CLICK_PACKAGE" ), /* required */
"NetworkDefault": { /* StrategyNetworkDefault */
"LimitPercent": (int)
},
"WbMaximumClicks": { /* StrategyMaximumClicks */
"WeeklySpendLimit": (long),
"BidCeiling": (long), /* nillable */
"CustomPeriodBudget": { /* nillable */
"SpendLimit": (long),
"StartDate": (string),
"EndDate": (string),
"AutoContinue": ("YES" | "NO")
},
},
"WbMaximumConversionRate": { /* StrategyMaximumConversionRate */
"WeeklySpendLimit": (long),
"BidCeiling": (long), /* nillable */
"GoalId": (long),
"CustomPeriodBudget": { /* nillable */
"SpendLimit": (long),
"StartDate": (string),
"EndDate": (string),
"AutoContinue": ("YES" | "NO")
},
},
"AverageCpc": { /* StrategyAverageCpc */
"AverageCpc": (long),
"WeeklySpendLimit": (long), /* nillable */
"CustomPeriodBudget": { /* nillable */
"SpendLimit": (long),
"StartDate": (string),
"EndDate": (string),
"AutoContinue": ("YES" | "NO")
},
"BudgetType": ("WEEKLY_BUDGET" | "CUSTOM_PERIOD_BUDGET") /* nillable */,
},
"AverageCpa": { /* StrategyAverageCpa */
"AverageCpa": (long),
"GoalId": (long),
"WeeklySpendLimit": (long), /* nillable */
"CustomPeriodBudget": { /* nillable */
"SpendLimit": (long),
"StartDate": (string),
"EndDate": (string),
"AutoContinue": ("YES" | "NO")
},
"BudgetType": ("WEEKLY_BUDGET" | "CUSTOM_PERIOD_BUDGET") /* nillable */,
"BidCeiling": (long), /* nillable */
"ExplorationBudget" : { /* nillable */
"MinimumExplorationBudget" : (long) /* required */,
"IsMinimumExplorationBudgetCustom" : ("YES") /* required */
}
},
"AverageCpaMultipleGoals": { /* StrategyAverageCpaMultipleGoals */
"WeeklySpendLimit": (long), /* nillable */
"BidCeiling": (long), /* nillable */
"CustomPeriodBudget": { /* nillable */
"SpendLimit": (long),
"StartDate": (string),
"EndDate": (string),
"AutoContinue": ("YES" | "NO")
},
"ExplorationBudget" : {
"MinimumExplorationBudget" : (long) /* required */,
"IsMinimumExplorationBudgetCustom" : ("YES"| "NO") /* required */
}
},
"WeeklyClickPackage": { /* StrategyWeeklyClickPackage */
"ClicksPerWeek": (long),
"AverageCpc": (long), /* nillable */
"BidCeiling": (long) /* nillable */
},
"AverageRoi": { /* StrategyAverageRoi */
"ReserveReturn": (int),
"RoiCoef": (long),
"GoalId": (long),
"WeeklySpendLimit": (long), /* nillable */
"CustomPeriodBudget": { /* nillable */
"SpendLimit": (long),
"StartDate": (string),
"EndDate": (string),
"AutoContinue": ("YES" | "NO")
},
"BudgetType": ("WEEKLY_BUDGET" | "CUSTOM_PERIOD_BUDGET") /* nillable */,
"BidCeiling": (long), /* nillable */
"Profitability": (long), /* nillable */
"ExplorationBudget" : { /* nillable */
"MinimumExplorationBudget" : (long) /* required */,
"IsMinimumExplorationBudgetCustom" : ("YES") /* required */
}
},
"AverageCrr": { /* StrategyAverageCrr */
"Crr": (int),
"GoalId": (long),
"WeeklySpendLimit": (long), /* nillable */
"CustomPeriodBudget": { /* nillable */
"SpendLimit": (long),
"StartDate": (string),
"EndDate": (string),
"AutoContinue": ("YES" | "NO")
},
"BudgetType": ("WEEKLY_BUDGET" | "CUSTOM_PERIOD_BUDGET") /* nillable */,
"ExplorationBudget" : { /* nillable */
"MinimumExplorationBudget" : (long) /* required */,
"IsMinimumExplorationBudgetCustom" : ("YES") /* required */
}
},
"PayForConversionCrr": { /* StrategyPayForConversionCrr */
"Crr": (int),
"GoalId": (long),
"WeeklySpendLimit": (long), /* nillable */
"CustomPeriodBudget": { /* nillable */
"SpendLimit": (long),
"StartDate": (string),
"EndDate": (string),
"AutoContinue": ("YES" | "NO")
},
"BudgetType": ("WEEKLY_BUDGET" | "CUSTOM_PERIOD_BUDGET") /* nillable */,
},
"PayForConversion" : { /* StrategyPayForConversion */
"Cpa" : (long),
"GoalId" : (long),
"WeeklySpendLimit" : (long), /* nillable */
"CustomPeriodBudget": { /* nillable */
"SpendLimit": (long),
"StartDate": (string),
"EndDate": (string),
"AutoContinue": ("YES" | "NO")
},
"BudgetType": ("WEEKLY_BUDGET" | "CUSTOM_PERIOD_BUDGET") /* nillable */,
},
"PayForConversionMultipleGoals" : { /* StrategyPayForConversionMultipleGoals */
"WeeklySpendLimit" : (long) /* nillable */
"CustomPeriodBudget": { /* nillable */
"SpendLimit": (long),
"StartDate": (string),
"EndDate": (string),
"AutoContinue": ("YES" | "NO")
}
}
}
},
"Settings": [{ /* TextCampaignSetting */
"Option": ( "ADD_METRICA_TAG" | ... | "REQUIRE_SERVICING" ), /* required */
"Value": ( "YES" | "NO" ) /* required */
}, ... ],
"CounterIds": { /* ArrayOfInteger */
"Items": [(int), ... ] /* required */
}, /* nillable */
"RelevantKeywords": { /* RelevantKeywordsSetting */
"BudgetPercent": (int),
"OptimizeGoalId": (long) /* nillable */
}, /* nillable */
"PriorityGoals": { /* PriorityGoalsUpdateSetting */
"Items": [{ /* PriorityGoalsUpdateItem */
"GoalId": (long), /* required */
"Value": (long), /* required */
"Operation": ( "SET" ), /* required */
"IsMetrikaSourceOfValue": ( "YES" | "NO" )
}, ... ] /* required */
}, /* nillable */
"TrackingParams" : (string),
"AttributionModel": ( "FC" | "LC" | "LSC" | "LYDC" | "FCCD" | "LSCCD" | "LYDCCD" | "AUTO" ),
"PackageBiddingStrategy": {
"StrategyId": (long),
"StrategyFromCampaignId": (long),
"Platforms" : {
"SearchResult" : ( "YES" | "NO" ) /* required */,
"ProductGallery" : ( "YES" | "NO" ) /* required */,
"Network" : ( "YES" | "NO" ) /* required */,
"DynamicPlaces" : ( "YES" | "NO" )
}
},
"NegativeKeywordSharedSetIds" : { /* nillable */
"Items" : [ (long) ] /* required */
}
}
}, ... ] /* required */
}
}
Parameter |
Type |
Description |
Required |
TextCampaignUpdateItem structure |
|||
|
array of TextCampaignSetting |
Array of settings that only accept the values YES or NO. |
No |
|
ArrayOfInteger, nillable |
The IDs of Yandex Metrica tags installed on the advertiser's website (see Yandex Metrica: evaluate your ad performance in Yandex Direct Help). |
No |
|
RelevantKeywordsSetting, nillable |
Settings for impressions for related keywords (see Impressions for related keywords in Yandex Direct Help). To disable displays for related keywords, pass null (nil). |
No |
|
string |
URL parameters for templates. |
|
|
AttributionModelEnum |
The attribution model used for optimizing conversions (see Attribution model in Yandex Direct Help). Possible values:
|
No |
|
TextCampaignPackageBiddingStrategyUpdate, nillable |
Links a campaign to the specified strategy. If You can't pass the following parameters in this field:
To pass these parameters, unlink the campaign from the portfolio strategy: specify a new value for |
No |
|
TextCampaignStrategy |
Display strategy. |
No |
|
PriorityGoalsUpdateSetting, nillable |
Priority goals for automatic bid adjustments. null (nil) — Delete the set of priority goals. In this case, automatic bid adjustments are used to obtain the maximum number of engaged sessions (see Engaged session figures in Yandex Direct Help). You can't add more than 30 priority goals. |
When passing the |
|
ArrayOfLong, nillable |
IDs of sets of negative keywords. Maximum of 3 items in the array. To get the IDs of sets, use the NegativeKeywordSharedSets.get method. |
No |
TextCampaignSetting structure |
|||
|
TextCampaignSettingsEnum |
Setting name:
|
Yes |
|
YesNoEnum |
Setting value. |
Yes |
RelevantKeywordsSetting structure |
|||
|
int |
Maximum percent of the budget to be spent on clicks on related keywords (from 1 to 100). |
If the |
|
long, nillable |
ID of the Yandex Metrica goal. Statistics on conversions for this goal are used for optimizing related keywords. All goals available for the campaign can be used, including composite (multi-step) goals. For more information about goals, see Goals and conversions in Yandex Metrica Help. To get the list of goals, use the GetStatGoals method in version 4 or Live 4 of the API. The following values are also allowed:
If the parameter is omitted and the campaign doesn't have a Alert If the strategy of your campaign is WB_MAXIMUM_CONVERSION_RATE, AVERAGE_CPA, or AVERAGE_ROI, the optimization will use the goal (or goals) you set in the |
No |
PriorityGoalsUpdateSetting structure |
|||
|
array of PriorityGoalsUpdateItem |
A new set of priority goals and conversion values to replace the existing set. |
Yes |
PriorityGoalsUpdateItem structure |
|||
|
long |
ID of the Yandex Metrica goal to prioritize when automatically adjusting bids. For more information about goals, see Goals and conversions in Yandex Metrica Help. To get the list of goals, use the GetStatGoals method in version 4 or Live 4 of the API. A value of 12 corresponds to the "Engaged sessions" goal. |
Yes |
|
long |
The conversion value is a monetary estimation of the advertiser's profit when the goal is completed, in the advertiser's currency, multiplied by 1,000,000. The higher the conversion value, the higher the priority to achieve conversions for this goal. |
Yes |
|
OperationEnum |
Type of action with the set of priority goals. Currently, only the SET value is available. |
Yes |
|
YesNoEnum |
Priority goal value source: Yandex Metrica goal. The |
If the BiddingStrategyType parameter is set to AVERAGE_CRR or PAY_FOR_CONVERSION_CRR |
TextCampaignPackageBiddingStrategyUpdate structure |
|||
|
long |
Portfolio strategy ID. |
No |
|
long |
ID of the campaign the portfolio strategy was created from. |
No |
|
TextCampaignPlatforms |
Ad placement platform. |
No |
TextCampaignPlatforms structure |
|||
|
YesNoEnum |
Search results. |
Yes |
|
YesNoEnum |
Product gallery. |
Yes |
|
YesNoEnum |
Yandex Advertising Network. |
Yes |
|
YesNoEnum |
Dynamic placements in search results. |
No |
TextCampaignStrategy structure |
|||
|
TextCampaignSearchStrategy |
Display strategy in search results. |
No |
|
TextCampaignNetworkStrategy |
Display strategy in ad networks. |
No |
TextCampaignSearchStrategy structure |
|||
|
TextCampaignSearchStrategyTypeEnum |
The type of display strategy in search results:
For information about the compatibility of strategies in search results and ad networks, see the section Display strategies. |
Yes |
|
TextCampaignSearchStrategyPlacementTypes |
Placements in search results. |
No |
|
StrategyMaximumClicks |
Parameters of the Optimize clicks strategy. Limited by weekly budget. |
When the |
|
StrategyMaximumConversionRate |
Parameters of the Optimize conversions strategy without specifying the average CPA. |
When the |
|
StrategyAverageCpc |
Parameters of the Optimize clicks strategy. Limited by average CPC. |
When the |
|
StrategyAverageCpa |
Parameters of the Optimize conversions strategy. Maintain the average CPA. |
When the |
|
StrategyAverageCpaMultipleGoalsAdd |
Parameters of the Maximize conversions pay-per-click strategy. Maintain the average CPA for multiple goals. |
When the |
|
StrategyAverageRoi |
Parameters of the Optimize ROI strategy. |
When the |
|
StrategyAverageCrr |
Parameters of the strategy Optimize cost revenue ratio. Maintain the average cost revenue ratio. |
When the |
|
StrategyPayForConversionCrr |
Parameters of the strategy Optimize cost revenue ratio. Pay per conversion. |
When the |
|
StrategyPayForConversion |
Parameters of the Optimize conversions strategy. Pay per conversion. |
When the |
|
StrategyPayForConversionMultipleGoalsAdd |
Parameters of the Maximize conversions pay-per-conversion strategy for each of the specified goals. |
When the |
|
StrategyWeeklyClickPackage |
Parameters of the Optimize clicks strategy. Limited by click package. |
When the |
TextCampaignNetworkStrategy structure |
|||
|
TextCampaignNetworkStrategyTypeEnum |
The type of display strategy in ad networks:
For information about the compatibility of strategies in search results and ad networks, see the section Display strategies. |
Yes |
|
StrategyNetworkDefault |
Settings for impressions in ad networks based on the settings for search. If a search strategy other than HIGHEST_POSITION is selected, pass an empty structure. |
When the |
|
StrategyMaximumClicks |
Parameters of the Optimize clicks strategy. Limited by weekly budget. |
When the |
|
StrategyMaximumConversionRate |
Parameters of the Optimize conversions strategy without specifying the average CPA. |
When the |
|
StrategyAverageCpc |
Parameters of the Optimize clicks strategy. Limited by average CPC. |
When the |
|
StrategyAverageCpa |
Parameters of the Optimize conversions strategy. Maintain the average CPA. |
When the |
|
StrategyAverageCpaMultipleGoalsAdd |
Parameters of the Maximize conversions pay-per-click strategy. Maintain the average CPA for multiple goals. |
When the |
|
StrategyAverageRoi |
Parameters of the Optimize ROI strategy. |
When the |
|
StrategyAverageCrr |
Parameters of the strategy Optimize cost revenue ratio. Maintain the average cost revenue ratio. |
When the |
|
StrategyPayForConversionCrr |
Parameters of the strategy Optimize cost revenue ratio. Pay per conversion. |
When the |
|
StrategyPayForConversion |
Parameters of the Optimize conversions strategy. Pay per conversion. |
When the |
|
StrategyPayForConversionMultipleGoalsAdd |
Parameters of the Maximize conversions pay-per-conversion strategy for each of the specified goals. |
When the |
|
StrategyWeeklyClickPackage |
Parameters of the Optimize clicks strategy. Limited by click package. |
When the |
TextCampaignSearchStrategyPlacementTypes structure |
|||
|
YesNoEnum |
Search results. |
No |
|
YesNoEnum |
Product gallery. |
No |
|
YesNoEnum |
Dynamic placements in search results. |
No |
StrategyMaximumClicks structure |
|||
|
long |
The weekly budget in the advertiser's currency, multiplied by 1,000,000. The minimum weekly budget for each currency is listed in the currency reference. To get the list of currencies, use the Dictionaries.get method. |
No |
|
long, nillable |
The maximum bid in the advertiser's currency, multiplied by 1,000,000. The minimum and maximum bid for each currency is listed in the currency reference. To get the list of currencies, use the Dictionaries.get method. Note We don't recommend setting the maximum bid, as this may reduce the effectiveness of the strategy. |
No |
|
CustomPeriodBudget |
Budget for a custom period. For more information, see Yandex Direct Help. When creating a campaign, you can't specify both this parameter and |
No |
StrategyMaximumConversionRate structure |
|||
|
long |
The weekly budget in the advertiser's currency, multiplied by 1,000,000. The minimum weekly budget for each currency is listed in the currency reference. To get the list of currencies, use the Dictionaries.get method. |
No |
|
long, nillable |
The maximum bid in the advertiser's currency, multiplied by 1,000,000. The minimum and maximum bid for each currency is listed in the currency reference. To get the list of currencies, use the Dictionaries.get method. Note We don't recommend setting the maximum bid, as this may reduce the effectiveness of the strategy. |
No |
|
long |
ID of the Yandex Metrica goal. For more information about goals, see Goals and conversions in Yandex Metrica Help. The value 13 indicates priority goals. Allowed if the PriorityGoals array specifies at least one goal that is different from engaged sessions. To get the list of goals, use the GetStatGoals method in version 4 or Live 4 of the API. |
No |
|
CustomPeriodBudget |
Budget for a custom period. For more information, see Yandex Direct Help. When creating a campaign, you can't specify both this parameter and |
No |
StrategyAverageCpc structure |
|||
|
long |
The average CPC in the advertiser's currency, multiplied by 1,000,000. The minimum value for the average cost is listed by currency in the currency reference. To get the list of currencies, use the Dictionaries.get method. |
No |
|
long, nillable |
The weekly budget in the advertiser's currency, multiplied by 1,000,000. The minimum weekly budget for each currency is listed in the currency reference. To get the list of currencies, use the Dictionaries.get method. |
No |
|
CustomPeriodBudget |
Budget for a custom period. For more information, see Yandex Direct Help. When creating a campaign, you can't specify both this parameter and |
No |
|
BudgetTypeEnum |
Type of budget:
If the budget type is changed while editing the campaign, the original type must be passed with a NULL value. For example, if you change the budget type from weekly to custom period, make sure to pass NULL in the "WeeklySpendLimit" field. |
No |
StrategyAverageCpa structure |
|||
|
long |
The average goal cost in the advertiser's currency, multiplied by 1,000,000. The minimum value for the average cost is listed by currency in the currency reference. To get the list of currencies, use the Dictionaries.get method. |
No |
|
long |
ID of the Yandex Metrica goal. For more information about goals, see Goals and conversions in Yandex Metrica Help. To get the list of goals, use the GetStatGoals method in version 4 or Live 4 of the API. |
No |
|
long, nillable |
The weekly budget in the advertiser's currency, multiplied by 1,000,000. The minimum weekly budget for each currency is listed in the currency reference. To get the list of currencies, use the Dictionaries.get method. |
No |
|
CustomPeriodBudget |
Budget for a custom period. For more information, see Yandex Direct Help. When creating a campaign, you can't specify both this parameter and |
No |
|
BudgetTypeEnum |
Type of budget:
If the budget type is changed while editing the campaign, the original type must be passed with a NULL value. For example, if you change the budget type from weekly to custom period, make sure to pass NULL in the "WeeklySpendLimit" field. |
No |
|
long, nillable |
The maximum bid in the advertiser's currency, multiplied by 1,000,000. The minimum and maximum bid for each currency is listed in the currency reference. To get the list of currencies, use the Dictionaries.get method. Note We don't recommend setting the maximum bid, as this may reduce the effectiveness of the strategy. |
No |
|
ExplorationBudget |
Minimum budget. Read more in Yandex Direct Help. If the field is not set, the minimum budget won't change. To set the default value, pass To set a custom minimum budget, use the If |
No |
StrategyAverageCpaMultipleGoalsAdd structure |
|||
|
long |
The weekly budget in the advertiser's currency, multiplied by 1,000,000. The minimum weekly budget for each currency is listed in the currency reference. To get the list of currencies, use the Dictionaries.get method. |
No |
|
CustomPeriodBudget |
Budget for a custom period. For more information, see Yandex Direct Help. When creating a campaign, you can't specify both this parameter and |
No |
|
long |
The maximum bid in the advertiser's currency, multiplied by 1,000,000. The minimum and maximum bid for each currency is listed in the currency reference. To get the list of currencies, use the Dictionaries.get method. Note We don't recommend setting the maximum bid, as this may reduce the effectiveness of the strategy. |
No |
|
ExplorationBudget |
Minimum budget. Read more in Yandex Direct Help. If the field is omitted, a default value is set for the strategy (it's calculated based on the strategy settings). To set a custom minimum budget, use the If |
No |
StrategyAverageRoi structure |
|||
|
int |
The maximum percentage of saved funds that can be returned to advertising (spent) if the forecasted return on investment exceeds the value of the A value from 0 to 100 as a multiple of ten: 0, 10, 20... 100. |
No |
|
long |
The desired average return on investment per week. The value represents the ratio between sales profits and ad costs, multiplied by 1,000,000. The value must be an integer. If the value is not a multiple of 10,000, the last 4 digits are reset to zero (which is the same as discarding extra decimal digits). |
No |
|
long |
ID of the Yandex Metrica goal. For more information about goals, see Goals and conversions in Yandex Metrica Help. The value 13 indicates priority goals. Allowed if the PriorityGoals array specifies at least one goal that is different from engaged sessions. To get the list of goals, use the GetStatGoals method in version 4 or Live 4 of the API. |
No |
|
long, nillable |
The weekly budget in the advertiser's currency, multiplied by 1,000,000. The minimum weekly budget for each currency is listed in the currency reference. To get the list of currencies, use the Dictionaries.get method. |
No |
|
CustomPeriodBudget |
Budget for a custom period. For more information, see Yandex Direct Help. When creating a campaign, you can't specify both this parameter and |
No |
|
BudgetTypeEnum |
Type of budget:
If the budget type is changed while editing the campaign, the original type must be passed with a NULL value. For example, if you change the budget type from weekly to custom period, make sure to pass NULL in the "WeeklySpendLimit" field. |
No |
|
long, nillable |
The maximum bid in the advertiser's currency, multiplied by 1,000,000. The minimum and maximum bid for each currency is listed in the currency reference. To get the list of currencies, use the Dictionaries.get method. Note We don't recommend setting the maximum bid, as this may reduce the effectiveness of the strategy. |
No |
|
long, nillable |
The percentage of revenue that is the cost value of products or services. The value is a percentage multiplied by 1,000,000. The value must be an integer between 0 and 100,000,000 (which corresponds to 100%). If the value is not a multiple of 10,000, the last 4 digits are reset to zero (which is the same as discarding extra decimal digits). |
No |
|
ExplorationBudget |
Minimum budget. Read more in Yandex Direct Help. If the field is not set, the minimum budget won't change. To set the default value, pass To set a custom minimum budget, use the If |
No |
StrategyAverageCrr structure |
|||
|
int |
Average cost revenue ratio. |
Yes |
|
long |
ID of the Yandex Metrica goal. For more information about goals, see Goals and conversions in Yandex Metrica Help. To get the list of goals, use the GetStatGoals method in version 4 or Live 4 of the API. |
Yes |
|
long |
The weekly budget in the advertiser's currency, multiplied by 1,000,000. The minimum weekly budget for each currency is listed in the currency reference. To get the list of currencies, use the Dictionaries.get method. |
No |
|
CustomPeriodBudget |
Budget for a custom period. For more information, see Yandex Direct Help. When creating a campaign, you can't specify both this parameter and |
No |
|
BudgetTypeEnum |
Type of budget:
If the budget type is changed while editing the campaign, the original type must be passed with a NULL value. For example, if you change the budget type from weekly to custom period, make sure to pass NULL in the "WeeklySpendLimit" field. |
No |
|
ExplorationBudget |
Minimum budget. Read more in Yandex Direct Help. If the field is not set, the minimum budget won't change. To set the default value, pass To set a custom minimum budget, use the If |
No |
StrategyPayForConversionCrr structure |
|||
|
int |
Average cost revenue ratio. |
Yes |
|
long |
ID of the Yandex Metrica goal. For more information about goals, see Goals and conversions in Yandex Metrica Help. To get the list of goals, use the GetStatGoals method in version 4 or Live 4 of the API. |
Yes |
|
long |
The weekly budget in the advertiser's currency, multiplied by 1,000,000. The minimum weekly budget for each currency is listed in the currency reference. To get the list of currencies, use the Dictionaries.get method. |
No |
|
CustomPeriodBudget |
Budget for a custom period. For more information, see Yandex Direct Help. When creating a campaign, you can't specify both this parameter and |
No |
|
BudgetTypeEnum |
Type of budget:
If the budget type is changed while editing the campaign, the original type must be passed with a NULL value. For example, if you change the budget type from weekly to custom period, make sure to pass NULL in the "WeeklySpendLimit" field. |
No |
StrategyPayForConversion structure |
|||
|
long |
The goal cost in the advertiser's currency, multiplied by 1,000,000. The minimum and maximum CPA values are listed by currency in the currency reference. To get the list of currencies, use the Dictionaries.get method. |
No |
|
long |
ID of the Yandex Metrica goal. For more information about goals, see Goals and conversions in Yandex Metrica Help. To get the list of goals, use the GetStatGoals method in version 4 or Live 4 of the API. |
No |
|
long, nillable |
The weekly budget in the advertiser's currency, multiplied by 1,000,000. The minimum weekly budget for each currency must be at least the value of the |
No |
|
CustomPeriodBudget |
Budget for a custom period. For more information, see Yandex Direct Help. When creating a campaign, you can't specify both this parameter and |
No |
|
BudgetTypeEnum |
Type of budget:
If the budget type is changed while editing the campaign, the original type must be passed with a NULL value. For example, if you change the budget type from weekly to custom period, make sure to pass NULL in the "WeeklySpendLimit" field. |
No |
PayForConversionMultipleGoals structure |
|||
|
long |
The weekly budget in the advertiser's currency, multiplied by 1,000,000. The minimum weekly budget for each currency must be at least the value of the |
No |
|
CustomPeriodBudget |
Budget for a custom period. For more information, see Yandex Direct Help. When creating a campaign, you can't specify both this parameter and |
No |
StrategyWeeklyClickPackage structure |
|||
|
long |
Desired number of clicks per week. |
No |
|
long, nillable |
The average CPC in the advertiser's currency, multiplied by 1,000,000. The minimum value for the average cost is listed by currency in the currency reference. To get the list of currencies, use the Dictionaries.get method. Note The |
No |
|
long, nillable |
The maximum bid in the advertiser's currency, multiplied by 1,000,000. The minimum and maximum bid for each currency is listed in the currency reference. To get the list of currencies, use the Dictionaries.get method. Note The |
No |
StrategyNetworkDefault structure |
|||
|
int |
The maximum percentage of the budget to spend on displays in ad networks. The value is a multiple of ten: 10, 20, ..., 100. If the strategy changes and this parameter if not specified, the default value is used — 100. If a search strategy other than HIGHEST_POSITION is selected, the parameter is not used and the passed value is ignored. |
No |
ExplorationBudget structure |
|||
|
long |
Minimum budget value. Acceptable value: between 0 and the weekly budget (if set). |
Yes, if the request includes the |
|
YesNoEnum |
A flag indicating a custom minimum budget. |
Yes, if the request includes the |
CustomPeriodBudget structure |
|||
|
long |
Budget size for a custom period. |
Yes |
|
string |
Start of the budget period. |
Yes |
|
string |
End of the budget period. |
Yes |
|
YesNoEnum |
Flag to autocontinue the budget period. |
Yes |