Create Campaign pricing


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

Creates a new Campaign pricing object


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)required
Repeated conversion feature, if enabled, repeated conversion will be accepted and taken into account.


Example: 1

Possible values: 0 | 1

currency_codestringrequired
Three-letter currency code.


Example: USD

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


Example: exact-value

Possible values: exact-value | percent

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


Example: 5
200 Arrow
{
    "currency_code": "USD",
    "price": 1,
    "conversion_repeat": "1",
    "modifier_type": "exact-value",
    "modifiers": [
        {
            "value": -0.5,
            "countries": ["RS"]
        },
        {
            "value": 0.5,
            "countries": ["US"]
        }
    ]
}
201 Arrow
{
    "company_id": "6197120",
    "campaign_id": "1010782",
    "currency_code": "USD",
    "price": 1,
    "conversion_repeat": "1",
    "modifier_type": "exact-value",
    "modifiers": [
        {
            "id": "f7d84d7b-3fe5-4a86-a30a-2423e2ea8a2f",
            "value": -0.5,
            "countries": [
                "RS"
            ]
        },
        {
            "id": "4ab6575e-a118-4ede-b57b-1e67a1891706",
            "value": 0.5,
            "countries": [
                "US"
            ]
        }
    ]
}