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

# Konten

> Listet die Reddit-Werbekonten, die Ihr verknüpftes Reddit-Konto nutzen kann, mit Name und Währung jedes Kontos.

Listet die Reddit-Werbekonten, über die Sie Beiträge bewerben können. Senden Sie die `id` eines Kontos als `accountId`, wenn Sie [einen Beitrag bewerben](https://www.ayrshare.com/docs/apis/ads/reddit/boost-post.md).

<ul>
  <li>Jedes Werbekonto jedes Reddit-Unternehmens, das Ihre Verknüpfung sehen kann, wird auf einer Seite zurückgegeben. `meta.pagination.hasMore` ist immer `false`.</li>
  <li>`currency` ist die Währung des Kontos. Boost-Budgets und die Ausgaben in Insights verwenden sie.</li>
  <li>`name` und `currency` fehlen, wenn Reddit sie nicht liefert.</li>
  <li>Verknüpfen Sie Reddit und erteilen Sie die Werbeberechtigungen (`adsread`, `adsedit`, `adsconversions`). Ohne sie erhalten Sie `code: 420`.</li>
</ul>

## Header-Parameter

**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`

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

```json 200: Success theme={"system"}
{
  "status": "success",
  "adAccounts": [
    { "id": "a2_abc123", "name": "Acme Gardening", "currency": "USD" },
    { "id": "a2_def456", "name": "Acme Europe", "currency": "EUR" }
  ],
  "meta": {
    "pagination": { "hasMore": false }
  }
}
```

```json 401: Ads permissions missing theme={"system"}
{
  "action": "ads",
  "status": "error",
  "code": 420,
  "message": "Ads permissions missing for this social account. Please unlink the account and relink it in the social account linking page, granting all ads permissions.",
  "details": "Relink reddit and grant the ads permissions to use ads on reddit."
}
```


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