Set banner country pricing
Creates or updates a country-specific price override for the specified banner.
https://YOUR-NETWORK-DOMAIN/rest-api/banner/{bannerId}/pricing/{countryCode}.do Creates or updates a country-specific price override for the specified banner. The banner must already have a base pricing record configured. The country code must be a valid ISO 3166 two-letter code; it is case-insensitive (us and US are the same row), and Great Britain is stored and read back as UK, GB being accepted for it. price is required and must be between 0 and 1000000; a missing or out-of-range price is answered with a 400 naming it and nothing is written. On a CPA banner, actionId prices one conversion action in that country (an action the caller can see in the console's action list); without it the price is for every action. On any other pricing type actionId does not apply and is listed in ignoredFields. Requires UPDATE permission and MANAGE_PRICING permission.
Path Params
bannerId integer required
ID of the banner to set country pricing for
3001 countryCode string required
ISO 3166 two-letter country code (e.g., US, GB)
US Form Params
price number required
Price for the country, 0 to 1000000
1.75 actionId integer
CPA banners only: the conversion action this country price is for; omit to price every action
42 Responses
200
Country pricing updated
400
Missing or out-of-range price, unknown country, or no base pricing yet
401
Authentication error
403
Not enough permissions
404
Banner not found, or actionId names no action the caller can see