{
  "format": "xsi-clay-http-api-column-config/v1",
  "importNote": "Clay does not document importing a table or an HTTP API column from a JSON file. This file is a configuration annex to copy by hand into Clay (Add enrichment \u2192 HTTP API \u2192 Configure). It is not an official Clay template format.",
  "actor": {
    "storeId": "xsi/google-ads-transparency",
    "apiId": "xsi~google-ads-transparency",
    "objectId": "wSrbgwU2Kp5kkJMGf",
    "title": "Google Ads Transparency Center Scraper & API + MCP",
    "latestBuild": {
      "tag": "latest",
      "finishedAt": "2026-11-30T09:03:19.775Z",
      "finishedAtEuropeBrussels": "2026-11-30 10:03:19 Europe/Brussels"
    },
    "defaultRunOptions": {
      "build": "latest",
      "timeoutSecs": 3600,
      "memoryMbytes": 256
    }
  },
  "httpApiEnrichment": {
    "method": "POST",
    "endpoint": "https://api.apify.com/v2/actors/xsi~google-ads-transparency/run-sync-get-dataset-items",
    "endpointLegacyAlias": "https://api.apify.com/v2/acts/xsi~google-ads-transparency/run-sync-get-dataset-items",
    "endpointNotes": [
      "Official docs (docs.apify.com/api/v2) recommend POST /v2/actors/:actorId/run-sync-get-dataset-items.",
      "The same docs state that /v2/acts/ is a deprecated but still fully functional prefix that routes to the same handler."
    ],
    "optionalQueryParameters": {
      "timeout": {
        "type": "number",
        "unit": "seconds",
        "meaning": "Optional timeout for the Actor run. Does not raise the HTTP 300-second cap of this endpoint.",
        "example": 240
      },
      "maxTotalChargeUsd": {
        "type": "number",
        "meaning": "Optional cap on the total cost of the run.",
        "example": 0.05,
        "exampleNote": "Illustrative only; choose a cap that fits your maxAdsPerQuery and extras (details, OCR, media)."
      },
      "build": {
        "type": "string",
        "default": "latest",
        "example": "latest"
      }
    },
    "headers": [
      {
        "key": "Authorization",
        "value": "Bearer {{APIFY_TOKEN}}",
        "required": true,
        "howToStoreInClay": "Prefer a Clay HTTP API (Headers) account so the token is not entered in plain text in the column. Manual header value: Bearer YOUR_APIFY_TOKEN. Use the user's own Apify token, not the Actor owner's."
      },
      {
        "key": "Content-Type",
        "value": "application/json",
        "required": true,
        "howToStoreInClay": "Clay's HTTP API docs say Content-Type application/json is set automatically."
      }
    ],
    "body": {
      "domain": "/Domain",
      "regions": [
        "US"
      ],
      "maxAdsPerQuery": 10
    },
    "bodyJsonForClay": "{\n  \"domain\": \"/Domain\",\n  \"regions\": [\"US\"],\n  \"maxAdsPerQuery\": 10\n}",
    "bodyNotes": [
      "Clay: wrap string column references in quotes (required since October 2024 per Clay HTTP API docs).",
      "Your Clay table needs a column named Domain (or change /Domain to match your column title).",
      "regions and maxAdsPerQuery match the official exampleRunInput / input-schema prefill from the latest build. Mapping a Country column into regions is UNVERIFIED in Clay when the value sits inside a JSON array.",
      "proxyConfiguration is omitted here so the Actor's input-schema default applies (Residential). The official exampleRunInput also sets it explicitly; see examples/google-ads-transparency.body.official-example.json."
    ],
    "exampleBodyValidatedAgainstInputSchema": {
      "domain": "nike.com",
      "regions": [
        "US"
      ],
      "maxAdsPerQuery": 10
    },
    "conditionalRunExampleFromClayDocs": "Only run if the Domain column is not empty.",
    "response": {
      "apifyDefaultFormat": "json",
      "apifyShape": "A JSON array of dataset items (typically one object per ad, plus an optional domain_summary row when includeDomainSummary is true, which is the schema default).",
      "fieldPaths": "UNVERIFIED. Clay's official examples use object paths such as data.user.email. This endpoint returns a root-level array. After you test one row, use Add as column on the fields you need (Clay table-columns docs).",
      "overviewFieldsFromLatestDatasetSchema": [
        "inputDomain",
        "status",
        "format",
        "headline",
        "description",
        "cta",
        "landingUrl",
        "firstShownDate",
        "lastShownDate",
        "daysActive",
        "isWinningAd",
        "isNewLaunch",
        "detectedPromoCodes",
        "detectedDiscounts",
        "region",
        "imageUrl",
        "youtubeUrl",
        "transparencyUrl",
        "adId"
      ],
      "whenToUseHttpApiAsSource": "Clay docs: use HTTP API as source to create a new table from an endpoint that returns multiple records. Accounts are mandatory for sources. For a root-level array, the correct results path is UNVERIFIED (docs examples use a nested key such as items). If you use this mode, set Response timeout above 300000 milliseconds; the default value is not published (UNVERIFIED)."
    }
  },
  "pricing": {
    "asOf": "2026-11-30 11:17 Europe/Brussels",
    "source": "GET /v2/acts/xsi~google-ads-transparency, pricingInfos entry startedAt 2026-11-26T12:45:33.000Z (later of two entries; no end date), pricingModel PAY_PER_EVENT, apifyMarginPercentage 0.2",
    "usdPerEventByApifyTier": {
      "ad": {
        "FREE": 0.001,
        "BRONZE": 0.0009,
        "SILVER": 0.0008,
        "GOLD": 0.0007,
        "PLATINUM": 0.0007,
        "DIAMOND": 0.0007,
        "isPrimaryEvent": true
      },
      "ad-detail": {
        "FREE": 0.0015,
        "BRONZE": 0.0013,
        "SILVER": 0.0012,
        "GOLD": 0.001,
        "PLATINUM": 0.001,
        "DIAMOND": 0.001
      },
      "ad-text": {
        "allTiersUsd": 0.001
      },
      "media-file": {
        "allTiersUsd": 0.002
      },
      "advertiser": {
        "allTiersUsd": 0.002
      },
      "new-ad-alert": {
        "allTiersUsd": 0.005
      },
      "monitor-check": {
        "allTiersUsd": 0.001
      },
      "mcp-tool-call": {
        "allTiersUsd": 0.003
      }
    },
    "minimalMaxTotalChargeUsd": 0.01,
    "defaultBodyCostNote": "The 60-second body leaves includeDetails, ocrImageAds and downloadMedia at their schema defaults (false). Each returned ad is billed as the primary event 'ad'. includeDomainSummary defaults to true and is described in the input schema as a free summary row. Typical run duration was not measured in this delivery (no run launched).",
    "publicPricingFormula": "Pay per result. No xsi subscription; volume discount tiers require a paid Apify plan."
  },
  "limits": {
    "runSyncHttpTimeoutSeconds": 300,
    "runSyncTimeoutStatus": 408,
    "runSyncTimeoutErrorType": "run-timeout-exceeded",
    "actorDefaultTimeoutSecs": 3600,
    "actorDefaultMemoryMbytes": 256,
    "maxAdsPerQueryRange": {
      "minimum": 1,
      "maximum": 100000,
      "prefill": 10
    },
    "clayHttpApiEnrichmentClientTimeout": "UNVERIFIED (not documented on the HTTP API enrichment page). Response timeout in milliseconds is documented only for HTTP API as source; no default value is published."
  },
  "sources": [
    "https://docs.apify.com/api/v2/actor-run-sync-get-dataset-items-post",
    "https://docs.apify.com/api/v2",
    "https://docs.apify.com/integrations/api",
    "https://university.clay.com/docs/http-api-integration-overview",
    "https://university.clay.com/docs/table-columns-overview",
    "https://university.clay.com/docs/workbook-table-sharing-guide",
    "https://university.clay.com/docs/workflows"
  ]
}
