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
bannerIdintegerrequired
ID of the banner
3001
Form Params
pricenumberrequired
Action price value, 0 to 1000000
1.5
actionNamestring
Name of the action to price
registration
actionKeystring
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