Browse the help center

Update campaign action pricing

Sets or updates the CPA price for a specific action within the campaign's pricing.

Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/campaign/{campaignId}/campaignPricing/actionPricing.do

Sets or updates the CPA price for a specific action within the campaign's pricing. The action can be identified by either its name (actionName) or its unique key (actionKey). If campaign pricing does not yet exist, it is created with CPA pricing type and FIXED_PRICE payment model, which needs the CPA_PRICING_TYPE permission. If pricing already exists, it must be of CPA type; otherwise a 400 error is returned. 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.

Path Params

campaignId integer required

Unique identifier of the campaign

2001

Form Params

price number required

CPA price for the action, 0 to 1000000

2.50

actionName string

Name of the action to set pricing for (alternative to actionKey)

registration

actionKey string

Unique key of the action to set pricing for (alternative to actionName)

reg_complete

Responses

200

Action pricing updated

400

Wrong request format or invalid parameters

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.