> ## 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.

# Boosted Ads

> Ayrshare से boost किए गए Reddit ads पाएँ, ad, post, ad account या campaign के आधार पर, उनके status और Reddit की समीक्षा के साथ।

[Boost Post](https://www.ayrshare.com/docs/apis/ads/reddit/boost-post.md) से बनाए गए Reddit ads पाएँ। खर्च और प्रदर्शन के लिए [इनसाइट्स](https://www.ayrshare.com/docs/apis/ads/reddit/get-ad-insights.md) या [इतिहास](https://www.ayrshare.com/docs/apis/ads/reddit/get-ad-history.md) का उपयोग करें।

<ul>
  <li>`adId`, `postId`, `socialPostId`, `accountId` या `campaignId` में से एक भेजें। इनमें से कोई न होने पर `code: 101` लौटाया जाता है। अगर आप कई भेजते हैं, तो इस क्रम में पहला लागू होने वाला चुना जाता है: `postId` या `socialPostId`, फिर `adId`, फिर `accountId`, फिर `campaignId`।</li>
  <li>`adId` ऐसा ad होना चाहिए जिसे इस profile ने Ayrshare से boost किया हो, अन्यथा `code: 400` लौटाया जाता है। `postId`, `socialPostId` और `accountId` इस profile के boosts खोजते हैं, और कोई न होने पर खाली `ads` सूची लौटाते हैं।</li>
  <li>`campaignId` और `accountId` जिन campaigns को पढ़ते हैं उनके हर ad को सूचीबद्ध करते हैं, इसलिए अगर किसी campaign में Ayrshare के बाहर बने ads भी हैं, तो वे भी response में आ सकते हैं। सिर्फ़ अपने boosts पाने के लिए उन्हें `postId`, `socialPostId` या `adId` से खोजें।</li>
  <li>`postId` Ayrshare post ID है। जब boosted post की कोई Ayrshare post ID नहीं होती, तो यह शामिल नहीं होता।</li>
  <li>`adId`, `accountId` और `campaignId` Reddit IDs (अक्षर, अंक और `_`) होने चाहिए, अन्यथा `code: 101` लौटाया जाता है।</li>
  <li>`summaryStatus` ad का Reddit delivery status है। `review.status` उसी को दोहराता है, और rejection होने पर `review.reasons` में Reddit का कारण होता है।</li>
  <li>Delete किया गया ad Reddit पर archive हो जाता है, इसलिए उसमें `adStatus: "ARCHIVED"` दिखता है।</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`

## क्वेरी पैरामीटर

**adId** `string`

Reddit ad ID से एक ad पाएँ, उदाहरण के लिए `2707300000000000001`।

**postId** `string`

किसी Ayrshare [post ID](https://www.ayrshare.com/docs/apis/overview.md#ayrshare-post-id) से boost किए गए ads पाएँ।

**socialPostId** `string`

किसी Reddit post को promote करने वाले ads पाएँ, उसकी ID से, `t3_` के साथ या उसके बिना, उदाहरण के लिए `1abc27`। `redditPostId` को इसी field के रूप में स्वीकार किया जाता है।

**accountId** `string`

किसी Reddit ad account में आपके boost किए गए ads पाएँ, उदाहरण के लिए `a2_abc123`।

**campaignId** `string`

किसी Reddit campaign के ads पाएँ।

**status** `string`

सिर्फ़ इस status वाले ads लौटाएँ: `active`, `paused` या `archived`। हर status पाने के लिए इसे छोड़ दें। `adId` के साथ ad किसी भी status में लौट सकता है, इसलिए उसका `adStatus` जाँचें। `postId`, `socialPostId` या `accountId` के साथ, delete किया गया ad `status=deleted` से खोजें, `archived` से नहीं, भले ही उसमें `adStatus: "ARCHIVED"` दिखे।

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

हर lookup में कितने ads पढ़ने हैं। 300 से ऊपर के मान 300 पर सीमित कर दिए जाते हैं। यह सख़्त अधिकतम सीमा नहीं है: response में `limit` से ज़्यादा ads हो सकते हैं, ख़ासकर `accountId` के साथ, जो account के हर campaign को अलग से पढ़ता है।

```bash cURL theme={"system"}
curl \
  -H "Authorization: Bearer API_KEY" \
  -X GET "https://api.ayrshare.com/api/ads/reddit/ads?adId=2707300000000000001"
```

```json 200: Success theme={"system"}
{
  "status": "success",
  "ads": [
    {
      "postId": "DE6gpw8kxlonHy6eb721",
      "ad": {
        "adId": "2707300000000000001",
        "campaignId": "2707100000000000001",
        "adGroupId": "2707200000000000001",
        "accountId": "a2_abc123",
        "platform": "reddit",
        "adStatus": "ACTIVE",
        "summaryStatus": "PENDING_APPROVAL",
        "socialPostId": "1abc27",
        "created": "2026-11-20T14:03:11Z",
        "review": { "status": "PENDING_APPROVAL", "reasons": [] },
        "redditPostId": "1abc27"
      }
    }
  ],
  "count": 1,
  "lastUpdated": "2026-12-02T10:15:00.000Z",
  "nextUpdate": "2026-12-02T10:26:00.000Z"
}
```

```json 400: No lookup key 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 redditPostId is required."
}
```

```json 400: Ad not found 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.