List an organisation's mappable integrations
Lists every integration that can be mapped on an organisation, with the fields that can be set at organisation level, including integrations with nothing set yet. Covers the integrations the organisation can use: its own, its parent organisations’ and the platform’s own organisation’s, less any hidden from it or excluded by their owners’ filters. Integrations whose module doesn’t load are left out. As every integration has the built-in approved field, which can be set on an organisation, every other integration is listed. Fields you can’t set are included with readonly true: values worked out from context, and fields only the integration’s owner can set when you aren’t the owner. The built-in approved field comes last and only the owner can set it. The organisation must be your own or one below it.
curl --request GET \
--url https://api.tagdeliver.com/v1/organisation/{id}/mapping/integrations \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.tagdeliver.com/v1/organisation/{id}/mapping/integrations"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.tagdeliver.com/v1/organisation/{id}/mapping/integrations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tagdeliver.com/v1/organisation/{id}/mapping/integrations",
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: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.tagdeliver.com/v1/organisation/{id}/mapping/integrations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.tagdeliver.com/v1/organisation/{id}/mapping/integrations")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tagdeliver.com/v1/organisation/{id}/mapping/integrations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"results": [
{
"integration_id": "gjdi10",
"platform": "Criteo",
"platform_name": "Criteo",
"account_name": "Criteo",
"source": "default",
"logo": "https://cdn.example.com/integrations/criteo.svg",
"logo_dark": "https://cdn.example.com/integrations/criteo-dark.svg",
"fields": [
{
"key": "networkId",
"schema": {
"type": "string",
"title": "Network ID"
},
"required": true,
"levels": [
"integration",
"ad_stack",
"organisation",
"publisher",
"config"
]
},
{
"key": "zoneId",
"schema": {
"type": "string",
"title": "Zone ID"
},
"required": true,
"levels": [
"integration",
"ad_stack",
"organisation",
"publisher",
"config"
]
},
{
"key": "pubid",
"schema": {
"type": "string",
"title": "Pub ID"
},
"required": false,
"levels": [
"integration",
"ad_stack",
"organisation",
"publisher",
"config"
],
"readonly": true,
"owner_only": true
},
{
"key": "approved",
"schema": {
"title": "Approved",
"type": "boolean",
"description": "Whether this integration runs for the publisher. Unset means approved. To approve publishers one by one, set No at integration level, then Yes for each organisation or publisher you approve."
},
"required": false,
"levels": [
"integration",
"organisation",
"publisher"
],
"builtin": true,
"wnm_allowed": false,
"readonly": true
}
]
}
],
"success": true
}{
"success": false,
"message": "Token not found."
}{
"success": false,
"message": "User forbidden"
}{
"success": false,
"message": "Resource not found"
}{
"status": 500,
"message": "An error occurred [4f2k], please try again shortly or contact your account manager for further assistance."
}Authorizations
Was this page helpful?
curl --request GET \
--url https://api.tagdeliver.com/v1/organisation/{id}/mapping/integrations \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.tagdeliver.com/v1/organisation/{id}/mapping/integrations"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.tagdeliver.com/v1/organisation/{id}/mapping/integrations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tagdeliver.com/v1/organisation/{id}/mapping/integrations",
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: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.tagdeliver.com/v1/organisation/{id}/mapping/integrations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.tagdeliver.com/v1/organisation/{id}/mapping/integrations")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tagdeliver.com/v1/organisation/{id}/mapping/integrations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"results": [
{
"integration_id": "gjdi10",
"platform": "Criteo",
"platform_name": "Criteo",
"account_name": "Criteo",
"source": "default",
"logo": "https://cdn.example.com/integrations/criteo.svg",
"logo_dark": "https://cdn.example.com/integrations/criteo-dark.svg",
"fields": [
{
"key": "networkId",
"schema": {
"type": "string",
"title": "Network ID"
},
"required": true,
"levels": [
"integration",
"ad_stack",
"organisation",
"publisher",
"config"
]
},
{
"key": "zoneId",
"schema": {
"type": "string",
"title": "Zone ID"
},
"required": true,
"levels": [
"integration",
"ad_stack",
"organisation",
"publisher",
"config"
]
},
{
"key": "pubid",
"schema": {
"type": "string",
"title": "Pub ID"
},
"required": false,
"levels": [
"integration",
"ad_stack",
"organisation",
"publisher",
"config"
],
"readonly": true,
"owner_only": true
},
{
"key": "approved",
"schema": {
"title": "Approved",
"type": "boolean",
"description": "Whether this integration runs for the publisher. Unset means approved. To approve publishers one by one, set No at integration level, then Yes for each organisation or publisher you approve."
},
"required": false,
"levels": [
"integration",
"organisation",
"publisher"
],
"builtin": true,
"wnm_allowed": false,
"readonly": true
}
]
}
],
"success": true
}{
"success": false,
"message": "Token not found."
}{
"success": false,
"message": "User forbidden"
}{
"success": false,
"message": "Resource not found"
}{
"status": 500,
"message": "An error occurred [4f2k], please try again shortly or contact your account manager for further assistance."
}