View Settings

View Settings

GET https://api.ocamba.com/v2/adex/settings
Display account Settings

Response schemas

curl -X GET \
 "https://api.ocamba.com/v2/adex/settings" \
  -H "Authorization: Bearer {TOKEN}"
const url = 'https://api.ocamba.com/v2/adex/settings';
const options = {
  method: 'GET',
  headers: {
    Authorization: `Bearer {TOKEN}`
  }
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
$ch = curl_init("https://api.ocamba.com/v2/adex/settings");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
  "Authorization: Bearer {TOKEN}"
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);

Responses

200 OK

{
  "company_id": "6197120",
  "general": {
    "campaign_search_algo": "multi-armed-bandit",
    "campaign_priority": "compete",
    "exchange_num": 1
  },
  "ad_unit_size": {
    "use_only_iab": 1
  },
  "currency": {
    "default": "USD",
    "multiplier": 1.22,
    "currencies": [
      "CNY",
      "USD"
    ]
  },
  "domains": [
    {
      "id": "d1eca841-fdf3-4d77-9c92-12582018c78f",
      "name": "MyGroup",
      "click": "t.ocmant.com",
      "impression": "t.ocmant.com",
      "conversion": "t.ocmant.com",
      "feed": "feed.ocmxr.com",
      "push": "push.ocmxr.com"
    }
  ],
  "create_time": "2022-09-14 06:58:11",
  "update_time": "2022-09-19 11:59:30"
}
Responses