update: MobileAppCampaign parameters

Attention. All monetary campaign parameters (daily budget, weekly budget, and average price for automatic strategies) are passed via the Yandex Direct API as integer numbers. The passed value is a monetary value in the advertiser's currency, multiplied by 1,000,000.

Request structure in JSON format:

{
  "method": "update",
  "params": {
    "Campaigns": [{  /* CampaignUpdateItem */
      ...
      "MobileAppCampaign": {  /* MobileAppCampaignUpdateItem */
        "BiddingStrategy": {  /* MobileAppCampaignStrategy */
          "Search": {  /* MobileAppCampaignSearchStrategy */
            "BiddingStrategyType": ( "AVERAGE_CPC" | ... | "WEEKLY_CLICK_PACKAGE" ), /* required */
            "WbMaximumClicks": {  /* StrategyMaximumClicks */
              "WeeklySpendLimit": (long),
              "BidCeiling": (long) /* nillable */
            },
            "WbMaximumAppInstalls": {  /* StrategyMaximumAppInstalls */
              "WeeklySpendLimit": (long),
              "BidCeiling": (long) /* nillable */
            },
            "AverageCpc": {  /* StrategyAverageCpc */
              "AverageCpc": (long),
              "WeeklySpendLimit": (long) /* nillable */
            },
            "AverageCpi": {  /* StrategyAverageCpi */
              "AverageCpi": (long),
              "WeeklySpendLimit": (long), /* nillable */
              "BidCeiling": (long) /* nillable */
            },
            "WeeklyClickPackage": {  /* StrategyWeeklyClickPackage */
              "ClicksPerWeek": (long),
              "AverageCpc": (long), /* nillable */
              "BidCeiling": (long) /* nillable */
            },
            "PayForInstall" : {  /* StrategyPayForInstall */
              "AverageCpi" : (long),
              "WeeklySpendLimit" : (long) /* nillable */
            }
          }, 
          "Network": {  /* MobileAppCampaignNetworkStrategy */
            "BiddingStrategyType": ( "AVERAGE_CPC" | ... | "WEEKLY_CLICK_PACKAGE" ), /* required */
            "NetworkDefault": {  /* StrategyNetworkDefault */
              "LimitPercent": (int)
            },
            "WbMaximumClicks": {  /* StrategyMaximumClicks */
              "WeeklySpendLimit": (long),
              "BidCeiling": (long) /* nillable */
            },
            "WbMaximumAppInstalls": {  /* StrategyMaximumAppInstalls */
              "WeeklySpendLimit": (long),
              "BidCeiling": (long) /* nillable */
            },
            "AverageCpc": {  /* StrategyAverageCpc */
              "AverageCpc": (long),
              "WeeklySpendLimit": (long) /* nillable */
            },
            "AverageCpi": {  /* StrategyAverageCpi */
              "AverageCpi": (long),
              "WeeklySpendLimit": (long), /* nillable */
              "BidCeiling": (long) /* nillable */
            },
            "WeeklyClickPackage": {  /* StrategyWeeklyClickPackage */
              "ClicksPerWeek": (long),
              "AverageCpc": (long), /* nillable */
              "BidCeiling": (long) /* nillable */
            },
            "PayForInstall" : {  /* StrategyPayForInstall */
              "AverageCpi" : (long),
              "WeeklySpendLimit" : (long) /* nillable */
            }
          } 
        },
        "Settings": [{  /* MobileAppCampaignSetting */
          "Option": ( "ADD_TO_FAVORITES" | ... | "REQUIRE_SERVICING" ), /* required */
          "Value": ( "YES" | "NO" ) /* required */
        }, ... ]
      }
    }, ....] /* required */
  }
}
Parameter Type Description Required
MobileAppCampaignUpdateItem structure
Settings array of MobileAppCampaignSetting Array of settings that only accept the values YES or NO. No
BiddingStrategy MobileAppCampaignStrategy Display strategy. No
MobileAppCampaignSetting structure
Option MobileAppCampaignSettingsEnum

Setting name:

