curl --request GET \
--url https://api.01ads.com/v1/integrations/providers/{provider} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.01ads.com/v1/integrations/providers/{provider}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.01ads.com/v1/integrations/providers/{provider}', 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.01ads.com/v1/integrations/providers/{provider}",
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.01ads.com/v1/integrations/providers/{provider}"
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.01ads.com/v1/integrations/providers/{provider}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.01ads.com/v1/integrations/providers/{provider}")
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{
"id": "the_trade_desk",
"name": "The Trade Desk",
"category": "dsp",
"authMethod": "credentials",
"availability": "available",
"stage": "available",
"settingsFields": [
{
"key": "ttdUrl",
"label": "Data endpoint URL",
"type": "url",
"required": false,
"secret": false,
"default": "https://usw-data.adsrvr.org/data/advertiser",
"help": "The first-party data endpoint of the advertiser."
}
],
"connectFields": [
{
"key": "advertiserId",
"label": "Advertiser id",
"type": "text",
"required": true,
"secret": true
},
{
"key": "advertiserKey",
"label": "Advertiser key",
"type": "password",
"required": true,
"secret": true
}
],
"instructions": "1. In The Trade Desk, open the advertiser and note its **Advertiser id** and **Advertiser key**.",
"docsUrl": "https://partner.thetradedesk.com/v3/portal/data/doc/DataFirstPartyOverview"
}{
"type": "about:blank",
"title": "Unauthorized",
"status": 401,
"detail": "Authentication required. Sign in and try again.",
"instance": "/v1/organizations",
"requestId": "2f6a9c3d-1e4b-4a8c-b7d2-5e0f1a2b3c4d"
}Describe an integration provider
The provider’s settings and connect fields as data, so a client knows what to send before creating or connecting an integration (ADR-0050). An unknown id is a validation failure that lists the known ids.
curl --request GET \
--url https://api.01ads.com/v1/integrations/providers/{provider} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.01ads.com/v1/integrations/providers/{provider}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.01ads.com/v1/integrations/providers/{provider}', 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.01ads.com/v1/integrations/providers/{provider}",
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.01ads.com/v1/integrations/providers/{provider}"
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.01ads.com/v1/integrations/providers/{provider}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.01ads.com/v1/integrations/providers/{provider}")
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{
"id": "the_trade_desk",
"name": "The Trade Desk",
"category": "dsp",
"authMethod": "credentials",
"availability": "available",
"stage": "available",
"settingsFields": [
{
"key": "ttdUrl",
"label": "Data endpoint URL",
"type": "url",
"required": false,
"secret": false,
"default": "https://usw-data.adsrvr.org/data/advertiser",
"help": "The first-party data endpoint of the advertiser."
}
],
"connectFields": [
{
"key": "advertiserId",
"label": "Advertiser id",
"type": "text",
"required": true,
"secret": true
},
{
"key": "advertiserKey",
"label": "Advertiser key",
"type": "password",
"required": true,
"secret": true
}
],
"instructions": "1. In The Trade Desk, open the advertiser and note its **Advertiser id** and **Advertiser key**.",
"docsUrl": "https://partner.thetradedesk.com/v3/portal/data/doc/DataFirstPartyOverview"
}{
"type": "about:blank",
"title": "Unauthorized",
"status": 401,
"detail": "Authentication required. Sign in and try again.",
"instance": "/v1/organizations",
"requestId": "2f6a9c3d-1e4b-4a8c-b7d2-5e0f1a2b3c4d"
}Authorizations
Session token as Authorization: Bearer (the CLI and scripts).
Path Parameters
the_trade_desk, amazon_dsp, walmart_dsp, beeswax, google_dv360, openx, google_ad_manager, google_ads, meta, tiktok, snapchat, x, reddit, openai_ads, roku, iqm, yahoo_dsp, mediamath, linkedin, pinterest Response
The provider, its field specs, and its instructions
the_trade_desk, amazon_dsp, walmart_dsp, beeswax, google_dv360, openx, google_ad_manager, google_ads, meta, tiktok, snapchat, x, reddit, openai_ads, roku, iqm, yahoo_dsp, mediamath, linkedin, pinterest "google_ads"
"Google Ads"
dsp, ssp, wg oauth, credentials Whether integrations can be created here: available; not_configured when this platform lacks the OAuth application or developer token the provider needs; coming_soon for catalog placeholders
available, not_configured, coming_soon available, or coming_soon for a catalog placeholder
available, coming_soon What settings accepts on POST …/integrations and PATCH …/integrations/{id}; never secret
Show child attributes
Show child attributes
What the connecting party enters: the body of POST …/integrations/{id}/credentials for a credentials provider; the fields asked before consent (POST …/integrations/{id}/oauth or the connect page) for an OAuth provider
Show child attributes
Show child attributes
Markdown shown to the connecting party
Was this page helpful?