Browse the help center

Update banner pricing

Creates or updates the pricing configuration for the specified banner.

Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/banner/{bannerId}/pricing.do

Creates or updates the pricing configuration for the specified banner. Accepts price (double, 0 to 1000000), pricingType (CPM, CPC, or CPA), paymentModel (REVENUE_SHARE or FIXED_PRICE) and useGlobalActionPricing as form parameters. Only the fields sent are changed; the rest keep their stored values (an empty price clears the banner's own price). If no pricing record exists for this banner, a new one is created with FIXED_PRICE, CPM and no price for whatever is not sent. Requires UPDATE permission on the banner's advertiser and MANAGE_PRICING permission, and setting a pricing type (including the CPM of a new record) requires that type's permission, e.g. CPM_PRICING_TYPE.

Path Params

bannerId integer required

ID of the banner to update pricing for

3001

Form Params

paymentModel string

Payment model (FIXED_PRICE, REVENUE_SHARE)

FIXED_PRICE

price number

Price value in the selected pricing type; null when no global price is set

2.50

pricingType string

Pricing type (CPM, CPC, CPA, COST_PER_DAY, COST_PER_MONTH)

CPM

useGlobalActionPricing boolean

Whether to use global action pricing from the action definition

true

Responses

200

Banner pricing updated

400

Invalid request, e.g. a price out of range, naming the field

401

Authentication error

403

Not enough permissions

404

Banner not found

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.