> ## Documentation Index
> Fetch the complete documentation index at: https://www.ayrshare.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ブーストされた広告

> Ayrshare でブーストした Snapchat 広告を広告、投稿、Snap、キャンペーン、広告アカウント別にステータスと審査付きで取得します。

[投稿をブースト](https://www.ayrshare.com/docs/apis/ads/snapchat/boost-post.md)で作成した Snapchat 広告を、各広告のステータスと Snapchat の審査とともに取得します。

<ul>
  <li>`postId`、`socialPostId`、`adId`、`accountId`、`campaignId` のいずれか 1 つを送ってください。複数送った場合は、この順で最初のものが使われます。</li>
  <li>このプロフィールのために Ayrshare でブーストした広告のみが一覧に含まれます。Snapchat Ads Manager で作成した広告は除外されます。</li>
  <li>`review` は Snapchat による広告の審査です: Snapchat が報告する `status` (たとえば審査中は `PENDING`、承認後は `APPROVED`) と、Snapchat の説明を含む `reasons`。Snapchat が審査を報告しない場合、`review` は `null` です。</li>
  <li>各広告には `adSquadId` が含まれます: Snapchat では、予算とターゲティングは ad squad に設定されます。</li>
  <li>このエンドポイントは費用や成果を返しません。リアルタイムの数値には [インサイト](https://www.ayrshare.com/docs/apis/ads/snapchat/get-ad-insights.md)、日別の費用には [履歴](https://www.ayrshare.com/docs/apis/ads/snapchat/get-ad-history.md)を使用してください。</li>
  <li>広告を一時停止または再開するには、[広告を更新](https://www.ayrshare.com/docs/apis/ads/snapchat/put-ad-update.md)を使用します。</li>
</ul>

## ヘッダーパラメータ

**Authorization** `string` *required*

[API Key](https://www.ayrshare.com/docs/apis/overview.md#authorization) of the Primary Profile.

Format: `Authorization: Bearer API_KEY`
**Profile-Key** `string`

[Profile Key](https://www.ayrshare.com/docs/apis/overview.md#profile-key-format) of a User Profile.

Format: `Profile-Key: PROFILE_KEY`

## クエリパラメータ

**postId** `string`

ブーストした Ayrshare の[投稿 ID](https://www.ayrshare.com/docs/apis/overview.md#ayrshare-post-id)。その投稿からブーストした広告を返します。

**socialPostId** `string`

ブーストした Snap の ID: 投稿の Snapchat 結果にある `mediaId`。その Snap からブーストした広告を返します。`snapchatSnapId` も同じパラメータとして受け付けます。

**adId** `string`

Snapchat 広告 ID。[投稿をブースト](https://www.ayrshare.com/docs/apis/ads/snapchat/boost-post.md)が返した `id` です。

**accountId** `string`

Snapchat 広告アカウントの ID。そのアカウントでブーストした広告を返します。

**campaignId** `string`

Snapchat キャンペーン ID。ブーストのレスポンスの `platformIds.campaignId` から取得します。

**status** `string`

このステータスの広告のみを返します: `active` または `paused`。すべてのステータスを取得するには省略します。`adId`、`postId`、`socialPostId` を使う場合、ステータスが一致しない広告が返ることもあるため、`adStatus` を確認してください。

**limit** `number` (default: 25)

返す広告の数。最大は 300 で、それより大きい値は 300 に制限されます。`limit` を送ると、レスポンスには送った数より 1 件多い広告が含まれることがあります。

```bash cURL theme={"system"}
curl \
-H "Authorization: Bearer API_KEY" \
-X GET "https://api.ayrshare.com/api/ads/snapchat/ads?adId=c3a1e2d4-0000-4000-8000-0000000000ad"
```

```json 200: Success theme={"system"}
{
  "status": "success",
  "ads": [
    {
      "postId": "DE6gpw8kxlonHy6eb7L1",
      "ad": {
        "adId": "c3a1e2d4-0000-4000-8000-0000000000ad",
        "campaignId": "d4c3b2a1-0000-4000-8000-0000000000ca",
        "adSquadId": "e5f6a7b8-0000-4000-8000-0000000000sq",
        "platform": "snapchat",
        "adStatus": "ACTIVE",
        "creativeId": "a1b2c3d4-0000-4000-8000-0000000000cr",
        "created": "2026-11-20T15:04:05.123Z",
        "review": { "status": "APPROVED", "reasons": [] },
        "snapchatSnapId": "6f1c2d3e-0000-4000-8000-00000000000a",
        "socialPostId": "6f1c2d3e-0000-4000-8000-00000000000a"
      }
    }
  ],
  "count": 1,
  "lastUpdated": "2026-11-21T09:30:00.000Z",
  "nextUpdate": "2026-11-21T09:41:00.000Z"
}
```

```json 400: No lookup parameter theme={"system"}
{
  "action": "request",
  "status": "error",
  "code": 101,
  "message": "Missing or incorrect parameters. Please verify with the docs. https://www.ayrshare.com/docs/apis",
  "details": "At least one of campaignId, accountId, adId, postId, or snapchatSnapId is required."
}
```

```json 400: Not yours theme={"system"}
{
  "action": "ads",
  "status": "error",
  "code": 400,
  "message": "The ad is not found or not authorized."
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.