List Conversions
List Conversions
GET
https://api.ocamba.com/v2/adex/conversions
Returns a list of Conversions
Tip
Searchable fields are name and description.
Sortable fields are name, status, duplication_policy, method, event_counter and create_time.
Filterable fields are id, name, status, duplication_policy, method, event_counter, create_time and update_time.
Query parameters
parametersResponse schemas
›
200
application/json
curl -X GET \
"https://api.ocamba.com/v2/adex/conversions" \
-H "Authorization: Bearer {TOKEN}"const url = 'https://api.ocamba.com/v2/adex/conversions';
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/conversions");
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": "31",
"items": [
{
"id": "13421",
"name": "test",
"company_id": "6197120",
"account_id": "6197120",
"status": "active",
"method": "pixel",
"duplication_policy": 1,
"event_counter": "2",
"create_time": "2023-07-31 06:12:31",
"update_time": "2023-07-31 11:13:29"
},
{
"id": "13422",
"name": "demo",
"company_id": "6197120",
"account_id": "6197120",
"status": "active",
"method": "pixel",
"duplication_policy": 0,
"event_counter": "0",
"create_time": "2023-07-28 12:40:31",
"update_time": "2023-07-31 10:40:47"
},
{
"id": "13451",
"name": "123",
"company_id": "6197120",
"account_id": "6197120",
"status": "active",
"method": "pixel",
"duplication_policy": 0,
"event_counter": "0",
"create_time": "2023-07-28 12:29:35",
"update_time": "2023-07-28 12:36:10"
}
]
}
Responses