Yes
Value YesNoEnum Setting value. Yes
MobileAppCampaignStrategy structure
Network MobileAppCampaignNetworkStrategy Display strategy in ad networks. No
MobileAppCampaignSearchStrategy structure
BiddingStrategyType 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
WbMaximumClicks StrategyMaximumClicks Parameters of the Optimize clicks strategy. Limit by weekly budget. When the BiddingStrategyType parameter has the value WB_MAXIMUM_CLICKS
WbMaximumAppInstalls StrategyMaximumAppInstalls Parameters of the Optimize number of app installations strategy without specifying the average CPI. When the BiddingStrategyType parameter has the value WB_MAXIMUM_APP_INSTALLS
AverageCpc StrategyAverageCpc Parameters of the Optimize clicks strategy. Limit by average CPC. When the BiddingStrategyType parameter has the value AVERAGE_CPC
WeeklyClickPackage StrategyWeeklyClickPackage

Parameters of the Optimize clicks strategy. Limit by click package.

Restriction.

The parameter is deprecated and no longer supported.

When the BiddingStrategyType parameter has the value WEEKLY_CLICK_PACKAGE
AverageCpi StrategyAverageCpi Parameters of the Optimize number of app installations strategy and keep the average CPI. When the BiddingStrategyType parameter has the value AVERAGE_CPI
PayForInstall StrategyPayForInstall Parameters of the Optimizing conversions strategy. Pay per installation. If the BiddingStrategyType parameter is set to PAY_FOR_INSTALL
MobileAppCampaignNetworkStrategy structure
BiddingStrategyType 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
NetworkDefault
Restriction.

The NETWORK_DEFAULT parameter is not supported for the HIGHEST_POSITION manual strategy.

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 BiddingStrategyType parameter has the value NETWORK_DEFAULT
WbMaximumClicks StrategyMaximumClicks Parameters of the Optimize clicks strategy. Limit by weekly budget. When the BiddingStrategyType parameter has the value WB_MAXIMUM_CLICKS
WbMaximumAppInstalls StrategyMaximumAppInstalls Parameters of the Optimize number of app installations strategy without specifying the average CPI. When the BiddingStrategyType parameter has the value WB_MAXIMUM_APP_INSTALLS
AverageCpc StrategyAverageCpc Parameters of the Optimize clicks strategy. Limit by average CPC. When the BiddingStrategyType parameter has the value AVERAGE_CPC
WeeklyClickPackage StrategyWeeklyClickPackage

Parameters of the Optimize clicks strategy. Limit by click package.

Restriction.

The parameter is deprecated and no longer supported.

When the BiddingStrategyType parameter has the value WEEKLY_CLICK_PACKAGE
AverageCpi StrategyAverageCpi Parameters of the Optimize number of app installations strategy and keep the average CPI. When the BiddingStrategyType parameter has the value AVERAGE_CPI
PayForInstall StrategyPayForInstall Parameters of the Optimizing conversions strategy. Pay per installation. If the BiddingStrategyType parameter is set to PAY_FOR_INSTALL
StrategyMaximumClicks structure
WeeklySpendLimit 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
BidCeiling 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
StrategyMaximumAppInstalls structure
WeeklySpendLimit 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
BidCeiling 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
StrategyAverageCpc structure
AverageCpc 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
WeeklySpendLimit 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
StrategyAverageCpi structure
AverageCpi 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.

No
WeeklySpendLimit 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
BidCeiling 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
StrategyPayForInstall structure
AverageCpi 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.

No
WeeklySpendLimit 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
StrategyWeeklyClickPackage structure
ClicksPerWeek long Desired number of clicks per week. No
AverageCpc 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 AverageCpc and BidCeiling parameters are mutually exclusive. If the BidCeiling parameter was set previously and now you want to set AverageCpc, make sure to simultaneously pass null (nil) for BidCeiling.
No
BidCeiling 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 AverageCpc and BidCeiling parameters are mutually exclusive. If the AverageCpc parameter was set previously and now you want to set BidCeiling, make sure to simultaneously pass null (nil) for AverageCpc.
No
StrategyNetworkDefault structure
LimitPercent 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
Parameter Type Description Required
MobileAppCampaignUpdateItem structure
Settings array of MobileAppCampaignSetting Array of settings that only accept the values YES or NO. No
BiddingStrategy MobileAppCampaignStrategy Display strategy. No
MobileAppCampaignSetting structure
Option MobileAppCampaignSettingsEnum

