Update Settings


                https://api.ocamba.com/v2/adex/settings
            

Updates the Settings. Any parameters not provided will be left unchanged


Name
Description
ad_unit_sizeobjectrequired

Name
Description
use_only_iabnumber (integer)
Is only iab format used. Accepted values are 0 and 1.

currencyobjectrequired

Name
Description
currencies[ string ]
List of all supported currencies. Max 10 items. Must be valid 3-letter uppercase currency code supported by ocamba platform.


Example: USD

multipliernumber
Multiplier for used currencies. Value must be between 0.1 and 2.


Example: 1

Default: 1

generalobjectrequired

Name
Description
campaign_prioritystring
Campaign priority. Accepted values are local backfill, unfilled and compete.


Example: compete

Default: compete

campaign_search_algostring
Algorythm used for campaign search. Accepted values are round-robinn, multi-armed-bandit and internal-sort-by-bid.


Example: round-robin

Default: round-robin

exchange_numinteger
Exchange number. Accepted values are 1, 4, 8 and 12.


Example: 1

Default: 1

204 - No Content
Arrow
note
1 USD currency can't be removed.

2 In order to edit the multiplier you need to involve more currencies.
200 Arrow
{
    "company_id": "6197120",
    "general": {
        "campaign_search_algo": "round-robin",
        "campaign_priority": "local",
        "exchange_num": 1
    },
    "ad_unit_size": {
        "use_only_iab": 1
    },
    "currency": {
        "default": "USD",
        "multiplier": 1.12,
        "currencies": [
            "USD"
        ]
    },
    "domains": [
      {
          "name": "MyGroup",
          "click": "t.ocmant.com",
          "impression": "t.ocmant.com",
          "conversion": "t.ocmant.com",
          "feed": "feed.ocmxr.com",
          "push": "push.ocmxr.com"
      }
    ]
}