查找公司广告
curl --request POST \
--url https://api.pubrio.com/companies/advertisements/lookup \
--header 'Content-Type: application/json' \
--header 'pubrio-api-key: <api-key>' \
--data '
{
"advertisement_search_id": "a92643e8-9033-4029-aa65-ef929327cebb",
"profile_id": 123,
"is_include_unlinked_companies": true
}
'import requests
url = "https://api.pubrio.com/companies/advertisements/lookup"
payload = {
"advertisement_search_id": "a92643e8-9033-4029-aa65-ef929327cebb",
"profile_id": 123,
"is_include_unlinked_companies": True
}
headers = {
"pubrio-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'pubrio-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
advertisement_search_id: 'a92643e8-9033-4029-aa65-ef929327cebb',
profile_id: 123,
is_include_unlinked_companies: true
})
};
fetch('https://api.pubrio.com/companies/advertisements/lookup', 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.pubrio.com/companies/advertisements/lookup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'advertisement_search_id' => 'a92643e8-9033-4029-aa65-ef929327cebb',
'profile_id' => 123,
'is_include_unlinked_companies' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"pubrio-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.pubrio.com/companies/advertisements/lookup"
payload := strings.NewReader("{\n \"advertisement_search_id\": \"a92643e8-9033-4029-aa65-ef929327cebb\",\n \"profile_id\": 123,\n \"is_include_unlinked_companies\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("pubrio-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.pubrio.com/companies/advertisements/lookup")
.header("pubrio-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"advertisement_search_id\": \"a92643e8-9033-4029-aa65-ef929327cebb\",\n \"profile_id\": 123,\n \"is_include_unlinked_companies\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pubrio.com/companies/advertisements/lookup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["pubrio-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"advertisement_search_id\": \"a92643e8-9033-4029-aa65-ef929327cebb\",\n \"profile_id\": 123,\n \"is_include_unlinked_companies\": true\n}"
response = http.request(request)
puts response.read_body{
"data": {
"headline": "Thuraya-4 Satellite Solutions for Government",
"description": "Thuraya-4 provides secure, always-on connectivity for vehicles, aircraft and command centers, ensuring mission continuity. \n\nLearn more about our satellite-powered government solutions.",
"poster": "Space42",
"poster_title": "Promoted",
"promoted_by": null,
"cta": "Learn more",
"target_country_codes": [
"MM",
"..."
],
"target_locations": [
"United Arab Emirates",
"..."
],
"total_impressions": "10k-20k",
"impression_countries": [
{
"country": "India",
"impressions": "19%"
},
"..."
],
"advertisement_id": "a92643e8-9033-4029-aa65-ef929327cebb",
"advertisement_search_id": "a92643e8-9033-4029-aa65-ef929327cebb",
"created_at": "2026-03-03T01:01:31.134Z",
"last_modified": "2026-03-03T13:01:22.805Z",
"started_at": "2026-02-25T00:00:00.000Z",
"ended_at": "2026-03-02T00:00:00.000Z",
"title": "Thuraya-4 Satellite Solutions for Government",
"source_type": "linkedin",
"advertisement_format": "Single Image Ad",
"video_url": null,
"image_url": "https://buckets.pubrio.com/images/public/qDf8TrjHJw9o8xFoQJv7vhnkLXNYKy1ThNVCWSHPmgHG5j7U4EroKtH4cYJcHCzTSh.jpg",
"carousel_images": null,
"destination_url": "https://www.thuraya.com/en/thuraya-4-ngs/home/index.html?trk=ad_library_ad_preview_headline_content",
"companies": {
"logo_url": "https://buckets.pubrio.com/company-logo/MjA3NTQ4NjQyM2lsajlzc25qMXNwYWNlNDIuYWlsaW5rZWRpbl82NDIyMjM3NA==.jpg",
"domain_search_id": "fe3963dc-87a4-4016-8c95-217ea68cd57a",
"company_name": "Space42",
"linkedin_name": "space42ai",
"country_code": "AE",
"domain": "space42.ai"
},
"raw_link_url": null,
"publisher_platforms": null
}
}{
"code": 40001,
"message": "错误及代码会根据不同场景有所不同,详情请参阅文档。",
"details": {}
}{
"error": "请求频率超出限制。请稍后再试。"
}{
"error": "服务器在处理请求时遇到了未预料的异常。"
}查询
公司广告查询
使用广告搜索 ID 获取特定公司的广告详情。 响应包含解析后的 destination_url、原始 raw_link_url,以及(针对 Meta 广告的)publisher_platforms。
POST
/
companies
/
advertisements
/
lookup
查找公司广告
curl --request POST \
--url https://api.pubrio.com/companies/advertisements/lookup \
--header 'Content-Type: application/json' \
--header 'pubrio-api-key: <api-key>' \
--data '
{
"advertisement_search_id": "a92643e8-9033-4029-aa65-ef929327cebb",
"profile_id": 123,
"is_include_unlinked_companies": true
}
'import requests
url = "https://api.pubrio.com/companies/advertisements/lookup"
payload = {
"advertisement_search_id": "a92643e8-9033-4029-aa65-ef929327cebb",
"profile_id": 123,
"is_include_unlinked_companies": True
}
headers = {
"pubrio-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'pubrio-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
advertisement_search_id: 'a92643e8-9033-4029-aa65-ef929327cebb',
profile_id: 123,
is_include_unlinked_companies: true
})
};
fetch('https://api.pubrio.com/companies/advertisements/lookup', 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.pubrio.com/companies/advertisements/lookup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'advertisement_search_id' => 'a92643e8-9033-4029-aa65-ef929327cebb',
'profile_id' => 123,
'is_include_unlinked_companies' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"pubrio-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.pubrio.com/companies/advertisements/lookup"
payload := strings.NewReader("{\n \"advertisement_search_id\": \"a92643e8-9033-4029-aa65-ef929327cebb\",\n \"profile_id\": 123,\n \"is_include_unlinked_companies\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("pubrio-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.pubrio.com/companies/advertisements/lookup")
.header("pubrio-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"advertisement_search_id\": \"a92643e8-9033-4029-aa65-ef929327cebb\",\n \"profile_id\": 123,\n \"is_include_unlinked_companies\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pubrio.com/companies/advertisements/lookup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["pubrio-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"advertisement_search_id\": \"a92643e8-9033-4029-aa65-ef929327cebb\",\n \"profile_id\": 123,\n \"is_include_unlinked_companies\": true\n}"
response = http.request(request)
puts response.read_body{
"data": {
"headline": "Thuraya-4 Satellite Solutions for Government",
"description": "Thuraya-4 provides secure, always-on connectivity for vehicles, aircraft and command centers, ensuring mission continuity. \n\nLearn more about our satellite-powered government solutions.",
"poster": "Space42",
"poster_title": "Promoted",
"promoted_by": null,
"cta": "Learn more",
"target_country_codes": [
"MM",
"..."
],
"target_locations": [
"United Arab Emirates",
"..."
],
"total_impressions": "10k-20k",
"impression_countries": [
{
"country": "India",
"impressions": "19%"
},
"..."
],
"advertisement_id": "a92643e8-9033-4029-aa65-ef929327cebb",
"advertisement_search_id": "a92643e8-9033-4029-aa65-ef929327cebb",
"created_at": "2026-03-03T01:01:31.134Z",
"last_modified": "2026-03-03T13:01:22.805Z",
"started_at": "2026-02-25T00:00:00.000Z",
"ended_at": "2026-03-02T00:00:00.000Z",
"title": "Thuraya-4 Satellite Solutions for Government",
"source_type": "linkedin",
"advertisement_format": "Single Image Ad",
"video_url": null,
"image_url": "https://buckets.pubrio.com/images/public/qDf8TrjHJw9o8xFoQJv7vhnkLXNYKy1ThNVCWSHPmgHG5j7U4EroKtH4cYJcHCzTSh.jpg",
"carousel_images": null,
"destination_url": "https://www.thuraya.com/en/thuraya-4-ngs/home/index.html?trk=ad_library_ad_preview_headline_content",
"companies": {
"logo_url": "https://buckets.pubrio.com/company-logo/MjA3NTQ4NjQyM2lsajlzc25qMXNwYWNlNDIuYWlsaW5rZWRpbl82NDIyMjM3NA==.jpg",
"domain_search_id": "fe3963dc-87a4-4016-8c95-217ea68cd57a",
"company_name": "Space42",
"linkedin_name": "space42ai",
"country_code": "AE",
"domain": "space42.ai"
},
"raw_link_url": null,
"publisher_platforms": null
}
}{
"code": 40001,
"message": "错误及代码会根据不同场景有所不同,详情请参阅文档。",
"details": {}
}{
"error": "请求频率超出限制。请稍后再试。"
}{
"error": "服务器在处理请求时遇到了未预料的异常。"
}请求体
application/json
广告搜索结果的唯一标识符。用于引用从广告搜索端点返回的特定广告。
示例:
"a92643e8-9033-4029-aa65-ef929327cebb"
可选。发起请求的团队标识符。由于 API 密钥已包含您的工作区信息,此参数不再是必填项。如果提供,该 ID 有助于将查找与特定团队(工作区)关联,实现数据检索和额度追踪。
更多信息请参见团队标签下的 user details 端点。
包含尚未关联到已识别公司的广告(原始层广告,例如诈骗或临时专页广告)。默认为 false,仅返回已关联公司的广告。
示例:
true
响应
包含公司广告详细信息的成功响应。
响应信息取决于具体接口。
⌘I