Setting name:

Yes
Value YesNoEnum Setting value. Yes
MobileAppCampaignStrategy structure
Search MobileAppCampaignSearchStrategy Display strategy in search results. No
Network MobileAppCampaignNetworkStrategy Display strategy in ad networks. No
MobileAppCampaignSearchStrategy structure
BiddingStrategyType 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
WbMaximumClicks StrategyMaximumClicks Parameters of the Optimize clicks strategy. Limit by weekly budget. When the BiddingStrategyType parameter has the value WB_MAXIMUM_CLICKS
WbMaximumAppInstalls StrategyMaximumAppInstalls Parameters of the Optimize number of app installations strategy without specifying the average CPI. When the BiddingStrategyType parameter has the value WB_MAXIMUM_APP_INSTALLS
AverageCpc StrategyAverageCpc Parameters of the Optimize clicks strategy. Limit by average CPC. When the BiddingStrategyType parameter has the value AVERAGE_CPC
WeeklyClickPackage StrategyWeeklyClickPackage

Parameters of the Optimize clicks strategy. Limit by click package.

Restriction.

The parameter is deprecated and no longer supported.

When the BiddingStrategyType parameter has the value WEEKLY_CLICK_PACKAGE
AverageCpi StrategyAverageCpi Parameters of the Optimize number of app installations strategy and keep the average CPI. When the BiddingStrategyType parameter has the value AVERAGE_CPI
PayForInstall StrategyPayForInstall Parameters of the Optimizing conversions strategy. Pay per installation. If the BiddingStrategyType parameter is set to PAY_FOR_INSTALL
MobileAppCampaignNetworkStrategy structure
BiddingStrategyType 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
NetworkDefault
Restriction.

The NETWORK_DEFAULT parameter is not supported for the HIGHEST_POSITION manual strategy.

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 BiddingStrategyType parameter has the value NETWORK_DEFAULT
WbMaximumClicks StrategyMaximumClicks Parameters of the Optimize clicks strategy. Limit by weekly budget. When the BiddingStrategyType parameter has the value WB_MAXIMUM_CLICKS
WbMaximumAppInstalls StrategyMaximumAppInstalls Parameters of the Optimize number of app installations strategy without specifying the average CPI. When the BiddingStrategyType parameter has the value WB_MAXIMUM_APP_INSTALLS
AverageCpc StrategyAverageCpc Parameters of the Optimize clicks strategy. Limit by average CPC. When the BiddingStrategyType parameter has the value AVERAGE_CPC
WeeklyClickPackage StrategyWeeklyClickPackage

Parameters of the Optimize clicks strategy. Limit by click package.

Restriction.

The parameter is deprecated and no longer supported.

When the BiddingStrategyType parameter has the value WEEKLY_CLICK_PACKAGE
AverageCpi StrategyAverageCpi Parameters of the Optimize number of app installations strategy and keep the average CPI. When the BiddingStrategyType parameter has the value AVERAGE_CPI
PayForInstall StrategyPayForInstall Parameters of the Optimizing conversions strategy. Pay per installation. If the BiddingStrategyType parameter is set to PAY_FOR_INSTALL
StrategyMaximumClicks structure
WeeklySpendLimit 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
BidCeiling 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
StrategyMaximumAppInstalls structure
WeeklySpendLimit 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
BidCeiling 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
StrategyAverageCpc structure
AverageCpc 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
WeeklySpendLimit 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
StrategyAverageCpi structure
AverageCpi 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.

No
WeeklySpendLimit 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
BidCeiling 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
StrategyPayForInstall structure
AverageCpi 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.

No
WeeklySpendLimit 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
StrategyWeeklyClickPackage structure
ClicksPerWeek long Desired number of clicks per week. No
AverageCpc 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 AverageCpc and BidCeiling parameters are mutually exclusive. If the BidCeiling parameter was set previously and now you want to set AverageCpc, make sure to simultaneously pass null (nil) for BidCeiling.
No
BidCeiling 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 AverageCpc and BidCeiling parameters are mutually exclusive. If the AverageCpc parameter was set previously and now you want to set BidCeiling, make sure to simultaneously pass null (nil) for AverageCpc.
No
StrategyNetworkDefault structure
LimitPercent 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