Company Ads
curl --request GET \
--url https://api.sociavault.com/v1/scrape/google-ad-library/company-ads \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.sociavault.com/v1/scrape/google-ad-library/company-ads"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.sociavault.com/v1/scrape/google-ad-library/company-ads', 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.sociavault.com/v1/scrape/google-ad-library/company-ads",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-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"
"net/http"
"io"
)
func main() {
url := "https://api.sociavault.com/v1/scrape/google-ad-library/company-ads"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.sociavault.com/v1/scrape/google-ad-library/company-ads")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sociavault.com/v1/scrape/google-ad-library/company-ads")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"success": true,
"ads": {
"0": {
"advertiserId": "AR01614014350098432001",
"creativeId": "CR16304891583101140993",
"format": "image",
"adUrl": "https://adstransparency.google.com/advertiser/AR01614014350098432001/creative/CR16304891583101140993",
"advertiserName": "lululemon athletica canada inc.",
"domain": "lululemon.com",
"imageUrl": null,
"firstShown": "2026-01-13T21:55:14.000Z",
"lastShown": "2026-02-08T23:43:47.000Z"
}
},
"cursor": "CgoAP7zm1p%2BmCBpjEhBHJahAmRTF8HhdvzwAAAAAGgn8%2BH7I%2BNOQAlw%3D"
},
"credits_used": 1
}{
"error": "Missing required parameter: handle",
"endpoint": "<string>",
"credits_required": 123
}{
"error": "Invalid API key",
"docs": "https://docs.sociavault.com/authentication"
}{
"error": "Insufficient credits",
"required": 1,
"available": 0
}{
"error": "Service configuration error"
}Google Ad Library
Company Ads
Get public ads for a company from the Google Ad Transparency Library. Only publicly accessible ads are returned — login-gated ads cannot be retrieved. Ad text is extracted via OCR, so response times may be slightly longer.
GET
/
v1
/
scrape
/
google-ad-library
/
company-ads
Company Ads
curl --request GET \
--url https://api.sociavault.com/v1/scrape/google-ad-library/company-ads \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.sociavault.com/v1/scrape/google-ad-library/company-ads"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.sociavault.com/v1/scrape/google-ad-library/company-ads', 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.sociavault.com/v1/scrape/google-ad-library/company-ads",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-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"
"net/http"
"io"
)
func main() {
url := "https://api.sociavault.com/v1/scrape/google-ad-library/company-ads"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.sociavault.com/v1/scrape/google-ad-library/company-ads")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sociavault.com/v1/scrape/google-ad-library/company-ads")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"success": true,
"ads": {
"0": {
"advertiserId": "AR01614014350098432001",
"creativeId": "CR16304891583101140993",
"format": "image",
"adUrl": "https://adstransparency.google.com/advertiser/AR01614014350098432001/creative/CR16304891583101140993",
"advertiserName": "lululemon athletica canada inc.",
"domain": "lululemon.com",
"imageUrl": null,
"firstShown": "2026-01-13T21:55:14.000Z",
"lastShown": "2026-02-08T23:43:47.000Z"
}
},
"cursor": "CgoAP7zm1p%2BmCBpjEhBHJahAmRTF8HhdvzwAAAAAGgn8%2BH7I%2BNOQAlw%3D"
},
"credits_used": 1
}{
"error": "Missing required parameter: handle",
"endpoint": "<string>",
"credits_required": 123
}{
"error": "Invalid API key",
"docs": "https://docs.sociavault.com/authentication"
}{
"error": "Insufficient credits",
"required": 1,
"available": 0
}{
"error": "Service configuration error"
}💳 1 credit per request
Authorizations
Query Parameters
The domain of the company
Example:
"lululemon.com"
The advertiser id of the company
Example:
"AR01614014350098432001"
The topic to search for. If you search for 'political', you will also need to pass a 'region', like 'US' or 'AU'
Available options:
all, political Example:
"all"
The region to search for. Defaults to anywhere
Example:
"US"
Start date to search for. Format: YYYY-MM-DD
Example:
"2025-08-01"
End date to search for. Format: YYYY-MM-DD
Example:
"2025-08-11"
Cursor to paginate through results
Example:
"CgoAP7znOo9RPjf%2FEhD5utgx8m75NrTTbU0AAAAAGgn8%2BJyW%2BJQK40A%3D"
Response
Successful response
Key Response Fields:
ads[0].advertiserId: Unique advertiser identifier (e.g.AR01614014350098432001)ads[0].creativeId: Unique creative identifier (e.g.CR16304891583101140993)ads[0].format: Ad format type (image,video,text)ads[0].adUrl: Direct link to the ad on Google Ads Transparencyads[0].advertiserName: Display name of the advertiserads[0].domain: Advertiser's domain (e.g.lululemon.com)ads[0].imageUrl: URL of the ad's image (may benull)ads[0].firstShown: ISO 8601 timestamp of when the ad first ranads[0].lastShown: ISO 8601 timestamp of when the ad last rancursor: Opaque token to paginate to the next page of results