curl \
-H "Authorization: Bearer API_KEY" \
-X GET "https://api.ayrshare.com/api/ads/snapchat/interests?search=beauty"
{
"status": "success",
"kind": "interests",
"results": [
{
"id": "SLC_2",
"name": "Beauty Mavens",
"path": "/Beauty/Beauty Mavens",
"kind": "interests"
}
],
"meta": { "pagination": { "hasMore": false } }
}
{
"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."
}
Snapchat Ads
الاهتمامات
ابحث في فئات اهتمامات Snapchat بكلمة مفتاحية للحصول على معرّفات الاهتمامات التي يمكنك استهدافها في تعزيز على Snapchat.
GET
/
ads
/
snapchat
/
interests
curl \
-H "Authorization: Bearer API_KEY" \
-X GET "https://api.ayrshare.com/api/ads/snapchat/interests?search=beauty"
{
"status": "success",
"kind": "interests",
"results": [
{
"id": "SLC_2",
"name": "Beauty Mavens",
"path": "/Beauty/Beauty Mavens",
"kind": "interests"
}
],
"meta": { "pagination": { "hasMore": false } }
}
{
"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."
}
ابحث في فئات اهتمامات Snapchat بكلمة مفتاحية. أرسل
id لكل اهتمام تريده في targeting.interests عندما تعزّز Snap.
- اهتمامات Snapchat هي فئات Snap Lifestyle Categories، مثل “Bargain Hunters” أو “Beauty Mavens”.
- يطابق البحث أي اهتمام يحتوي اسمه على مصطلحك. لا يهم حالة الأحرف.
- تُعيد الاستجابة حتى 25 اهتمامًا مطابقًا، جميعها في صفحة واحدة. استخدم مصطلحًا أكثر تحديدًا لتضييق القائمة.
- تأتي النتائج من قائمة فئات Snapchat للولايات المتحدة.
- لكل نتيجة
idوnameوpath. يوضحpathموضع الاهتمام في شجرة فئات Snapchat.
معاملات الترويسة
معاملات الاستعلام
curl \
-H "Authorization: Bearer API_KEY" \
-X GET "https://api.ayrshare.com/api/ads/snapchat/interests?search=beauty"
{
"status": "success",
"kind": "interests",
"results": [
{
"id": "SLC_2",
"name": "Beauty Mavens",
"path": "/Beauty/Beauty Mavens",
"kind": "interests"
}
],
"meta": { "pagination": { "hasMore": false } }
}
{
"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."
}