List Campaign limits

List Campaign limits

GET https://api.ocamba.com/v2/adex/campaigns/{id}/limits
Returns a list of Campaign limits

Path parameters

parameters

Query parameters

parameters

Response schemas

curl -X GET \
 "https://api.ocamba.com/v2/adex/campaigns/{id}/limits" \
  -H "Authorization: Bearer {TOKEN}"
const url = 'https://api.ocamba.com/v2/adex/campaigns/{id}/limits';
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/campaigns/{id}/limits");
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

{
  "total": 3,
  "items": 
  {
    "id": "7005",
    "company_id": "6197120",
    "campaign_id": "1012346",
    "type": "frequency",
    "item": "impressions",
    "period": "day",
    "value": 123412412,
    "create_time": "2023-08-09 09:52:00",
    "update_time": "2023-08-09 09:56:28" 
    },
    {
    "id": "7004",
    "company_id": "6197120",
    "campaign_id": "1012346",
    "type": "budget",
    "item": "expense",
    "period": "month",
    "value": 4000000000,
    "create_time": "2023-08-09 09:47:58",
    "update_time": "2023-08-09 09:47:58"
    }, 
    {
    "id": "7003",
    "company_id": "6197120",
    "campaign_id": "1012346",
    "type": "budget",
    "item": "expense",
    "period": "hour",
    "value": 129470182,
    "create_time": "2023-08-09 09:44:44",
    "update_time": "2023-08-09 09:44:44"
    }
  }
Responses

Tip
Searchable field is id. Sortable fields are type, period, value, create_time and update_time.
Info
The response example is representing a full view.