Company Ads
Immutable Catalog Entry
This descriptor comes from the active versioned Portal catalog.
- Contract tier:
legacy - Risk:
read - Catalog version:
scrape-creators-2026.07.12.1 - Descriptor hash:
4849cd23adac96595ccb6e854e78a2ee0ccc9132b2407481493511af8d106374
Use this when you need ScrapeCreators Google Ad Library data from GET /v1/google/company/ads for Company Ads. Fetches public ads for a company from the Google Ad Transparency Library by domain or advertiser_id. Each ad includes advertiserId, creativeId, format, adUrl, advertiserName, domain, firstShown, and lastShown. Costs 25 credits per request when get_ad_details=true; without it, only advertiserId and creativeId are returned at 1 credit. Returns the ScrapeCreators response in the standard MCP envelope with ok/data/error/meta. This is read-only. Requires the portal grant header and a ScrapeCreators BYOK API key.
Request Body
{
"jsonrpc": "2.0",
"id": "scrape-creators-scrape-creators-google-ad-library-get-v1-google-company-ads-example",
"method": "tools/call",
"params": {
"name": "scrape-creators.scrape_creators_google_ad_library_get_v1_google_company_ads",
"arguments": {
"body": "",
"topic": "all",
"cursor": "",
"domain": "",
"format": "text",
"params": "",
"region": "",
"compact": "",
"end_date": "",
"platform": "google_maps"
}
}
}
Arguments Schema
{
"type": "object",
"properties": {
"body": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "array",
"items": {}
},
{
"type": "null"
}
],
"title": "Body",
"default": null,
"description": "JSON request body for provider endpoints that accept one."
},
"topic": {
"enum": [
"all",
"political"
],
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Topic",
"default": null,
"description": "The topic to search for. If you search for 'political', you will also need to pass a 'region', like 'US' or 'AU'"
},
"cursor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cursor",
"default": null,
"description": "Cursor to paginate through results"
},
"domain": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Domain",
"default": null,
"description": "The domain of the company"
},
"format": {
"enum": [
"text",
"image",
"video"
],
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Format",
"default": null,
"description": "Ad format to search for."
},
"params": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Params",
"default": null,
"description": "Optional advanced query parameter object. Prefer the documented top-level parameters when available."
},
"region": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Region",
"default": null,
"description": "The region to search for. Defaults to anywhere"
},
"compact": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Compact",
"default": null,
"description": "When true, trims large list payloads before returning them to the agent."
},
"end_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "End Date",
"default": null,
"description": "End date to search for. Format: YYYY-MM-DD"
},
"platform": {
"enum": [
"google_maps",
"google_play",
"google_search",
"google_shopping",
"youtube"
],
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Platform",
"default": null,
"description": "Platform to search for."
},
"max_items": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Max Items",
"default": null,
"description": "Maximum number of list items to return when compacting provider responses."
},
"start_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Start Date",
"default": null,
"description": "Start date to search for. Format: YYYY-MM-DD"
},
"include_raw": {
"type": "boolean",
"title": "Include Raw",
"default": false,
"description": "When true, returns both compact normalized data and the raw provider payload; this can be large."
},
"path_params": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Path Params",
"default": null,
"description": "Path template values for endpoints that expose path placeholders."
},
"advertiser_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Advertiser Id",
"default": null,
"description": "The advertiser id of the company"
},
"get_ad_details": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Get Ad Details",
"default": null,
"description": "Set to true to get the ad details. Will cost 25 credits."
},
"cache_ttl_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Cache Ttl Seconds",
"default": null,
"description": "Optional cache lifetime for idempotent GET requests."
},
"confirm_high_cost": {
"type": "boolean",
"title": "Confirm High Cost",
"default": false,
"description": "Set true only when intentionally running a high-credit or write-intent request."
}
},
"additionalProperties": false
}
Output Schema
{
"type": "object",
"required": [
"ok",
"data",
"error",
"meta"
],
"properties": {
"ok": {
"type": "boolean",
"description": "Whether the local or provider operation completed successfully."
},
"data": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "array",
"items": {}
},
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"description": "Bounded operation result when ok is true."
},
"meta": {
"type": "object",
"description": "Safe request, pagination, cache, and timing metadata.",
"additionalProperties": true
},
"error": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"description": "Safe structured error when ok is false."
}
},
"description": "Scrape Creators MCP normalized response envelope.",
"additionalProperties": false
}
Code Examples
- cURL
- Node.js
- Python
curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "scrape-creators-scrape-creators-google-ad-library-get-v1-google-company-ads-example",
"method": "tools/call",
"params": {
"name": "scrape-creators.scrape_creators_google_ad_library_get_v1_google_company_ads",
"arguments": {
"body": "",
"topic": "all",
"cursor": "",
"domain": "",
"format": "text",
"params": "",
"region": "",
"compact": "",
"end_date": "",
"platform": "google_maps"
}
}
}'
const response = await fetch('https://portal.madpanda3d.com/api/mcp', {
method: 'POST',
headers: {
Authorization: 'Bearer mad_live_***',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"jsonrpc": "2.0",
"id": "scrape-creators-scrape-creators-google-ad-library-get-v1-google-company-ads-example",
"method": "tools/call",
"params": {
"name": "scrape-creators.scrape_creators_google_ad_library_get_v1_google_company_ads",
"arguments": {
"body": "",
"topic": "all",
"cursor": "",
"domain": "",
"format": "text",
"params": "",
"region": "",
"compact": "",
"end_date": "",
"platform": "google_maps"
}
}
}),
});
const data = await response.json();
console.log(data);
import requests
url = 'https://portal.madpanda3d.com/api/mcp'
headers = {
'Authorization': 'Bearer mad_live_***',
'Content-Type': 'application/json',
}
payload = {
"jsonrpc": "2.0",
"id": "scrape-creators-scrape-creators-google-ad-library-get-v1-google-company-ads-example",
"method": "tools/call",
"params": {
"name": "scrape-creators.scrape_creators_google_ad_library_get_v1_google_company_ads",
"arguments": {
"body": "",
"topic": "all",
"cursor": "",
"domain": "",
"format": "text",
"params": "",
"region": "",
"compact": "",
"end_date": "",
"platform": "google_maps"
}
}
}
response = requests.post(url, headers=headers, json=payload, timeout=60)
print(response.json())
Example Responses
- 200 Success
- 502 Upstream Error
{
"ok": true,
"message": "Tool scrape-creators.scrape_creators_google_ad_library_get_v1_google_company_ads executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}
{
"ok": false,
"classification": "upstream_http_error",
"message": "Upstream MCP returned a non-success status."
}