> ## 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 Reddit ads का live दैनिक खर्च, impressions और clicks पाएँ।

[Boost Post](https://www.ayrshare.com/docs/apis/ads/reddit/boost-post.md) से बनाए गए Reddit ads के प्रदर्शन के आँकड़े पाएँ, हर ad के लिए प्रति दिन एक row, सीधे Reddit से live पढ़े गए।

<ul>
  <li>Reddit insights सिर्फ़ ad के स्तर पर report करती हैं: `level=ad` भेजें। कोई भी अन्य level `code: 101` लौटाता है।</li>
  <li>`ids` में अधिकतम 50 ads बताएँ, या उस account के अपने boosted ads की report के लिए सिर्फ़ `accountId` भेजें। जिस account में आपके 50 से ज़्यादा ads हों, उस पर `code: 101` लौटाया जाता है: उसकी जगह ads को अलग-अलग बताएँ।</li>
  <li>अवधि अधिकतम 90 दिन की होती है, दोनों सिरों को गिनते हुए और आपके भेजे गए `endDate` से मापी गई। तारीखों के बिना यह पिछले 30 दिन और आज होती है। `startDate` अधिकतम 37 महीने पहले तक का हो सकता है और भविष्य में नहीं हो सकता। इसके बाद आज के बाद का `endDate` आज तक काट दिया जाता है।</li>
  <li>Reddit पर `reach`, `actions` और `conversionValue` report नहीं किए जाते। इन्हें `metrics` में माँगने पर `code: 101` लौटाया जाता है। Reddit कोई `breakdowns` नहीं लेता।</li>
  <li>`spend` ad account की currency में होता है, जो `currency` में दिखती है। `spendUsd` केवल तभी सेट होता है जब वह currency USD हो, अन्यथा यह `null` होता है।</li>
  <li>किसी दूसरी profile द्वारा, या किसी दूसरे network पर boost किए गए ad पर `code: 400` लौटाया जाता है।</li>
  <li>एक request के सभी ads एक ही ad account में होने चाहिए। कई accounts के ads पर `code: 101` लौटाया जाता है।</li>
  <li>पूरा response एक ही पेज में आता है। `meta.pagination.hasMore` हमेशा `false` होता है।</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`

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

**level** `string` *required*

`ad` होना चाहिए।

**ids** `string`

Reddit ad IDs, comma से अलग किए हुए (`ids=2707300000000000001,2707300000000000002`) या दोहराए हुए। अधिकतम 50। तब तक आवश्यक है जब तक आप `accountId` नहीं भेजते।

**accountId** `string`

आपके Reddit ad account की ID, उदाहरण के लिए `a2_abc123`। जब आप कोई `ids` नहीं भेजते, तब आवश्यक है। `ids` के साथ, यह वही account होना चाहिए जिसमें वे ads हैं, अन्यथा `code: 400` लौटाया जाता है।

**metrics** `string`

लौटाए जाने वाले metrics, comma से अलग किए हुए या दोहराए हुए: `spend`, `impressions`, `clicks`, `cpm`, `cpc`, `ctr`। डिफ़ॉल्ट रूप से ये सभी।

**startDate** `string` (default: 30 days ago)

पहला दिन, `YYYY-MM-DD` (UTC) के रूप में।

**endDate** `string` (default: today)

आख़िरी दिन, `YYYY-MM-DD` (UTC) के रूप में। यह `startDate` से पहले नहीं होना चाहिए।

```bash cURL theme={"system"}
curl \
  -H "Authorization: Bearer API_KEY" \
  -X GET "https://api.ayrshare.com/api/ads/reddit/insights?level=ad&ids=2707300000000000001&startDate=2026-11-20&endDate=2026-11-21"
```

```json 200: Success theme={"system"}
{
  "status": "success",
  "platform": "reddit",
  "level": "ad",
  "startDate": "2026-11-20",
  "endDate": "2026-11-21",
  "insights": [
    {
      "date": "2026-11-20",
      "level": "ad",
      "id": "2707300000000000001",
      "currency": "USD",
      "spend": 6.1,
      "impressions": 1800,
      "clicks": 27,
      "cpm": 3.39,
      "cpc": 0.23,
      "ctr": 1.5,
      "spendUsd": 6.1
    },
    {
      "date": "2026-11-21",
      "level": "ad",
      "id": "2707300000000000001",
      "currency": "USD",
      "spend": 8.4,
      "impressions": 2400,
      "clicks": 42,
      "cpm": 3.5,
      "cpc": 0.2,
      "ctr": 1.75,
      "spendUsd": 8.4
    }
  ],
  "count": 2,
  "meta": {
    "pagination": { "hasMore": false }
  }
}
```

```json 400: Unsupported level 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": "Insights on reddit report by ad: use level \"ad\" with the ad ids."
}
```

```json 400: Window too long 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": "Insights on reddit cover at most 90 days per request."
}
```


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