get: DynamicTextCampaign parameters
Response structure in JSON format:
{
"result": {
"Campaigns": [{ /* CampaignGetItem */
...
"DynamicTextCampaign": { /* DynamicTextCampaignGetItem */
"BiddingStrategy": { /* DynamicTextCampaignStrategy */
"Search": { /* DynamicTextCampaignSearchStrategy */
"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": {
"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" : {
"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" : {
"MinimumExplorationBudget" : (long) /* required */,
"IsMinimumExplorationBudgetCustom" : ("YES"| "NO") /* 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" : {
"MinimumExplorationBudget" : (long) /* required */,
"IsMinimumExplorationBudgetCustom" : ("YES"| "NO") /* 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 */
}
},
"Network": { /* DynamicTextCampaignNetworkStrategy */
"BiddingStrategyType": ( "SERVING_OFF" | "UNKNOWN" ) /* required */
}
},
"Settings": [{ /* DynamicTextCampaignSettingGet */
"Option": ( "ADD_METRICA_TAG" | ... | "SHARED_ACCOUNT_ENABLED" ), /* required */
"Value": ( "YES" | "NO" ) /* required */
}, ... ],
"PlacementTypes" : { /* PlacementTypesItem */
"Items" : [{ /* required */
"Type" : ("SEARCH_RESULTS"|"PRODUCT_GALLERY") /* required */,
"Value" : ("YES"|"NO") /* required */}, ... ]
},
"CounterIds": { /* ArrayOfInteger */
"Items": [(int), ... ] /* required */
}, /* nillable */
"PriorityGoals": { /* PriorityGoalsArray */
"Items": [{ /* PriorityGoalsItem */
"GoalId": (long), /* required */
"Value": (long), /* required */
"IsMetrikaSourceOfValue": ( "YES" | "NO" )
}, ... ] /* required */
}, /* nillable */
"TrackingParams" : (string),
"AttributionModel": ( "FC" | "LC" | "LSC" | "LYDC" | "FCCD" | "LSCCD" | "LYDCCD" | "AUTO" ),
"PackageBiddingStrategy" : { /* nillable */
"StrategyId" : (long) /* required */
},
"CanBeUsedAsPackageBiddingStrategySource" : ( "YES" | "NO" ),
"NegativeKeywordSharedSetIds" : { /* nillable */
"Items" : [ (long) ] /* required */
},
}
}, ... ],
"LimitedBy": (long)
}
}
Parameter |
Type |
Description |
|
DynamicTextCampaignGetItem structure |
|||
|
array of DynamicTextCampaignSettingGet |
Array of settings that only accept the values YES or NO. |
|
|
PlacementTypesItem |
Ad placements in search results. |
|
|
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). |
|
|
DynamicTextCampaignStrategy |
Display strategy. |
|
|
PriorityGoalsArray, nillable |
Priority goals for automatic bid adjustments. If the array is omitted, automatic bid adjustments are used for obtaining the maximum number of engaged sessions (see Engaged session figures in Yandex Direct Help). You can't add more than 30 priority goals. |
|
|
string |
URL parameters for templates. |
|
|
AttributionModelEnum |
The attribution model used for optimizing conversions (see Attribution model in Yandex Direct Help). Possible values:
|
|
|
DynamicTextCampaignPackageBiddingStrategyGet, nillable |
Information about the portfolio strategy. Null (nil): The campaign is not part of the portfolio strategy. |
|
|
string |
Shows if the strategy for this campaign can be portfolio. |
|
|
ArrayOfLong, nillable |
IDs of sets of negative keywords. Maximum of 3 items in the array. |
|
DynamicTextCampaignSettingGet structure |
|||
|
DynamicTextCampaignSettingsGetEnum |
Setting name:
|
|
|
YesNoEnum |
Setting value. |
|
PlacementTypesItem structure |
|||
|
DynamicTextCampaignPlacementTypesEnum |
Type of ad placement in search results:
|
|
|
YesNoEnum |
Setting value. |
|
PriorityGoalsArray structure |
|||
|
array of PriorityGoalsItem |
A set of priority goals and corresponding conversion values. |
|
DynamicTextCampaignPackageBiddingStrategyGet structure |
|||
|
long |
Portfolio strategy ID. |
|
PriorityGoalsItem 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. |
|
|
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. |
|
|
YesNoEnum |
Priority goal value source: Yandex Metrica goal. The |
|
DynamicTextCampaignStrategy structure |
|||
|
DynamicTextCampaignSearchStrategy |
Display strategy in search results. |
|
|
DynamicTextCampaignNetworkStrategy |
Display strategy in ad networks. |
|
DynamicTextCampaignSearchStrategy structure |
|||
|
DynamicTextCampaignSearchStrategyTypeEnum |
The type of display strategy in search results:
|
|
|
DynamicTextCampaignSearchStrategyPlacementTypes |
Placements in search results. |
|
|
StrategyMaximumClicks |
Parameters of the Optimize clicks strategy. Limited by weekly budget. |
|
|
StrategyMaximumConversionRate |
Parameters of the Optimize conversions strategy without specifying the average CPA. |
|
|
StrategyAverageCpc |
Parameters of the Optimize clicks strategy. Limited by average CPC. |
|
|
StrategyAverageCpa |
Parameters of the Optimize conversions strategy. Maintain the average CPA. |
|
|
StrategyAverageRoi |
Parameters of the Optimize ROI strategy. |
|
|
StrategyAverageCrr |
Parameters of the strategy Optimize cost revenue ratio. Maintain the average cost revenue ratio. |
|
|
StrategyPayForConversionCrr |
Parameters of the strategy Optimize cost revenue ratio. Pay per conversion. |
|
|
StrategyPayForConversion |
Parameters of the Optimize conversions strategy. Pay per conversion. |
|
|
StrategyWeeklyClickPackage |
Parameters of the Optimize clicks strategy. Limited by click package. |
|
DynamicTextCampaignNetworkStrategy structure |
|||
|
DynamicTextCampaignNetworkStrategyTypeEnum |
The type of display strategy in ad networks. Only one value is available: SERVING_OFF. Displays are disabled |
|
DynamicTextCampaignSearchStrategyPlacementTypes structure |
|||
|
YesNoEnum |
Search results. |
|
|
YesNoEnum |
Product gallery. |
|
|
YesNoEnum |
Dynamic placements in search results. |
|
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. |
|
|
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. |
|
|
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 |
|
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. |
|
|
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. |
|
|
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 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. |
|
|
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 |
|
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. |
|
|
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. |
|
|
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 |
|
|
BudgetTypeEnum |
Type of budget:
|
|
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. |
|
|
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. |
|
|
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. |
|
|
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 |
|
|
BudgetTypeEnum |
Type of budget:
|
|
|
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. |
|
|
ExplorationBudget |
Minimum budget. Read more in Yandex Direct Help. |
|
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. |
|
|
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). |
|
|
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 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. |
|
|
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. |
|
|
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 |
|
|
BudgetTypeEnum |
Type of budget:
|
|
|
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. |
|
|
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). |
|
|
ExplorationBudget |
Minimum budget. Read more in Yandex Direct Help. |
|
StrategyAverageCrr structure |
|||
|
int |
Average cost revenue ratio. |
|
|
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. |
|
|
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. |
|
|
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 |
|
|
BudgetTypeEnum |
Type of budget:
|
|
|
ExplorationBudget |
Minimum budget. Read more in Yandex Direct Help. |
|
StrategyPayForConversionCrr structure |
|||
|
int |
Average cost revenue ratio. |
|
|
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. |
|
|
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. |
|
|
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 |
|
|
BudgetTypeEnum |
Type of budget:
|
|
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. |
|
|
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. |
|
|
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 |
|
|
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 |
|
|
BudgetTypeEnum |
Type of budget:
|
|
StrategyWeeklyClickPackage structure |
|||
|
long |
Desired number of clicks per week. |
|
|
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 |
|
|
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 |
|
ExplorationBudget structure |
|||
|
long |
Minimum budget value. Acceptable value: between 0 and the weekly budget (if set). |
|
|
YesNoEnum |
A flag indicating a custom minimum budget. |
|
CustomPeriodBudget structure |
|||
|
long |
Budget size for a custom period. |
|
|
string |
Start of the budget period. |
|
|
string |
End of the budget period. |
|
|
YesNoEnum |
Flag to autocontinue the budget period. |