add: MobileAppCampaign parameters
Request structure in JSON format:
{
"method": "add",
"params": {
"Campaigns": [{ /* CampaignAddItem */
...
"MobileAppCampaign": { /* MobileAppCampaignAddItem */
"BiddingStrategy": { /* MobileAppCampaignStrategyAdd */
"Search": { /* MobileAppCampaignSearchStrategyAdd */
"BiddingStrategyType": ( "AVERAGE_CPC" | ... | "WEEKLY_CLICK_PACKAGE" ), /* required */
"WbMaximumClicks": { /* StrategyMaximumClicksAdd */
"WeeklySpendLimit": (long), /* required */
"BidCeiling": (long)
},
"WbMaximumAppInstalls": { /* StrategyMaximumAppInstallsAdd */
"WeeklySpendLimit": (long), /* required */
"BidCeiling": (long)
},
"AverageCpc": { /* StrategyAverageCpcAdd */
"AverageCpc": (long), /* required */
"WeeklySpendLimit": (long),
"CustomPeriodBudget": {
"SpendLimit": (long),
"StartDate": (string),
"EndDate": (string),
"AutoContinue": ("YES" | "NO")
}
},
"AverageCpi": { /* StrategyAverageCpiAdd */
"AverageCpi": (long), /* required */
"WeeklySpendLimit": (long),
"BidCeiling": (long),
"CustomPeriodBudget": {
"SpendLimit": (long),
"StartDate": (string),
"EndDate": (string),
"AutoContinue": ("YES" | "NO")
}
},
"WeeklyClickPackage": { /* StrategyWeeklyClickPackageAdd */
"ClicksPerWeek": (long), /* required */
"AverageCpc": (long),
"BidCeiling": (long)
},
"PayForInstall" : { /* StrategyPayForInstallAdd */
"AverageCpi" : (long) /* required */,
"WeeklySpendLimit" : (long),
"CustomPeriodBudget": {
"SpendLimit": (long),
"StartDate": (string),
"EndDate": (string),
"AutoContinue": ("YES" | "NO")
}
}
}, /* required */
"Network": { /* MobileAppCampaignNetworkStrategyAdd */
"BiddingStrategyType": ( "AVERAGE_CPC" | ... | "WEEKLY_CLICK_PACKAGE" ), /* required */
"NetworkDefault": { /* StrategyNetworkDefaultAdd */
"LimitPercent": (int)
},
"WbMaximumClicks": { /* StrategyMaximumClicksAdd */
"WeeklySpendLimit": (long), /* required */
"BidCeiling": (long)
},
"WbMaximumAppInstalls": { /* StrategyMaximumAppInstallsAdd */
"WeeklySpendLimit": (long), /* required */
"BidCeiling": (long)
},
"AverageCpc": { /* StrategyAverageCpcAdd */
"AverageCpc": (long), /* required */
"WeeklySpendLimit": (long),
"CustomPeriodBudget": {
"SpendLimit": (long),
"StartDate": (string),
"EndDate": (string),
"AutoContinue": ("YES" | "NO")
}
},
"AverageCpi": { /* StrategyAverageCpiAdd */
"AverageCpi": (long), /* required */
"WeeklySpendLimit": (long),
"BidCeiling": (long),
"CustomPeriodBudget": {
"SpendLimit": (long),
"StartDate": (string),
"EndDate": (string),
"AutoContinue": ("YES" | "NO")
}
},
"WeeklyClickPackage": { /* StrategyWeeklyClickPackageAdd */
"ClicksPerWeek": (long), /* required */
"AverageCpc": (long),
"BidCeiling": (long)
},
"PayForInstall" : { /* StrategyPayForInstallAdd */
"AverageCpi" : (long) /* required */,
"WeeklySpendLimit" : (long),
"CustomPeriodBudget": {
"SpendLimit": (long),
"StartDate": (string),
"EndDate": (string),
"AutoContinue": ("YES" | "NO")
}
}
} /* required */
}, /* required */
"Settings": [{ /* MobileAppCampaignSetting */
"Option": ( "ADD_TO_FAVORITES" | ... | "REQUIRE_SERVICING" ), /* required */
"Value": ( "YES" | "NO" ) /* required */
}, ... ],
"NegativeKeywordSharedSetIds" : { /* nillable */
"Items" : [ (long) ] /* required */
}
}
}, ...] /* required */
}
}
Parameter |
Type |
Description |
Mandatory |
MobileAppCampaignAddItem structure |
|||
|
array of MobileAppCampaignSetting |
Array of settings that only accept the values YES or NO. |
No |
|
MobileAppCampaignStrategyAdd |
Display strategy. |
Yes |
|
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 |
MobileAppCampaignSetting structure |
|||
|
MobileAppCampaignSettingsEnum |
Setting name:
|
Yes |
|
No |
||
|
YesNoEnum |
Setting value. |
Yes |
MobileAppCampaignStrategyAdd structure |
|||
|
MobileAppCampaignSearchStrategyAdd |
Display strategy in search results. |
Yes |
|
MobileAppCampaignNetworkStrategyAdd |
Display strategy in ad networks. |
Yes |
MobileAppCampaignSearchStrategyAdd structure |
|||
|
MobileAppCampaignSearchStrategyTypeEnum |
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 |
|
StrategyMaximumClicksAdd |
Parameters of the Optimize clicks strategy. Limited by weekly budget. |
When the |
|
StrategyMaximumAppInstallsAdd |
Parameters of the Optimize number of app installations strategy, without specifying the average CPI. |
When the |
|
StrategyAverageCpcAdd |
Parameters of the Optimize clicks strategy. Limited by average CPC. |
When the |
|
StrategyAverageCpiAdd |
Parameters of the Optimize number of app installations strategy. Maintain the average CPI. |
When the |
|
StrategyPayForInstallAdd |
Parameters of the Optimize conversions strategy. Pay per install. |
If the |
|
StrategyWeeklyClickPackageAdd |
Parameters of the Optimize clicks strategy. Limited by click package. Alert The parameter is deprecated and no longer supported. |
When the |
MobileAppCampaignNetworkStrategyAdd structure |
|||
|
MobileAppCampaignNetworkStrategyTypeEnum |
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 |
|
StrategyNetworkDefaultAdd |
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 |
|
StrategyMaximumClicksAdd |
Parameters of the Optimize clicks strategy. Limited by weekly budget. |
When the |
|
StrategyMaximumAppInstallsAdd |
Parameters of the Optimize number of app installations strategy, without specifying the average CPI. |
When the |
|
StrategyAverageCpcAdd |
Parameters of the Optimize clicks strategy. Limited by average CPC. |
When the |
|
StrategyAverageCpiAdd |
Parameters of the Optimize number of app installations strategy. Maintain the average CPI. |
When the |
|
StrategyPayForInstallAdd |
Parameters of the Optimize conversions strategy. Pay per install. |
If the |
|
StrategyWeeklyClickPackageAdd |
Parameters of the Optimize clicks strategy. Limited by click package. Alert The parameter is deprecated and no longer supported. |
When the |
StrategyMaximumClicksAdd 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. |
Yes |
|
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 |
StrategyMaximumAppInstallsAdd 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. |
Yes |
|
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 |
StrategyAverageCpcAdd structure |
|||
|
long |
The average CPC in the advertiser's currency, multiplied by 1,000,000. The minimum value for the average CPC is listed by currency in the currency reference. To get the list of currencies, use the Dictionaries.get method. |
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 |
StrategyAverageCpiAdd structure |
|||
|
long |
The average cost per app install in the advertiser's currency, multiplied by 1,000,000. The minimum acceptable value is shown in the section Currency parameters and limits. |
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 |
|
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 |
StrategyPayForInstallAdd structure |
|||
|
long |
Cost per app install in the advertiser's currency, multiplied by 1,000,000. The minimum and maximum acceptable values are shown in Currency parameters and restrictions. |
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 |
StrategyWeeklyClickPackageAdd structure |
|||
|
long |
Desired number of clicks per week. |
Yes |
|
long |
The average CPC in the advertiser's currency, multiplied by 1,000,000. The minimum value for the average CPC is listed by currency in the currency reference. To get the list of currencies, use the Dictionaries.get method. Note The |
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 |
StrategyNetworkDefaultAdd 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. The default value is 100. If a search strategy other than HIGHEST_POSITION is selected, the parameter is not used and the passed value is ignored. |
No |
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 |