Browse the help center

Update banner CPA action pricing

Creates or updates the CPA action pricing for the specified banner.

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

Creates or updates the CPA action pricing for the specified banner. Identifies the action by either actionKey or actionName (key takes precedence). If no CPA pricing record exists, one is created automatically. 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. Only an action the caller can see in the console's action list can be priced; any other is answered as an unknown one. Requires UPDATE permission on the banner's advertiser and MANAGE_PRICING permission, and CPA_PRICING_TYPE when the banner has no pricing yet.

Path Params

bannerId integer required

ID of the banner

3001

Form Params

price number required

Action price value, 0 to 1000000

1.5

actionName string

Name of the action to price

registration

actionKey string

Key of the action to price (takes precedence over actionName)

reg_complete

Responses

200

Action pricing updated

400

Invalid request, banner not found, or pricing type is not CPA

401

Authentication error

403

Not enough permissions

404

No action the caller can see matches actionKey/actionName

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.