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

# الاهتمامات

> ابحث في فئات اهتمامات Snapchat بكلمة مفتاحية للحصول على معرّفات الاهتمامات التي يمكنك استهدافها في تعزيز على Snapchat.

ابحث في فئات اهتمامات Snapchat بكلمة مفتاحية. أرسل `id` لكل اهتمام تريده في `targeting.interests` عندما [تعزّز Snap](https://www.ayrshare.com/docs/apis/ads/snapchat/boost-post.md).

<ul>
  <li>اهتمامات Snapchat هي فئات Snap Lifestyle Categories، مثل "Bargain Hunters" أو "Beauty Mavens".</li>
  <li>يطابق البحث أي اهتمام يحتوي اسمه على مصطلحك. لا يهم حالة الأحرف.</li>
  <li>تُعيد الاستجابة حتى 25 اهتمامًا مطابقًا، جميعها في صفحة واحدة. استخدم مصطلحًا أكثر تحديدًا لتضييق القائمة.</li>
  <li>تأتي النتائج من قائمة فئات Snapchat للولايات المتحدة.</li>
  <li>لكل نتيجة `id` و`name` و`path`. يوضح `path` موضع الاهتمام في شجرة فئات Snapchat.</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`

## معاملات الاستعلام

**search** `string` *required*

مصطلح البحث، من 1 إلى 100 حرف. رمّزه في عنوان URL، مثل `beauty%20mavens`.

```bash cURL theme={"system"}
curl \
-H "Authorization: Bearer API_KEY" \
-X GET "https://api.ayrshare.com/api/ads/snapchat/interests?search=beauty"
```

```json 200: Success theme={"system"}
{
  "status": "success",
  "kind": "interests",
  "results": [
    {
      "id": "SLC_2",
      "name": "Beauty Mavens",
      "path": "/Beauty/Beauty Mavens",
      "kind": "interests"
    }
  ],
  "meta": { "pagination": { "hasMore": false } }
}
```

```json 400: Missing search 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": "Targeting search needs a query of 1 to 100 characters."
}
```


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