Retrieve Standard Zone Conversion Tag
curl --request GET \
--url https://api.hakumedia.ai/v2/zones/standard/{id}/conversion-tag \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.hakumedia.ai/v2/zones/standard/{id}/conversion-tag', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.hakumedia.ai/v2/zones/standard/{id}/conversion-tag"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hakumedia.ai/v2/zones/standard/{id}/conversion-tag",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"object": "conv_tag",
"data": {
"src": "https://ads.hakumedia.ai/convtrack.spark?MID=123456789",
"html": "<img />"
},
"url": "/v2/zones/standard/26548/conversion-tag"
}{
"http_status": 404,
"type": "resource_not_found_error",
"message": "Resource not found."
}Zones · Standard
Retrieve Standard Zone Conversion Tag
GET
/
zones
/
standard
/
{id}
/
conversion-tag
Retrieve Standard Zone Conversion Tag
curl --request GET \
--url https://api.hakumedia.ai/v2/zones/standard/{id}/conversion-tag \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.hakumedia.ai/v2/zones/standard/{id}/conversion-tag', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.hakumedia.ai/v2/zones/standard/{id}/conversion-tag"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hakumedia.ai/v2/zones/standard/{id}/conversion-tag",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"object": "conv_tag",
"data": {
"src": "https://ads.hakumedia.ai/convtrack.spark?MID=123456789",
"html": "<img />"
},
"url": "/v2/zones/standard/26548/conversion-tag"
}{
"http_status": 404,
"type": "resource_not_found_error",
"message": "Resource not found."
}Authorizations
API key en el header Authorization: Basic TU_API_KEY. La key va tal cual, sin codificar en base64. Las credenciales se entregan al comenzar la integración.
Path Parameters
Identifier of the resource.