{
  "data": {
    "id": "fMfcTAkzo1mfuIQok",
    "actId": "MGHbG8Ea3FXPXsqPd",
    "userId": "4BicJNfmk8uEe3GtT",
    "startedAt": "2026-11-24T18:41:26.776Z",
    "finishedAt": "2026-11-24T18:41:28.725Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CI"
    },
    "stats": {
      "durationMillis": 1840,
      "runTimeSecs": 1.84,
      "computeUnits": 0.0020444444444444447,
      "imageSizeBytes": 319234048
    },
    "options": {
      "useCache": true,
      "betaPackages": false,
      "memoryMbytes": 4096,
      "diskMbytes": 8192
    },
    "createdByOrganizationMemberUserId": "chIfRjofLtMMYtdFe",
    "exitCode": 0,
    "inputSchema": "{\n  \"title\": \"Google Political Ads Spend Input\",\n  \"description\": \"Choose one official Google political advertising transparency table and filter it by country, dates, advertiser, currency, spend and creative type.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"Official table to export. Advertisers returns lifetime totals with trends; Weekly spend returns one row per advertiser per week; Advertiser region spend returns advertiser by state; Region spend returns country, state and district totals; Creatives returns ad-level spend ranges and targeting; Declared advertisers returns California and New Zealand filings.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"advertisers\",\n        \"weeklySpend\",\n        \"advertiserRegionSpend\",\n        \"regionSpend\",\n        \"creatives\",\n        \"declaredAdvertisers\"\n      ],\n      \"enumTitles\": [\n        \"Advertiser totals and trends\",\n        \"Weekly spend per advertiser\",\n        \"Spend by advertiser and state\",\n        \"Spend by country, state or district\",\n        \"Creative spend and targeting\",\n        \"Declared advertiser filings (CA/NZ)\"\n      ],\n      \"default\": \"advertisers\",\n      \"prefill\": \"advertisers\",\n      \"sectionCaption\": \"Mode and scope\"\n    },\n    \"country\": {\n      \"title\": \"Country\",\n      \"type\": \"string\",\n      \"description\": \"Only rows for this country. Leave on Any country for global coverage. Google publishes election-ad data for these 12 regions.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"any\",\n        \"US\",\n        \"BR\",\n        \"IN\",\n        \"AR\",\n        \"AU\",\n        \"CL\",\n        \"IL\",\n        \"GB\",\n        \"MX\",\n        \"TW\",\n        \"NZ\",\n        \"ZA\"\n      ],\n      \"enumTitles\": [\n        \"Any country\",\n        \"United States\",\n        \"Brazil\",\n        \"India\",\n        \"Argentina\",\n        \"Australia\",\n        \"Chile\",\n        \"Israel\",\n        \"United Kingdom\",\n        \"Mexico\",\n        \"Taiwan\",\n        \"New Zealand\",\n        \"South Africa\"\n      ],\n      \"default\": \"any\",\n      \"prefill\": \"US\"\n    },\n    \"dateFrom\": {\n      \"title\": \"Date from\",\n      \"type\": \"string\",\n      \"description\": \"Start date (YYYY-MM-DD). Weekly spend uses the week start date; creatives match any ad active in the window; advertiser totals require weekly spend activity in the window. Leave empty for all dates.\",\n      \"editor\": \"datepicker\",\n      \"sectionCaption\": \"Dates\"\n    },\n    \"dateTo\": {\n      \"title\": \"Date to\",\n      \"type\": \"string\",\n      \"description\": \"End date (YYYY-MM-DD), inclusive. Leave empty for all dates.\",\n      \"editor\": \"datepicker\"\n    },\n    \"advertiserNameContains\": {\n      \"title\": \"Advertiser name contains\",\n      \"type\": \"string\",\n      \"description\": \"Case-insensitive substring match on the advertiser name, for example Senate, PAC or a candidate name. Not used by Region spend mode, which has no advertiser column.\",\n      \"editor\": \"textfield\",\n      \"sectionCaption\": \"Filters\"\n    },\n    \"advertiserIds\": {\n      \"title\": \"Advertiser IDs\",\n      \"type\": \"array\",\n      \"description\": \"Google advertiser IDs (AR...) or pasted Ads Transparency Center advertiser URLs. Empty means all advertisers. Not used by Region spend mode.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"creativeIds\": {\n      \"title\": \"Creative IDs (creatives mode)\",\n      \"type\": \"array\",\n      \"description\": \"Google creative IDs (CR...) or pasted Ads Transparency Center creative URLs. Only used by Creatives mode.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"currency\": {\n      \"title\": \"Spend currency\",\n      \"type\": \"string\",\n      \"description\": \"Currency used for minSpend, maxSpend, spendLocal and spend sorting. Google publishes spend in the advertiser's local reporting currency and never converts it.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"USD\",\n        \"EUR\",\n        \"INR\",\n        \"BGN\",\n        \"CZK\",\n        \"DKK\",\n        \"HUF\",\n        \"PLN\",\n        \"RON\",\n        \"SEK\",\n        \"GBP\",\n        \"NZD\",\n        \"ILS\",\n        \"AUD\",\n        \"TWD\",\n        \"BRL\",\n        \"ARS\",\n        \"ZAR\",\n        \"CLP\",\n        \"MXN\"\n      ],\n      \"enumTitles\": [\n        \"US dollar (USD)\",\n        \"Euro (EUR)\",\n        \"Indian rupee (INR)\",\n        \"Bulgarian lev (BGN)\",\n        \"Czech koruna (CZK)\",\n        \"Danish krone (DKK)\",\n        \"Hungarian forint (HUF)\",\n        \"Polish zloty (PLN)\",\n        \"Romanian leu (RON)\",\n        \"Swedish krona (SEK)\",\n        \"Pound sterling (GBP)\",\n        \"New Zealand dollar (NZD)\",\n        \"Israeli shekel (ILS)\",\n        \"Australian dollar (AUD)\",\n        \"New Taiwan dollar (TWD)\",\n        \"Brazilian real (BRL)\",\n        \"Argentine peso (ARS)\",\n        \"South African rand (ZAR)\",\n        \"Chilean peso (CLP)\",\n        \"Mexican peso (MXN)\"\n      ],\n      \"default\": \"USD\",\n      \"prefill\": \"USD\"\n    },\n    \"minSpend\": {\n      \"title\": \"Minimum spend\",\n      \"type\": \"number\",\n      \"description\": \"Only rows with at least this amount in the selected currency. Creatives match when the top of Google's spend range reaches it; aggregates use the exact published total.\",\n      \"minimum\": 0,\n      \"maximum\": 1000000000000\n    },\n    \"maxSpend\": {\n      \"title\": \"Maximum spend\",\n      \"type\": \"number\",\n      \"description\": \"Only rows with at most this amount in the selected currency. Creatives match when the bottom of Google's spend range is at or below it.\",\n      \"minimum\": 0,\n      \"maximum\": 1000000000000\n    },\n    \"adType\": {\n      \"title\": \"Ad type (creatives mode)\",\n      \"type\": \"string\",\n      \"description\": \"Filter creatives by format. Only used by Creatives mode.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"any\",\n        \"TEXT\",\n        \"IMAGE\",\n        \"VIDEO\"\n      ],\n      \"enumTitles\": [\n        \"Any type\",\n        \"Text\",\n        \"Image\",\n        \"Video\"\n      ],\n      \"default\": \"any\",\n      \"prefill\": \"any\"\n    },\n    \"fundedByGoogleAdGrants\": {\n      \"title\": \"Google Ad Grants (creatives mode)\",\n      \"type\": \"string\",\n      \"description\": \"Keep only creatives funded or not funded by a Google Ad Grants in-kind donation. Only used by Creatives mode.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"any\",\n        \"yes\",\n        \"no\"\n      ],\n      \"enumTitles\": [\n        \"Any\",\n        \"Funded by Google Ad Grants\",\n        \"Not funded\"\n      ],\n      \"default\": \"any\",\n      \"prefill\": \"any\"\n    },\n    \"trendWindowWeeks\": {\n      \"title\": \"Trend window (weeks)\",\n      \"type\": \"integer\",\n      \"description\": \"Advertiser totals compare the last N weeks of spend with the N weeks before. Only used by Advertiser totals mode.\",\n      \"minimum\": 1,\n      \"maximum\": 52,\n      \"default\": 4,\n      \"prefill\": 4,\n      \"sectionCaption\": \"Advertiser trends\"\n    },\n    \"surgeOnly\": {\n      \"title\": \"Only surging advertisers\",\n      \"type\": \"boolean\",\n      \"description\": \"Keep only advertisers whose recent spend doubled versus the prior window or who just started spending. Only used by Advertiser totals mode.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"includeWeeklyHistory\": {\n      \"title\": \"Include weekly history\",\n      \"type\": \"boolean\",\n      \"description\": \"Attach up to 52 most recent weekly spend rows per advertiser, in the selected currency. Only used by Advertiser totals mode.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"sortBy\": {\n      \"title\": \"Sort by\",\n      \"type\": \"string\",\n      \"description\": \"Order of the returned rows. Spend sorts use spendLocal for aggregates and the top of Google's spend range for creatives. Date sorts fall back to name in modes without dates.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"spendDesc\",\n        \"spendAsc\",\n        \"dateNewest\",\n        \"dateOldest\",\n        \"nameAsc\"\n      ],\n      \"enumTitles\": [\n        \"Spend, highest first\",\n        \"Spend, lowest first\",\n        \"Date, newest first\",\n        \"Date, oldest first\",\n        \"Advertiser name A-Z\"\n      ],\n      \"default\": \"spendDesc\",\n      \"prefill\": \"spendDesc\",\n      \"sectionCaption\": \"Output\"\n    },\n    \"maxItems\": {\n      \"title\": \"Maximum records\",\n      \"type\": \"integer\",\n      \"description\": \"Stop after this many matching records. Lower values keep runs fast and cheap.\",\n      \"minimum\": 1,\n      \"maximum\": 2000,\n      \"default\": 50,\n      \"prefill\": 2\n    }\n  }\n}",
    "readme": "# Google Political Ads Spend & Transparency Exporter\n\nExport Google's official political advertising transparency bundle as clean JSON. This actor turns\nthe same public data behind Google's political ads report into advertiser spend leaderboards,\nweekly spend series, advertiser-by-state totals, country/state/district totals, ad-level creative\ndisclosures and California/New Zealand declared advertiser filings.\n\nNo login, cookie, API key, browser or proxy is needed. The source is Google's public bulk download,\nrefreshed daily.\n\n## Modes\n\n| Mode | What it returns |\n|---|---|\n| `advertisers` | One row per verified election advertiser: lifetime spend in every published currency, total creatives, regions, public IDs, first/last spend week, recent vs prior trend and optional 52-week history. |\n| `weeklySpend` | One row per advertiser per week with the week's spend by currency and the advertiser's regions. |\n| `advertiserRegionSpend` | One row per advertiser per US state (plus the one UK row Google publishes) with spend by currency. |\n| `regionSpend` | Country, state and congressional-district totals with a geography level and the official report link. |\n| `creatives` | One row per election creative: format, serving dates, impression bucket and bounds, first/last served timestamp, age/gender/geo targeting, Google Ad Grants flag and the spend range in the ad's serving currency. |\n| `declaredAdvertisers` | California and New Zealand declared advertiser filings: declared name, regulatory ID, scope, promoter name and address. |\n\n## Input\n\n| Field | Default | What it does |\n|---|---|---|\n| `mode` | `advertisers` | Table to export: advertiser totals, weekly spend, advertiser region spend, region totals, creatives or declared filings. |\n| `country` | `any` | Keep one of Google's 12 election-ad regions: US, BR, IN, AR, AU, CL, IL, GB, MX, TW, NZ, ZA. |\n| `dateFrom` | – | Start date (YYYY-MM-DD). Weekly rows use the week start; creatives match any ad active in the window; advertiser totals require weekly activity in the window. |\n| `dateTo` | – | End date (YYYY-MM-DD), inclusive. |\n| `advertiserNameContains` | – | Case-insensitive advertiser name substring, e.g. Senate, PAC or a candidate. |\n| `advertiserIds` | – | AR... advertiser IDs or pasted Ads Transparency Center advertiser URLs. |\n| `creativeIds` | – | CR... creative IDs or pasted creative URLs; used by `creatives`. |\n| `currency` | `USD` | Currency used for spend filters, `spendLocal`, and spend sorting. One of Google's 21 published currencies. |\n| `minSpend` | – | Minimum spend in the selected currency. Creatives match when the top of Google's range reaches it. |\n| `maxSpend` | – | Maximum spend in the selected currency. Creatives match when the bottom of Google's range is at or below it. |\n| `adType` | `any` | Creative format: `TEXT`, `IMAGE` or `VIDEO` (only `creatives`). |\n| `fundedByGoogleAdGrants` | `any` | Keep creatives funded (`yes`) or not funded (`no`) by Google Ad Grants (only `creatives`). |\n| `trendWindowWeeks` | `4` | Weeks in the recent window and again in the prior window for advertiser trends. |\n| `surgeOnly` | `false` | Keep only advertisers that doubled recent spend or just started spending. |\n| `includeWeeklyHistory` | `false` | Attach up to 52 recent weekly rows per advertiser, in the selected currency. |\n| `sortBy` | `spendDesc` | `spendDesc`, `spendAsc`, `dateNewest`, `dateOldest` or `nameAsc`. Date sorts fall back to name where a mode has no dates. |\n| `maxItems` | `50` | Stop after this many records (1–2000). |\n\nIf a spend filter is set and a row has no published amount in the selected currency, the row does\nnot match. Google never publishes a cross-currency conversion, so this actor never invents one.\n\n## Examples\n\nTop 25 US advertisers by lifetime spend, with a four-week trend:\n\n```json\n{\n  \"mode\": \"advertisers\",\n  \"country\": \"US\",\n  \"currency\": \"USD\",\n  \"sortBy\": \"spendDesc\",\n  \"maxItems\": 25\n}\n```\n\nAdvertisers that just doubled their recent spend:\n\n```json\n{\n  \"mode\": \"advertisers\",\n  \"country\": \"US\",\n  \"surgeOnly\": true,\n  \"trendWindowWeeks\": 4,\n  \"maxItems\": 50\n}\n```\n\nWeekly spend for one advertiser in 2024:\n\n```json\n{\n  \"mode\": \"weeklySpend\",\n  \"advertiserIds\": [\"AR03821862303154831361\"],\n  \"dateFrom\": \"2024-01-01\",\n  \"dateTo\": \"2024-12-31\",\n  \"sortBy\": \"dateOldest\",\n  \"maxItems\": 52\n}\n```\n\nWhere a Senate campaign spent by state:\n\n```json\n{\n  \"mode\": \"advertiserRegionSpend\",\n  \"advertiserNameContains\": \"for Senate\",\n  \"minSpend\": 1000,\n  \"sortBy\": \"spendDesc\",\n  \"maxItems\": 50\n}\n```\n\nDistrict totals in a state:\n\n```json\n{\n  \"mode\": \"regionSpend\",\n  \"country\": \"US\",\n  \"maxItems\": 100\n}\n```\n\nLarge video creatives in Brazil, priced in BRL:\n\n```json\n{\n  \"mode\": \"creatives\",\n  \"country\": \"BR\",\n  \"currency\": \"BRL\",\n  \"adType\": \"VIDEO\",\n  \"minSpend\": 10000,\n  \"sortBy\": \"spendDesc\",\n  \"maxItems\": 20\n}\n```\n\n## Output\n\nEvery record has `recordType`, `sourceUrl`, `sourceFile`, `sourceLastModified`,\n`reportDataUpdatedAt` and `scrapedAt`. Empty values are omitted, never null.\n\nAdvertiser rows add `advertiserId`, `advertiserName`, `advertiserUrl`, `publicIds`, `regions`,\n`elections`, `totalCreatives`, `spendByCurrency`, `spendUsd`, `spendLocal`, `spendCurrency`,\n`primaryCurrency`, `firstSpendWeek`, `lastSpendWeek`, `weeksWithSpend`, `recentSpend`,\n`priorSpend`, `changePct`, `trend`, `trendWindowWeeks`, `latestIncludedWeek`, optional\n`weeklySpend` and optional `declaredFilings`.\n\nWeekly rows add `weekStartDate`, spend fields, `regions`, `elections`, `totalCreatives` and\n`latestIncludedWeek`.\n\nAdvertiser-region rows add `country`, `countryName`, `regionCode`, `regionName` and spend fields.\n\nRegion rows add `country`, `countryName`, `regionCode`, `regionName`, `districtName`, `geoLevel`,\n`reportUrl` and spend fields. `geoLevel` is `country`, `subdivision` or `district`.\n\nCreative rows add `adId`, `adUrl`, `adType`, `regions`, `advertiserId`, `advertiserName`,\n`advertiserUrl`, `dateRangeStart`, `dateRangeEnd`, `daysActive`, `impressionsBucket`,\n`impressionsMin`, `impressionsMax`, `firstServedAt`, `lastServedAt`, `ageTargeting`,\n`genderTargeting`, `geoIncluded`, `geoExcluded`, `geoIncludedCount`, `geoExcludedCount`,\n`isFundedByGoogleAdGrants`, `spendRanges`, and `spendCurrency`, `spendRangeMin`,\n`spendRangeMax` for the selected currency when the ad served in that currency's region.\n\nDeclared rows add `advertiserId`, `advertiserName`, `advertiserUrl`, `declaredRegion`,\n`declaredRegionName`, `declaredName`, `regulatoryId`, `declaredScope`, `promoterName` and\n`promoterAddress`.\n\n## How Google reports spend\n\n- Amounts are Google's published figures, typically rounded to the nearest 100 in the advertiser's\n  reporting currency.\n- Each row carries its own currency. `spendByCurrency` keeps every non-zero published currency;\n  `spendLocal` is the amount in the `currency` you selected. No exchange-rate conversion is made.\n- Creative spend is a range. `spendRanges` keeps the range for the ad's serving currency only,\n  because Google fills the other currency columns with placeholder low buckets that are not\n  spend disclosure.\n- Impressions are buckets. `impressionsBucket` is Google's label; `impressionsMin` and\n  `impressionsMax` are parsed numeric bounds, and `impressionsMax` is omitted for the open-ended\n  top bucket.\n- The latest week may still be filling in when you run. `latestIncludedWeek` and\n  `reportDataUpdatedAt` tell you how fresh the file is.\n\n## Data source\n\nGoogle's \"Political advertising on Google\" transparency bundle:\n`https://storage.googleapis.com/political-csv/google-political-ads-transparency-bundle.zip`.\nGoogle publishes it for researchers, journalists and the public. The actor reads only the members\na run needs, using standard HTTP range requests; the creative table is downloaded in full because\nit is 270 MB compressed. It identifies itself with a User-Agent and does not bypass access controls,\nuse Google pages, or read private data.\n\nThis actor is not affiliated with or endorsed by Google. Google, YouTube and Google Ads are\ntrademarks of Google LLC.\n\n## Limitations\n\n- Google's public bundle has country, state/subdivision and congressional-district spend. It does\n  not publish postal/ZIP-level spend.\n- Google retired the EU political ads report in September 2025, so EU coverage is historical; the\n  bundle still publishes GB and the other regions listed above.\n- The `google-political-ads-top-keywords-history.csv` and\n  `google-political-ads-campaign-targeting.csv` files are deprecated and contain only headers, so\n  they are not exposed as modes.\n- Creative rows link to Google's Transparency Center viewer. This actor does not download ad media\n  files.\n- Advertiser `Elections` is often empty upstream; the field is omitted when empty.\n- Google's figures can be revised. For official campaign-finance records, use the FEC or the\n  relevant election authority.\n\n## FAQ\n\n**Do I need a Google account, cookie or proxy?** No. The source is a public bulk file.\n\n**Does this return commercial ad spend?** No. Google discloses spend only for election ads. This\nactor exports that disclosure.\n\n**Can I get a USD total for a Brazilian advertiser?** Only if Google published a USD amount for\nthat advertiser. Google does not publish exchange rates or a converted total, so none is invented.\n\n**How fresh is the data?** Google refreshes the bundle daily. Each record carries the bundle's\npublication timestamp and the HTTP Last-Modified time.\n\n**Why is a creative's EUR range missing for a US ad?** Google fills non-serving currency columns\nwith placeholder buckets. Only the range for the ad's serving currency is real spend disclosure.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "google-political-ads-spend",
      "title": "Google Political Ads Spend & Transparency Exporter",
      "description": "Export Google's official political ad transparency bundle: advertiser lifetime spend, weekly spend, advertiser-by-state spend, state and district totals, creative spend ranges with targeting, and California/New Zealand declared advertiser filings. Public data, no login.",
      "version": "1.0",
      "buildTag": "latest",
      "dockerfile": "../Dockerfile",
      "readme": "# Google Political Ads Spend & Transparency Exporter\n\nExport Google's official political advertising transparency bundle as clean JSON. This actor turns\nthe same public data behind Google's political ads report into advertiser spend leaderboards,\nweekly spend series, advertiser-by-state totals, country/state/district totals, ad-level creative\ndisclosures and California/New Zealand declared advertiser filings.\n\nNo login, cookie, API key, browser or proxy is needed. The source is Google's public bulk download,\nrefreshed daily.\n\n## Modes\n\n| Mode | What it returns |\n|---|---|\n| `advertisers` | One row per verified election advertiser: lifetime spend in every published currency, total creatives, regions, public IDs, first/last spend week, recent vs prior trend and optional 52-week history. |\n| `weeklySpend` | One row per advertiser per week with the week's spend by currency and the advertiser's regions. |\n| `advertiserRegionSpend` | One row per advertiser per US state (plus the one UK row Google publishes) with spend by currency. |\n| `regionSpend` | Country, state and congressional-district totals with a geography level and the official report link. |\n| `creatives` | One row per election creative: format, serving dates, impression bucket and bounds, first/last served timestamp, age/gender/geo targeting, Google Ad Grants flag and the spend range in the ad's serving currency. |\n| `declaredAdvertisers` | California and New Zealand declared advertiser filings: declared name, regulatory ID, scope, promoter name and address. |\n\n## Input\n\n| Field | Default | What it does |\n|---|---|---|\n| `mode` | `advertisers` | Table to export: advertiser totals, weekly spend, advertiser region spend, region totals, creatives or declared filings. |\n| `country` | `any` | Keep one of Google's 12 election-ad regions: US, BR, IN, AR, AU, CL, IL, GB, MX, TW, NZ, ZA. |\n| `dateFrom` | – | Start date (YYYY-MM-DD). Weekly rows use the week start; creatives match any ad active in the window; advertiser totals require weekly activity in the window. |\n| `dateTo` | – | End date (YYYY-MM-DD), inclusive. |\n| `advertiserNameContains` | – | Case-insensitive advertiser name substring, e.g. Senate, PAC or a candidate. |\n| `advertiserIds` | – | AR... advertiser IDs or pasted Ads Transparency Center advertiser URLs. |\n| `creativeIds` | – | CR... creative IDs or pasted creative URLs; used by `creatives`. |\n| `currency` | `USD` | Currency used for spend filters, `spendLocal`, and spend sorting. One of Google's 21 published currencies. |\n| `minSpend` | – | Minimum spend in the selected currency. Creatives match when the top of Google's range reaches it. |\n| `maxSpend` | – | Maximum spend in the selected currency. Creatives match when the bottom of Google's range is at or below it. |\n| `adType` | `any` | Creative format: `TEXT`, `IMAGE` or `VIDEO` (only `creatives`). |\n| `fundedByGoogleAdGrants` | `any` | Keep creatives funded (`yes`) or not funded (`no`) by Google Ad Grants (only `creatives`). |\n| `trendWindowWeeks` | `4` | Weeks in the recent window and again in the prior window for advertiser trends. |\n| `surgeOnly` | `false` | Keep only advertisers that doubled recent spend or just started spending. |\n| `includeWeeklyHistory` | `false` | Attach up to 52 recent weekly rows per advertiser, in the selected currency. |\n| `sortBy` | `spendDesc` | `spendDesc`, `spendAsc`, `dateNewest`, `dateOldest` or `nameAsc`. Date sorts fall back to name where a mode has no dates. |\n| `maxItems` | `50` | Stop after this many records (1–2000). |\n\nIf a spend filter is set and a row has no published amount in the selected currency, the row does\nnot match. Google never publishes a cross-currency conversion, so this actor never invents one.\n\n## Examples\n\nTop 25 US advertisers by lifetime spend, with a four-week trend:\n\n```json\n{\n  \"mode\": \"advertisers\",\n  \"country\": \"US\",\n  \"currency\": \"USD\",\n  \"sortBy\": \"spendDesc\",\n  \"maxItems\": 25\n}\n```\n\nAdvertisers that just doubled their recent spend:\n\n```json\n{\n  \"mode\": \"advertisers\",\n  \"country\": \"US\",\n  \"surgeOnly\": true,\n  \"trendWindowWeeks\": 4,\n  \"maxItems\": 50\n}\n```\n\nWeekly spend for one advertiser in 2024:\n\n```json\n{\n  \"mode\": \"weeklySpend\",\n  \"advertiserIds\": [\"AR03821862303154831361\"],\n  \"dateFrom\": \"2024-01-01\",\n  \"dateTo\": \"2024-12-31\",\n  \"sortBy\": \"dateOldest\",\n  \"maxItems\": 52\n}\n```\n\nWhere a Senate campaign spent by state:\n\n```json\n{\n  \"mode\": \"advertiserRegionSpend\",\n  \"advertiserNameContains\": \"for Senate\",\n  \"minSpend\": 1000,\n  \"sortBy\": \"spendDesc\",\n  \"maxItems\": 50\n}\n```\n\nDistrict totals in a state:\n\n```json\n{\n  \"mode\": \"regionSpend\",\n  \"country\": \"US\",\n  \"maxItems\": 100\n}\n```\n\nLarge video creatives in Brazil, priced in BRL:\n\n```json\n{\n  \"mode\": \"creatives\",\n  \"country\": \"BR\",\n  \"currency\": \"BRL\",\n  \"adType\": \"VIDEO\",\n  \"minSpend\": 10000,\n  \"sortBy\": \"spendDesc\",\n  \"maxItems\": 20\n}\n```\n\n## Output\n\nEvery record has `recordType`, `sourceUrl`, `sourceFile`, `sourceLastModified`,\n`reportDataUpdatedAt` and `scrapedAt`. Empty values are omitted, never null.\n\nAdvertiser rows add `advertiserId`, `advertiserName`, `advertiserUrl`, `publicIds`, `regions`,\n`elections`, `totalCreatives`, `spendByCurrency`, `spendUsd`, `spendLocal`, `spendCurrency`,\n`primaryCurrency`, `firstSpendWeek`, `lastSpendWeek`, `weeksWithSpend`, `recentSpend`,\n`priorSpend`, `changePct`, `trend`, `trendWindowWeeks`, `latestIncludedWeek`, optional\n`weeklySpend` and optional `declaredFilings`.\n\nWeekly rows add `weekStartDate`, spend fields, `regions`, `elections`, `totalCreatives` and\n`latestIncludedWeek`.\n\nAdvertiser-region rows add `country`, `countryName`, `regionCode`, `regionName` and spend fields.\n\nRegion rows add `country`, `countryName`, `regionCode`, `regionName`, `districtName`, `geoLevel`,\n`reportUrl` and spend fields. `geoLevel` is `country`, `subdivision` or `district`.\n\nCreative rows add `adId`, `adUrl`, `adType`, `regions`, `advertiserId`, `advertiserName`,\n`advertiserUrl`, `dateRangeStart`, `dateRangeEnd`, `daysActive`, `impressionsBucket`,\n`impressionsMin`, `impressionsMax`, `firstServedAt`, `lastServedAt`, `ageTargeting`,\n`genderTargeting`, `geoIncluded`, `geoExcluded`, `geoIncludedCount`, `geoExcludedCount`,\n`isFundedByGoogleAdGrants`, `spendRanges`, and `spendCurrency`, `spendRangeMin`,\n`spendRangeMax` for the selected currency when the ad served in that currency's region.\n\nDeclared rows add `advertiserId`, `advertiserName`, `advertiserUrl`, `declaredRegion`,\n`declaredRegionName`, `declaredName`, `regulatoryId`, `declaredScope`, `promoterName` and\n`promoterAddress`.\n\n## How Google reports spend\n\n- Amounts are Google's published figures, typically rounded to the nearest 100 in the advertiser's\n  reporting currency.\n- Each row carries its own currency. `spendByCurrency` keeps every non-zero published currency;\n  `spendLocal` is the amount in the `currency` you selected. No exchange-rate conversion is made.\n- Creative spend is a range. `spendRanges` keeps the range for the ad's serving currency only,\n  because Google fills the other currency columns with placeholder low buckets that are not\n  spend disclosure.\n- Impressions are buckets. `impressionsBucket` is Google's label; `impressionsMin` and\n  `impressionsMax` are parsed numeric bounds, and `impressionsMax` is omitted for the open-ended\n  top bucket.\n- The latest week may still be filling in when you run. `latestIncludedWeek` and\n  `reportDataUpdatedAt` tell you how fresh the file is.\n\n## Data source\n\nGoogle's \"Political advertising on Google\" transparency bundle:\n`https://storage.googleapis.com/political-csv/google-political-ads-transparency-bundle.zip`.\nGoogle publishes it for researchers, journalists and the public. The actor reads only the members\na run needs, using standard HTTP range requests; the creative table is downloaded in full because\nit is 270 MB compressed. It identifies itself with a User-Agent and does not bypass access controls,\nuse Google pages, or read private data.\n\nThis actor is not affiliated with or endorsed by Google. Google, YouTube and Google Ads are\ntrademarks of Google LLC.\n\n## Limitations\n\n- Google's public bundle has country, state/subdivision and congressional-district spend. It does\n  not publish postal/ZIP-level spend.\n- Google retired the EU political ads report in September 2025, so EU coverage is historical; the\n  bundle still publishes GB and the other regions listed above.\n- The `google-political-ads-top-keywords-history.csv` and\n  `google-political-ads-campaign-targeting.csv` files are deprecated and contain only headers, so\n  they are not exposed as modes.\n- Creative rows link to Google's Transparency Center viewer. This actor does not download ad media\n  files.\n- Advertiser `Elections` is often empty upstream; the field is omitted when empty.\n- Google's figures can be revised. For official campaign-finance records, use the FEC or the\n  relevant election authority.\n\n## FAQ\n\n**Do I need a Google account, cookie or proxy?** No. The source is a public bulk file.\n\n**Does this return commercial ad spend?** No. Google discloses spend only for election ads. This\nactor exports that disclosure.\n\n**Can I get a USD total for a Brazilian advertiser?** Only if Google published a USD amount for\nthat advertiser. Google does not publish exchange rates or a converted total, so none is invented.\n\n**How fresh is the data?** Google refreshes the bundle daily. Each record carries the bundle's\npublication timestamp and the HTTP Last-Modified time.\n\n**Why is a creative's EUR range missing for a US ad?** Google fills non-serving currency columns\nwith placeholder buckets. Only the range for the ad's serving currency is real spend disclosure.\n",
      "input": {
        "title": "Google Political Ads Spend Input",
        "description": "Choose one official Google political advertising transparency table and filter it by country, dates, advertiser, currency, spend and creative type.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "description": "Official table to export. Advertisers returns lifetime totals with trends; Weekly spend returns one row per advertiser per week; Advertiser region spend returns advertiser by state; Region spend returns country, state and district totals; Creatives returns ad-level spend ranges and targeting; Declared advertisers returns California and New Zealand filings.",
            "editor": "select",
            "enum": [
              "advertisers",
              "weeklySpend",
              "advertiserRegionSpend",
              "regionSpend",
              "creatives",
              "declaredAdvertisers"
            ],
            "enumTitles": [
              "Advertiser totals and trends",
              "Weekly spend per advertiser",
              "Spend by advertiser and state",
              "Spend by country, state or district",
              "Creative spend and targeting",
              "Declared advertiser filings (CA/NZ)"
            ],
            "default": "advertisers",
            "prefill": "advertisers",
            "sectionCaption": "Mode and scope"
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Only rows for this country. Leave on Any country for global coverage. Google publishes election-ad data for these 12 regions.",
            "editor": "select",
            "enum": [
              "any",
              "US",
              "BR",
              "IN",
              "AR",
              "AU",
              "CL",
              "IL",
              "GB",
              "MX",
              "TW",
              "NZ",
              "ZA"
            ],
            "enumTitles": [
              "Any country",
              "United States",
              "Brazil",
              "India",
              "Argentina",
              "Australia",
              "Chile",
              "Israel",
              "United Kingdom",
              "Mexico",
              "Taiwan",
              "New Zealand",
              "South Africa"
            ],
            "default": "any",
            "prefill": "US"
          },
          "dateFrom": {
            "title": "Date from",
            "type": "string",
            "description": "Start date (YYYY-MM-DD). Weekly spend uses the week start date; creatives match any ad active in the window; advertiser totals require weekly spend activity in the window. Leave empty for all dates.",
            "editor": "datepicker",
            "sectionCaption": "Dates"
          },
          "dateTo": {
            "title": "Date to",
            "type": "string",
            "description": "End date (YYYY-MM-DD), inclusive. Leave empty for all dates.",
            "editor": "datepicker"
          },
          "advertiserNameContains": {
            "title": "Advertiser name contains",
            "type": "string",
            "description": "Case-insensitive substring match on the advertiser name, for example Senate, PAC or a candidate name. Not used by Region spend mode, which has no advertiser column.",
            "editor": "textfield",
            "sectionCaption": "Filters"
          },
          "advertiserIds": {
            "title": "Advertiser IDs",
            "type": "array",
            "description": "Google advertiser IDs (AR...) or pasted Ads Transparency Center advertiser URLs. Empty means all advertisers. Not used by Region spend mode.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "creativeIds": {
            "title": "Creative IDs (creatives mode)",
            "type": "array",
            "description": "Google creative IDs (CR...) or pasted Ads Transparency Center creative URLs. Only used by Creatives mode.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "currency": {
            "title": "Spend currency",
            "type": "string",
            "description": "Currency used for minSpend, maxSpend, spendLocal and spend sorting. Google publishes spend in the advertiser's local reporting currency and never converts it.",
            "editor": "select",
            "enum": [
              "USD",
              "EUR",
              "INR",
              "BGN",
              "CZK",
              "DKK",
              "HUF",
              "PLN",
              "RON",
              "SEK",
              "GBP",
              "NZD",
              "ILS",
              "AUD",
              "TWD",
              "BRL",
              "ARS",
              "ZAR",
              "CLP",
              "MXN"
            ],
            "enumTitles": [
              "US dollar (USD)",
              "Euro (EUR)",
              "Indian rupee (INR)",
              "Bulgarian lev (BGN)",
              "Czech koruna (CZK)",
              "Danish krone (DKK)",
              "Hungarian forint (HUF)",
              "Polish zloty (PLN)",
              "Romanian leu (RON)",
              "Swedish krona (SEK)",
              "Pound sterling (GBP)",
              "New Zealand dollar (NZD)",
              "Israeli shekel (ILS)",
              "Australian dollar (AUD)",
              "New Taiwan dollar (TWD)",
              "Brazilian real (BRL)",
              "Argentine peso (ARS)",
              "South African rand (ZAR)",
              "Chilean peso (CLP)",
              "Mexican peso (MXN)"
            ],
            "default": "USD",
            "prefill": "USD"
          },
          "minSpend": {
            "title": "Minimum spend",
            "type": "number",
            "description": "Only rows with at least this amount in the selected currency. Creatives match when the top of Google's spend range reaches it; aggregates use the exact published total.",
            "minimum": 0,
            "maximum": 1000000000000
          },
          "maxSpend": {
            "title": "Maximum spend",
            "type": "number",
            "description": "Only rows with at most this amount in the selected currency. Creatives match when the bottom of Google's spend range is at or below it.",
            "minimum": 0,
            "maximum": 1000000000000
          },
          "adType": {
            "title": "Ad type (creatives mode)",
            "type": "string",
            "description": "Filter creatives by format. Only used by Creatives mode.",
            "editor": "select",
            "enum": [
              "any",
              "TEXT",
              "IMAGE",
              "VIDEO"
            ],
            "enumTitles": [
              "Any type",
              "Text",
              "Image",
              "Video"
            ],
            "default": "any",
            "prefill": "any"
          },
          "fundedByGoogleAdGrants": {
            "title": "Google Ad Grants (creatives mode)",
            "type": "string",
            "description": "Keep only creatives funded or not funded by a Google Ad Grants in-kind donation. Only used by Creatives mode.",
            "editor": "select",
            "enum": [
              "any",
              "yes",
              "no"
            ],
            "enumTitles": [
              "Any",
              "Funded by Google Ad Grants",
              "Not funded"
            ],
            "default": "any",
            "prefill": "any"
          },
          "trendWindowWeeks": {
            "title": "Trend window (weeks)",
            "type": "integer",
            "description": "Advertiser totals compare the last N weeks of spend with the N weeks before. Only used by Advertiser totals mode.",
            "minimum": 1,
            "maximum": 52,
            "default": 4,
            "prefill": 4,
            "sectionCaption": "Advertiser trends"
          },
          "surgeOnly": {
            "title": "Only surging advertisers",
            "type": "boolean",
            "description": "Keep only advertisers whose recent spend doubled versus the prior window or who just started spending. Only used by Advertiser totals mode.",
            "default": false,
            "prefill": false
          },
          "includeWeeklyHistory": {
            "title": "Include weekly history",
            "type": "boolean",
            "description": "Attach up to 52 most recent weekly spend rows per advertiser, in the selected currency. Only used by Advertiser totals mode.",
            "default": false,
            "prefill": false
          },
          "sortBy": {
            "title": "Sort by",
            "type": "string",
            "description": "Order of the returned rows. Spend sorts use spendLocal for aggregates and the top of Google's spend range for creatives. Date sorts fall back to name in modes without dates.",
            "editor": "select",
            "enum": [
              "spendDesc",
              "spendAsc",
              "dateNewest",
              "dateOldest",
              "nameAsc"
            ],
            "enumTitles": [
              "Spend, highest first",
              "Spend, lowest first",
              "Date, newest first",
              "Date, oldest first",
              "Advertiser name A-Z"
            ],
            "default": "spendDesc",
            "prefill": "spendDesc",
            "sectionCaption": "Output"
          },
          "maxItems": {
            "title": "Maximum records",
            "type": "integer",
            "description": "Stop after this many matching records. Lower values keep runs fast and cheap.",
            "minimum": 1,
            "maximum": 2000,
            "default": 50,
            "prefill": 2
          }
        }
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Google Political Ads Spend Output",
        "description": "Official Google political advertising records: advertiser totals with trends, weekly spend, advertiser by state spend, country/state/district totals, creative spend ranges with targeting, and California/New Zealand declared advertiser filings.",
        "properties": {
          "records": {
            "type": "string",
            "title": "Spend and transparency records",
            "description": "Dataset containing the selected Google political advertising table as clean JSON records.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "spend": {
              "title": "Spend and transparency records",
              "transformation": {
                "fields": [
                  "recordType",
                  "advertiserName",
                  "country",
                  "regionCode",
                  "spendUsd",
                  "spendLocal",
                  "spendCurrency",
                  "weekStartDate",
                  "dateRangeStart",
                  "impressionsBucket",
                  "trend"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.0.2",
    "imageDigest": "bc8f5988dba30eee7fa71fc02de2ff7dc126a55854e78c20ef53ed3992f65006",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    },
    "usage": {
      "ACTOR_COMPUTE_UNITS": 0.0020444444444444447
    }
  }
}