List Bid modifiers

List Bid modifiers

GET https://api.ocamba.com/v2/adex/bid-modifiers
Returns a list of Bid modifiers

Query parameters

parameters

Response schemas

curl -X GET \
 "https://api.ocamba.com/v2/adex/bid-modifiers" \
  -H "Authorization: Bearer {TOKEN}"
const url = 'https://api.ocamba.com/v2/adex/bid-modifiers';
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/bid-modifiers");
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": 92,
  "items": [
    {
      "id": "12344",
      "name": "DemoBidModifiers",
      "description": "My first bid modifier",
      "pricing_model": "cpc",
      "ignore_bid_strategy": 1,
      "percent_value": 12.55,
      "value": 87.32,
      "max_value": 11.03,
      "targeting": {
        "countries": {
          "items": [
            "AF"
          ],
          "op": "in"
        },
        "regions": {
          "items": [
            "114223412"
          ],
          "op": "in"
        },
        "os": {
          "items": [
            {
              "id": "12"
            }
          ]
        },
        "browsers": {
          "items": [
            {
              "id": "10"
            }
          ]
        },
        "subids": {
          "items": [
            "sub_id"
          ],
          "op": "in"
        },
        "categories": {
          "items": [
            "IAB1"
          ],
          "op": "in"
        },
        "tags": {
          "items": [
            "1010"
          ],
          "op": "in"
        },
        "containers": {
          "items": [
            "1020"
          ],
          "op": "in"
        },
        "ip": {
          "items": [
            null
          ],
          "lists": [
            "2691"
          ],
          "op": "in"
        },
        "zones": {
          "items": [
            "1003444"
          ],
          "op": "in"
        },
        "pages": {
          "items": [
            "google.com"
          ],
          "op": "in"
        },
        "device_types": {
          "items": [
            "mobile"
          ],
          "op": "in"
        },
        "device_manufacturers": {
          "items": [
            "4"
          ],
          "op": "in"
        },
        "time": {
          "items": [
            "12,13 * 2,3,4 * 0,4,5"
          ],
          "op": "in"
        },
        "languages": {
          "items": [
            "sr"
          ],
          "op": "in"
        },
        "has_user_data": 1,
        "device_tracking": 1,
        "is_webview": 1
      },
      "create_time": "2021-09-29 15:40:10",
      "update_time": "2021-11-21 12:33:51"
    }
  ]
}
Responses
Tip

Searchable fields are name and id.

Sortable fields are: name, max_value, is_default, create_time and pricing_model.

Filterable fields are: id, name, pricing_model, value, percent_value, max_value, is_default, create_time and update_time.