Update Campaign pricing


                https://api.ocamba.com/v2/adex/campaigns/{id}/pricing
            

Updates the specific Campaign pricing by setting the values of the parameters passed. Any parameters not provided will be left unchanged


Name
Description
campaign_idintegerrequired
Unique campaign identifier for the object defined as a path parameter.


Example: 1234142

Name
Description
conversion_idstring
Only applicable on CPA campaigns.


Example: 12342

conversion_repeatnumber (integer)
Repeated conversion feature, if enabled, repeated conversion will be accepted and taken into account.


Example: 1

Possible values: 0 | 1

currency_codestring
Three-letter currency code.


Example: USD

modifier_typestring
Describes strategy how you want to apply modifier value to the base price.


Example: exact-value

Possible values: exact-value | percent

modifiers[ modifier ]
Array of Modifiers object.
Modifier
Name
Description
categories[ string ]
Array of IAB categories.


Example: IAB1-1,IAB2-1

countries[ string ]
Array of countries targets.


Example: RS, JP

subid[ string ]
Array of subid targets.


Example: lux_w10_0203-BERNIE-905

valuefloat
Modifier value.


Example: 1.2

pricefloat
Base price. Minimum value: 0.001. Maximum value: 1000.


Example: 5

204 - No Content
Arrow

note
1 At least one of the updatable fields should be sent via HTTP body in order to change the current state of the campaigns pricing.
tip
1 If you don't know the campaign id, list the campaigns pricing to find it.

200 Arrow
{
    "price": 2.1,
    "conversion_repeat": "1",
    "modifiers": [
        {
            "value": 0.1,
            "countries": ["RS"]
        },
        {
            "value": 0.2,
            "countries": ["US"]
        }
    ]
}