Apinoa Docs

Ads

Google 광고 투명성 센터에서, 광고주가 집행한 모든 광고나 웹사이트로 이어지는 모든 광고, 또는 한 나라의 정치 광고를 가져옵니다.

원본 .mdx 보기
GET | POST /v1/google-ads/ads

파라미터는 GET의 쿼리 문자열로도, POST의 JSON 본문으로도 보낼 수 있습니다. 둘은 같습니다.

요청

curl "https://gateway.apinoa.com/v1/google-ads/ads?political=true&country=US" \
  -H "x-api-key: $APINOA_API_KEY"

넘길 값

넘길 값읽는 것설명
advertiser이 광고주들이 집행한 모든 광고광고주 id(AR…) 최대 10개, 쉼표로 구분
domain이 웹사이트로 이어지는 모든 광고(광고주 무관)nike.com
political=true정치 광고단독(country와 함께)으로, 또는 advertiser·domain과 함께

advertiser나 domain을 넘기세요. 필터(country, platform, format, startDate, endDate, political)는 둘 다와 함께 씁니다.

파라미터

파라미터타입필수설명
advertiserstring listEvery ad these advertisers ran: up to 10 advertiser ids (AR…), comma-separated (advertisers?query= finds one by name).
countrystringOnly ads shown in this country (ISO 3166-1 alpha-2). Default: anywhere.
cursorstringOpaque cursor from the previous page's cursor. Pass it alone for the next page.
domainstringEvery ad that leads to this website (nike.com), whichever advertiser ran it.
endDatestringOnly ads shown on or before this day (YYYY-MM-DD).
formatenumOnly ads of this format: text, image or video. text image video
limitinteger 1–100Ads per page, 1–100 (default 40).
platformenumOnly ads shown on this Google platform: search, youtube, shopping, maps or play. play maps search shopping youtube
politicalbooleanPolitical ads only (the Transparency Center's political ads report): these state impressions, spend and regions.
startDatestringOnly ads shown on or after this day (YYYY-MM-DD).

같은 파라미터와 모든 응답 타입은 OpenAPI 문서에도 있습니다.

응답

data에 AdPage를 반환합니다. 실제 응답을 줄인 것입니다. 배열은 앞쪽 항목만 남기고 긴 텍스트는 잘랐습니다.

{
  "success": true,
  "data": {
    "library": "google-ads",
    "items": [
      {
        "library": "google-ads",
        "id": "CR12655672276457357313",
        "url": "https://adstransparency.google.com/advertiser/AR16405420687142944769/cre…",
        "advertiser": {
          "id": "AR16405420687142944769",
          "name": "Claire M Sheehan",
          "url": "https://adstransparency.google.com/advertiser/AR16405420687142944769?reg…"
        },
        "format": "VIDEO",
        "firstShownAt": "2026-04-27T21:28:26.000Z",
        "lastShownAt": "2026-11-26T10:53:12.000Z",
        "impressions": {
          "lower": 9000,
          "upper": 10000
        },
        "spend": {
          "lower": 0,
          "upper": 100
        },
        "currency": "USD",
        "images": [],
        "videos": [],
        "cards": [],
        "countries": [
          {
            "country": "US"
          }
        ],
        "ext": {
          "daysShown": 213,
          "previewUrl": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?…"
        }
      },
      {
        "library": "google-ads",
        "id": "CR05008684663233839105",
        "url": "https://adstransparency.google.com/advertiser/AR17096688148651442177/cre…",
        "advertiser": {
          "id": "AR17096688148651442177",
          "name": "ONE BLACK RABBIT LLC",
          "url": "https://adstransparency.google.com/advertiser/AR17096688148651442177?reg…"
        },
        "format": "VIDEO",
        "firstShownAt": "2026-11-23T08:01:48.000Z",
        "lastShownAt": "2026-11-26T10:51:22.000Z",
        "impressions": {
          "lower": 9000,
          "upper": 10000
        },
        "spend": {
          "lower": 100,
          "upper": 200
        },
        "currency": "USD",
        "images": [],
        "videos": [],
        "cards": [],
        "countries": [
          {
            "country": "US"
          }
        ],
        "ext": {
          "daysShown": 4,
          "previewUrl": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?…"
        }
      }
    ],
    "cursor": "NCDFmqSVNCZe1x7I2Dlpdve6UW2f6CepaQCZa9AfPYkj6ap8pJiJDz0cbxyQD3Gx7OgZ5jaP…",
    "total": 977094
  }
}

에러

상태코드의미
400INVALID_CURSOR이 오퍼레이션이 돌려준 cursor가 아닙니다. cursor 없이 처음부터 다시 시작하세요.
400INVALID_PARAMS파라미터가 없거나, 알 수 없거나, 범위를 벗어났습니다. 메시지에 이름이 나옵니다.
401UNAUTHORIZEDx-api-key 헤더가 없거나, 폐기되었거나 알 수 없는 키입니다.
402INSUFFICIENT_CREDITS크레딧이 이 호출 비용에 모자랍니다. 대시보드에서 플랜을 고르거나 충전하세요.
429MARKETPLACE_SATURATED동시 호출이 너무 많습니다. Retry-After 초만큼 기다린 뒤 다시 시도하세요.
502UPSTREAM_ERROR플랫폼이 쓸 수 없는 응답을 보냈습니다. 간격을 두고 다시 시도하세요.

모든 코드는 에러에 있습니다. 실패한 호출은 과금되지 않습니다.

가격

가격 호출당 1 크레딧. 플랜과 크레딧

참고

  • AdPage입니다. Ads API의 모든 광고 라이브러리가 같은 레코드를 반환합니다. 투명성 센터만 밝히는 정보는 ext에 있습니다.
  • 맞는 광고 수는 대부분의 검색에서 범위(totalRange, 예: 8000–9000)로, 작은 검색과 정치 광고 검색에서는 정확한 수(total)로 나옵니다. 어느 쪽도 반올림하거나 추정하지 않습니다.
  • 정치 광고에는 범위로 밝힌 impressions와 spend, 광고비의 currency, 집행된 countries도 있습니다. 다른 광고에는 노출 수나 광고비가 없습니다. Google이 공개하지 않습니다.
  • 텍스트 광고 대부분은 광고 이미지(images, 너비와 높이 포함)로 나옵니다. 나머지는 ext.previewUrl에 미리보기가 있습니다. ad?include=content가 미리보기에서 광고 문구를 읽습니다.
  • ext.daysShown은 광고가 노출된 일수이고, ext.matchedDomain은 domain 검색에서 맞은 웹사이트입니다.
  • url은 투명성 센터의 광고 페이지이며, ad?id=가 그대로 받습니다.
  • 페이지당 최대 100개(limit, 기본 40)입니다. 다음 페이지는 cursor만 넘기면 됩니다.

이 페이지 내용