---
title: "Ad"
description: "Google 광고 투명성 센터의 광고 하나 전체: 모든 버전, 노출된 곳, 타기팅, 광고비를 낸 주체, 그리고 선택적으로 광고 문구."
---

> Every apinoa docs page as markdown: https://apinoa.com/llms.txt (all in one file: https://apinoa.com/llms-full.txt; this API family in one file: https://apinoa.com/docs/ads/llms.txt)

```http
GET | POST /v1/google-ads/ad
```

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

## 요청

```bash tab="cURL"
curl "https://gateway.apinoa.com/v1/google-ads/ad?advertiser=AR16735076323512287233&id=CR01003845904182018049&country=DE&include=content" \
  -H "x-api-key: $APINOA_API_KEY"
```

```js tab="JavaScript"
const params = new URLSearchParams({ advertiser: "AR16735076323512287233", id: "CR01003845904182018049", country: "DE", include: "content" });
const res = await fetch(`https://gateway.apinoa.com/v1/google-ads/ad?${params}`, {
  headers: { "x-api-key": process.env.APINOA_API_KEY },
});
const { success, data, error } = await res.json();
```

```python tab="Python"
import os

import requests

res = requests.get(
    "https://gateway.apinoa.com/v1/google-ads/ad",
    params={"advertiser": "AR16735076323512287233", "id": "CR01003845904182018049", "country": "DE", "include": "content"},
    headers={"x-api-key": os.environ["APINOA_API_KEY"]},
)
body = res.json()
```

## 넘길 값

| 넘길 값 | 읽는 것 | 설명 |
|---|---|---|
| `id` + `advertiser` | 광고 | 광고 id(`CR…`)와 광고주 id(`AR…`) |
| `id`만 | 광고 | 광고의 투명성 센터 URL(`…/advertiser/AR…/creative/CR…`) |

`country`는 어느 나라의 정보가 오는지, EU에서 노출된 광고라면 그 노출 수까지 정합니다. 없으면 URL의 지역을, 그것도 없으면 전체를 씁니다.

## 파라미터

| Parameter | Type | Required | Notes |
|---|---|---|---|
| `advertiser` | string |  | The advertiser id (AR…) that ran the ad; not needed with the ad's URL. |
| `country` | string |  | The country to read the ad for: it decides which countries come back, and in the EU their impressions. Default: the URL's region, else anywhere. |
| `id` | string |  | The ad's id (CR…) with `advertiser`, or the ad's Transparency Center URL (…/advertiser/AR…/creative/CR…). |
| `include` | string list |  | content: also read each version's preview — the ad's text and pictures as it shows them, in `cards`. Best-effort: one unit per preview read; a preview that cannot be read is not billed and the ad is still returned. |
| `political` | boolean |  | Read the ad from the political ads report (as `ads?political=true` lists it). |

The same parameters, and every response type, are in the OpenAPI document: https://apinoa.com/openapi.json

## 응답

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

```json
{
  "success": true,
  "data": {
    "library": "google-ads",
    "id": "CR01003845904182018049",
    "url": "https://adstransparency.google.com/advertiser/AR16735076323512287233/cre…",
    "advertiser": {
      "id": "AR16735076323512287233",
      "url": "https://adstransparency.google.com/advertiser/AR16735076323512287233?reg…"
    },
    "paidBy": "Nike, Inc.",
    "format": "IMAGE",
    "lastShownAt": "2026-11-25T14:07:30.000Z",
    "images": [],
    "videos": [],
    "cards": [
      {
        "text": "FC Barcelona 2026/27 Stadium Home Nike Men's Dri-FIT Soccer Replica Jers…",
        "ext": {
          "previewUrl": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?…",
          "contentImages": [
            "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcTloVQt6GPLNB8OEv…"
          ],
          "contentMeta": {
            "creativeType": 38,
            "seedType": 37,
            "variationType": 53,
            "width": 154,
            "height": 305
          }
        }
      }
    ],
    "categories": [
      "Apparel & Accessories"
    ],
    "countries": [
      {
        "country": "NL",
        "impressions": {
          "lower": 0,
          "upper": 1000
        },
        "lastShownAt": "2024-08-09",
        "ext": {
          "firstShownAfterEpochDate": "2023-03-10",
          "platforms": [
            {
              "platform": "shopping",
              "impressions": {
                "lower": 0,
                "upper": 1000
              }
            }
          ]
        }
      },
      {
        "country": "PL",
        "impressions": {
          "lower": 0,
          "upper": 1000
        },
        "lastShownAt": "2024-08-05",
        "ext": {
          "firstShownAfterEpochDate": "2023-03-25",
          "platforms": [
            {
              "platform": "shopping",
              "impressions": {
                "lower": 0,
                "upper": 1000
              }
            }
          ]
        }
      }
    ],
    "ext": {
      "category": {
        "googleProductCategory": {
          "categoryId": 166,
          "categoryName": "Apparel & Accessories"
        },
        "source": 2
      },
      "previewUrl": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?…",
      "targeting": {
        "categories": {
          "demographics": {
            "included": true,
            "excluded": false
          },
          "geography": {
            "included": true,
            "excluded": false
          },
          "contextual": {
            "included": false,
            "excluded": false
          }
        }
      },
      "eea": {
        "impressions": {
          "lower": 3000,
          "upper": 4000
        },
        "lastShownAt": "2024-08-27",
        "platforms": [
          {
            "platform": "shopping",
            "impressions": {
              "lower": 2000,
              "upper": 3000
            }
          }
        ],
        "ext": {
          "firstShownAfterEpochDate": "2023-03-01"
        }
      }
    }
  }
}
```

## 에러

| 상태 | 코드 | 의미 |
|---|---|---|
| 400 | `INVALID_PARAMS` | 파라미터가 없거나, 알 수 없거나, 범위를 벗어났습니다. 메시지에 이름이 나옵니다. |
| 401 | `UNAUTHORIZED` | `x-api-key` 헤더가 없거나, 폐기되었거나 알 수 없는 키입니다. |
| 402 | `INSUFFICIENT_CREDITS` | 크레딧이 이 호출 비용에 모자랍니다. 대시보드에서 플랜을 고르거나 충전하세요. |
| 404 | `NOT_FOUND` | 광고 투명성 센터에 없는 광고입니다. |
| 429 | `MARKETPLACE_SATURATED` | 동시 호출이 너무 많습니다. `Retry-After` 초만큼 기다린 뒤 다시 시도하세요. |
| 502 | `UPSTREAM_ERROR` | 플랫폼이 쓸 수 없는 응답을 보냈습니다. 간격을 두고 다시 시도하세요. |

모든 코드는 [에러](/docs/errors)에 있습니다. 실패한 호출은 과금되지 않습니다.

## 가격

**Price** 1 credit per call, plus 1 credit for each extra call it makes — at most 10 more, so 11 credits in total. [Plans and credits](https://apinoa.com/en/pricing).

## 참고

- `Ad`입니다. [Ads API](/docs/api-reference/ads/response-schema)의 모든 광고 라이브러리가 같은 레코드를 반환합니다. 투명성 센터만 밝히는 정보는 `ext`에 있습니다.
- `cards`는 광고의 모든 버전입니다. 보관된 이미지(`image`, 크기 포함)나 미리보기(`ext.previewUrl`)입니다.
- `countries`는 광고가 노출된 나라와 그곳에서 마지막으로 노출된 날짜를 나열합니다. EU에서 노출된 광고(EU `country`로 읽을 때)와 정치 광고에는 범위로 밝힌 노출 수도 있고, 밝힌 경우 Google 플랫폼별 노출 수가 `ext.platforms`에 나옵니다. `ext.eea`와 `ext.us`는 합계입니다.
- `ext.targeting`은 EU 광고가 쓴 타기팅 종류(인구통계, 지역, 문맥 등)와, 정치 광고라면 지역 조건을 알려 줍니다. `paidBy`는 광고비를 낸 주체, `categories`는 광고가 홍보하는 것에 대한 Google의 분류이며, Google이 합성 미디어로 표시한 광고에는 `aiGenerated`가 있습니다.
- `include=content`는 각 미리보기도 읽습니다. 카드의 `text`는 미리보기가 보여 주는 문구(순서대로 한 줄씩, 미리보기 자체가 보여 주는 `<Open Hours>` 같은 자리표시자도 그대로)이고, `ext.contentImages`는 미리보기가 불러오는 이미지입니다. 읽은 미리보기 하나에 1단위입니다. 읽지 못한 미리보기는 빠지고 과금되지 않으며, 광고는 그대로 반환됩니다. 광고 이미지(`image`)는 글자로 읽지 않습니다.
- 투명성 센터는 동영상 파일을 공개하지 않으므로 `videos`는 비어 있습니다. 동영상 광고의 미리보기는 `ext.previewUrl`에 있습니다.
