List Bid strategies
List Bid strategies
GET
https://api.ocamba.com/v2/adex/bid-strategies
Display a list of existing bid strategies
Query parameters
parametersResponse schemas
โบ
200
application/json
GET https://api.ocamba.com/v2/adex/bid-strategies HTTP/1.1
Host: api.ocamba.com
Authorization: Bearer YOUR_SECRET_TOKEN
curl -X GET "https://api.ocamba.com/v2/adex/bid-strategies" \
-H "Authorization: Bearer $TOKEN"
fetch("https://api.ocamba.com/v2/adex/bid-strategies", {
method: "GET",
headers: { Authorization: `Bearer ${TOKEN}` }
}).then(r => r.json());
$ch = curl_init("https://api.ocamba.com/v2/adex/bid-strategies");
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
HTTP/1.1 200 OK
Content-Type: application/json
{
"total": 1,
"items": [
{
"id": "10000",
"name": "DemoBidStrategy",
"pricing_model": "cpc",
"type": "internal",
"strategy": "exact",
"value": 87.32,
"max_value": 11.03,
"create_time": "2021-09-29 15:40:10",
"update_time": "2021-09-29 15:40:10"
}
]
}
Responses
Tip
1
Searchable fields are name and id.
2
Sortable fields are: name, value, max_value, strategy, is_default, create_time and update_time.
3
Filterable fields are: id, name, pricing_model, is_default, percent_value, max_value, is_default, create_time and update_time.