Download google-ads-transparency-scraper.openapi.json from Publicrecords/apify-actor-openapi: direct link, hf CLI and curl.
- Browser
- Download file 15.6 kB
-
https://huggingface.co/datasets/Publicrecords/apify-actor-openapi/resolve/main/google-ads-transparency-scraper.openapi.json
- Command line
-
hf download hf://datasets/Publicrecords/apify-actor-openapi/google-ads-transparency-scraper.openapi.json
-
curl -L -o google-ads-transparency-scraper.openapi.json https://huggingface.co/datasets/Publicrecords/apify-actor-openapi/resolve/main/google-ads-transparency-scraper.openapi.json
15.6 kB
| { | |
| "openapi": "3.0.3", | |
| "info": { | |
| "title": "Google Ads Transparency Scraper: Competitor Ads", | |
| "description": "Google Ads Transparency Center scraper: enter a competitor's website or advertiser ID, get its new, running and stopped Google ads with first and last shown dates, days shown and ad links. No login, no proxy. Pay per ad.\n\nRuns on your own Apify account (pay-per-use). Store: https://apify.com/publicrecords/google-ads-transparency-scraper\nMCP: https://mcp.apify.com?tools=publicrecords/google-ads-transparency-scraper\nAuthor: Public Records.", | |
| "version": "0.1.7", | |
| "contact": { | |
| "name": "Public Records", | |
| "url": "https://apify.com/publicrecords", | |
| "email": "publicrecords@users.noreply.github.com" | |
| }, | |
| "x-origin": [ | |
| { | |
| "url": "https://apify.com/publicrecords/google-ads-transparency-scraper", | |
| "format": "openapi", | |
| "version": "3.0" | |
| } | |
| ], | |
| "x-apisguru-categories": [ | |
| "developer_tools" | |
| ] | |
| }, | |
| "servers": [ | |
| { | |
| "url": "https://api.apify.com/v2", | |
| "description": "Apify API" | |
| } | |
| ], | |
| "tags": [ | |
| { | |
| "name": "runs", | |
| "description": "Start a run and read dataset items" | |
| } | |
| ], | |
| "paths": { | |
| "/acts/publicrecords~google-ads-transparency-scraper/runs": { | |
| "post": { | |
| "operationId": "start_google_ads_transparency_scraper_run", | |
| "tags": [ | |
| "runs" | |
| ], | |
| "summary": "Start a run of publicrecords/google-ads-transparency-scraper", | |
| "description": "Starts the Actor asynchronously. Poll the returned run, then read dataset items. Docs: https://apify.com/publicrecords/google-ads-transparency-scraper", | |
| "security": [ | |
| { | |
| "ApiKeyQuery": [] | |
| }, | |
| { | |
| "BearerAuth": [] | |
| } | |
| ], | |
| "parameters": [ | |
| { | |
| "name": "timeout", | |
| "in": "query", | |
| "schema": { | |
| "type": "integer" | |
| }, | |
| "description": "Timeout in seconds" | |
| }, | |
| { | |
| "name": "memory", | |
| "in": "query", | |
| "schema": { | |
| "type": "integer" | |
| }, | |
| "description": "Memory in MB" | |
| } | |
| ], | |
| "requestBody": { | |
| "required": true, | |
| "content": { | |
| "application/json": { | |
| "schema": "{\n \"title\": \"Google Ads Transparency Scraper\",\n \"description\": \"Competitors in, every Google ad they run out \u2014 new, running and stopped, with first and last shown dates.\",\n \"type\": \"object\",\n \"schemaVersion\": 1,\n \"properties\": {\n \"targets\": {\n \"title\": \"Competitors\",\n \"type\": \"array\",\n \"description\": \"One per line: a website domain (nike.com), a Google advertiser ID (AR\u2026), an Ads Transparency Center link, or an exact advertiser name.\",\n \"editor\": \"stringList\",\n \"prefill\": [\n \"nike.com\"\n ]\n },\n \"sinceDays\": {\n \"title\": \"Look-back window (days)\",\n \"type\": \"integer\",\n \"description\": \"Ads first shown in this window are \\\"new\\\"; ads that stopped inside it are \\\"stopped\\\". Google lists an ad 2\u20133 days after it runs, so on a schedule use your interval plus 3 days (10 for weekly) and match repeats by adId.\",\n \"default\": 7,\n \"minimum\": 1,\n \"prefill\": 7\n },\n \"region\": {\n \"title\": \"Region\",\n \"type\": \"string\",\n \"description\": \"Only ads shown in this country. \\\"Anywhere\\\" returns ads from every country.\",\n \"editor\": \"select\",\n \"enum\": [\n \"anywhere\",\n \"AR\",\n \"AU\",\n \"AT\",\n \"BD\",\n \"BE\",\n \"BR\",\n \"BG\",\n \"CA\",\n \"CL\",\n \"CO\",\n \"HR\",\n \"CY\",\n \"CZ\",\n \"DK\",\n \"EG\",\n \"EE\",\n \"FI\",\n \"FR\",\n \"DE\",\n \"GR\",\n \"HK\",\n \"HU\",\n \"IS\",\n \"IN\",\n \"ID\",\n \"IE\",\n \"IL\",\n \"IT\",\n \"JP\",\n \"KE\",\n \"KW\",\n \"LV\",\n \"LT\",\n \"LU\",\n \"MY\",\n \"MT\",\n \"MX\",\n \"MA\",\n \"NL\",\n \"NZ\",\n \"NG\",\n \"NO\",\n \"PK\",\n \"PE\",\n \"PH\",\n \"PL\",\n \"PT\",\n \"QA\",\n \"RO\",\n \"SA\",\n \"RS\",\n \"SG\",\n \"SK\",\n \"SI\",\n \"ZA\",\n \"KR\",\n \"ES\",\n \"SE\",\n \"CH\",\n \"TW\",\n \"TH\",\n \"TR\",\n \"UA\",\n \"AE\",\n \"GB\",\n \"US\",\n \"VN\"\n ],\n \"enumTitles\": [\n \"Anywhere\",\n \"Argentina\",\n \"Australia\",\n \"Austria\",\n \"Bangladesh\",\n \"Belgium\",\n \"Brazil\",\n \"Bulgaria\",\n \"Canada\",\n \"Chile\",\n \"Colombia\",\n \"Croatia\",\n \"Cyprus\",\n \"Czechia\",\n \"Denmark\",\n \"Egypt\",\n \"Estonia\",\n \"Finland\",\n \"France\",\n \"Germany\",\n \"Greece\",\n \"Hong Kong\",\n \"Hungary\",\n \"Iceland\",\n \"India\",\n \"Indonesia\",\n \"Ireland\",\n \"Israel\",\n \"Italy\",\n \"Japan\",\n \"Kenya\",\n \"Kuwait\",\n \"Latvia\",\n \"Lithuania\",\n \"Luxembourg\",\n \"Malaysia\",\n \"Malta\",\n \"Mexico\",\n \"Morocco\",\n \"Netherlands\",\n \"New Zealand\",\n \"Nigeria\",\n \"Norway\",\n \"Pakistan\",\n \"Peru\",\n \"Philippines\",\n \"Poland\",\n \"Portugal\",\n \"Qatar\",\n \"Romania\",\n \"Saudi Arabia\",\n \"Serbia\",\n \"Singapore\",\n \"Slovakia\",\n \"Slovenia\",\n \"South Africa\",\n \"South Korea\",\n \"Spain\",\n \"Sweden\",\n \"Switzerland\",\n \"Taiwan\",\n \"Thailand\",\n \"T\u00fcrkiye\",\n \"Ukraine\",\n \"United Arab Emirates\",\n \"United Kingdom\",\n \"United States\",\n \"Vietnam\"\n ],\n \"default\": \"anywhere\",\n \"prefill\": \"US\",\n \"sectionCaption\": \"Advanced\"\n },\n \"statuses\": {\n \"title\": \"Which ads\",\n \"type\": \"array\",\n \"description\": \"Leave all selected for every ad Google still lists (about one year back). Select only new, running and stopped for a faster weekly monitor.\",\n \"editor\": \"select\",\n \"items\": {\n \"type\": \"string\",\n \"enum\": [\n \"new\",\n \"running\",\n \"stopped\",\n \"inactive\"\n ],\n \"enumTitles\": [\n \"New in the window\",\n \"Still running\",\n \"Stopped in the window\",\n \"Stopped before the window\"\n ]\n },\n \"default\": [\n \"new\",\n \"running\",\n \"stopped\",\n \"inactive\"\n ]\n },\n \"maxAdsPerTarget\": {\n \"title\": \"Max ads per competitor\",\n \"type\": \"integer\",\n \"description\": \"0 means no limit. A website search returns every ad that links to it, which for big marketplaces is millions; use an advertiser ID for one company's own ads.\",\n \"default\": 1000,\n \"minimum\": 0,\n \"prefill\": 25\n },\n \"includeRegionStats\": {\n \"title\": \"Add countries and EU impressions\",\n \"type\": \"boolean\",\n \"description\": \"Adds the countries each ad ran in and, for EU countries, Google's impression ranges. Slower: one extra request per ad.\",\n \"default\": false\n }\n },\n \"required\": [\n \"targets\"\n ]\n}" | |
| } | |
| } | |
| }, | |
| "responses": { | |
| "201": { | |
| "description": "Run started", | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "type": "object" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "/acts/publicrecords~google-ads-transparency-scraper/run-sync-get-dataset-items": { | |
| "post": { | |
| "operationId": "run_google_ads_transparency_scraper_sync_get_items", | |
| "tags": [ | |
| "runs" | |
| ], | |
| "summary": "Run publicrecords/google-ads-transparency-scraper and return dataset items", | |
| "description": "Synchronous convenience endpoint. Waits for the run to finish and returns dataset items.", | |
| "security": [ | |
| { | |
| "ApiKeyQuery": [] | |
| }, | |
| { | |
| "BearerAuth": [] | |
| } | |
| ], | |
| "requestBody": { | |
| "required": true, | |
| "content": { | |
| "application/json": { | |
| "schema": "{\n \"title\": \"Google Ads Transparency Scraper\",\n \"description\": \"Competitors in, every Google ad they run out \u2014 new, running and stopped, with first and last shown dates.\",\n \"type\": \"object\",\n \"schemaVersion\": 1,\n \"properties\": {\n \"targets\": {\n \"title\": \"Competitors\",\n \"type\": \"array\",\n \"description\": \"One per line: a website domain (nike.com), a Google advertiser ID (AR\u2026), an Ads Transparency Center link, or an exact advertiser name.\",\n \"editor\": \"stringList\",\n \"prefill\": [\n \"nike.com\"\n ]\n },\n \"sinceDays\": {\n \"title\": \"Look-back window (days)\",\n \"type\": \"integer\",\n \"description\": \"Ads first shown in this window are \\\"new\\\"; ads that stopped inside it are \\\"stopped\\\". Google lists an ad 2\u20133 days after it runs, so on a schedule use your interval plus 3 days (10 for weekly) and match repeats by adId.\",\n \"default\": 7,\n \"minimum\": 1,\n \"prefill\": 7\n },\n \"region\": {\n \"title\": \"Region\",\n \"type\": \"string\",\n \"description\": \"Only ads shown in this country. \\\"Anywhere\\\" returns ads from every country.\",\n \"editor\": \"select\",\n \"enum\": [\n \"anywhere\",\n \"AR\",\n \"AU\",\n \"AT\",\n \"BD\",\n \"BE\",\n \"BR\",\n \"BG\",\n \"CA\",\n \"CL\",\n \"CO\",\n \"HR\",\n \"CY\",\n \"CZ\",\n \"DK\",\n \"EG\",\n \"EE\",\n \"FI\",\n \"FR\",\n \"DE\",\n \"GR\",\n \"HK\",\n \"HU\",\n \"IS\",\n \"IN\",\n \"ID\",\n \"IE\",\n \"IL\",\n \"IT\",\n \"JP\",\n \"KE\",\n \"KW\",\n \"LV\",\n \"LT\",\n \"LU\",\n \"MY\",\n \"MT\",\n \"MX\",\n \"MA\",\n \"NL\",\n \"NZ\",\n \"NG\",\n \"NO\",\n \"PK\",\n \"PE\",\n \"PH\",\n \"PL\",\n \"PT\",\n \"QA\",\n \"RO\",\n \"SA\",\n \"RS\",\n \"SG\",\n \"SK\",\n \"SI\",\n \"ZA\",\n \"KR\",\n \"ES\",\n \"SE\",\n \"CH\",\n \"TW\",\n \"TH\",\n \"TR\",\n \"UA\",\n \"AE\",\n \"GB\",\n \"US\",\n \"VN\"\n ],\n \"enumTitles\": [\n \"Anywhere\",\n \"Argentina\",\n \"Australia\",\n \"Austria\",\n \"Bangladesh\",\n \"Belgium\",\n \"Brazil\",\n \"Bulgaria\",\n \"Canada\",\n \"Chile\",\n \"Colombia\",\n \"Croatia\",\n \"Cyprus\",\n \"Czechia\",\n \"Denmark\",\n \"Egypt\",\n \"Estonia\",\n \"Finland\",\n \"France\",\n \"Germany\",\n \"Greece\",\n \"Hong Kong\",\n \"Hungary\",\n \"Iceland\",\n \"India\",\n \"Indonesia\",\n \"Ireland\",\n \"Israel\",\n \"Italy\",\n \"Japan\",\n \"Kenya\",\n \"Kuwait\",\n \"Latvia\",\n \"Lithuania\",\n \"Luxembourg\",\n \"Malaysia\",\n \"Malta\",\n \"Mexico\",\n \"Morocco\",\n \"Netherlands\",\n \"New Zealand\",\n \"Nigeria\",\n \"Norway\",\n \"Pakistan\",\n \"Peru\",\n \"Philippines\",\n \"Poland\",\n \"Portugal\",\n \"Qatar\",\n \"Romania\",\n \"Saudi Arabia\",\n \"Serbia\",\n \"Singapore\",\n \"Slovakia\",\n \"Slovenia\",\n \"South Africa\",\n \"South Korea\",\n \"Spain\",\n \"Sweden\",\n \"Switzerland\",\n \"Taiwan\",\n \"Thailand\",\n \"T\u00fcrkiye\",\n \"Ukraine\",\n \"United Arab Emirates\",\n \"United Kingdom\",\n \"United States\",\n \"Vietnam\"\n ],\n \"default\": \"anywhere\",\n \"prefill\": \"US\",\n \"sectionCaption\": \"Advanced\"\n },\n \"statuses\": {\n \"title\": \"Which ads\",\n \"type\": \"array\",\n \"description\": \"Leave all selected for every ad Google still lists (about one year back). Select only new, running and stopped for a faster weekly monitor.\",\n \"editor\": \"select\",\n \"items\": {\n \"type\": \"string\",\n \"enum\": [\n \"new\",\n \"running\",\n \"stopped\",\n \"inactive\"\n ],\n \"enumTitles\": [\n \"New in the window\",\n \"Still running\",\n \"Stopped in the window\",\n \"Stopped before the window\"\n ]\n },\n \"default\": [\n \"new\",\n \"running\",\n \"stopped\",\n \"inactive\"\n ]\n },\n \"maxAdsPerTarget\": {\n \"title\": \"Max ads per competitor\",\n \"type\": \"integer\",\n \"description\": \"0 means no limit. A website search returns every ad that links to it, which for big marketplaces is millions; use an advertiser ID for one company's own ads.\",\n \"default\": 1000,\n \"minimum\": 0,\n \"prefill\": 25\n },\n \"includeRegionStats\": {\n \"title\": \"Add countries and EU impressions\",\n \"type\": \"boolean\",\n \"description\": \"Adds the countries each ad ran in and, for EU countries, Google's impression ranges. Slower: one extra request per ad.\",\n \"default\": false\n }\n },\n \"required\": [\n \"targets\"\n ]\n}" | |
| } | |
| } | |
| }, | |
| "responses": { | |
| "201": { | |
| "description": "Dataset items", | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "type": "array", | |
| "items": { | |
| "type": "object" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "components": { | |
| "securitySchemes": { | |
| "ApiKeyQuery": { | |
| "type": "apiKey", | |
| "in": "query", | |
| "name": "token", | |
| "description": "Apify API token for the caller's own account" | |
| }, | |
| "BearerAuth": { | |
| "type": "http", | |
| "scheme": "bearer", | |
| "description": "Apify API token as Bearer token" | |
| } | |
| } | |
| }, | |
| "externalDocs": { | |
| "description": "Apify Store listing", | |
| "url": "https://apify.com/publicrecords/google-ads-transparency-scraper" | |
| } | |
| } |