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 की interest categories को keyword से खोजें, ताकि Snapchat boost में target करने के लिए interest IDs मिल सकें।
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 की interest categories को keyword से खोजें। जब आप Snap boost करें, तो हर चाही गई interest का
id targeting.interests में भेजें।
- Snapchat की interests उसकी Snap Lifestyle Categories हैं, जैसे “Bargain Hunters” या “Beauty Mavens”।
- खोज हर उस interest से match करती है जिसके नाम में आपका term हो। Case से फ़र्क नहीं पड़ता।
- Response अधिकतम 25 matching interests लौटाता है, सभी एक ही page पर। सूची छोटी करने के लिए ज़्यादा specific term उपयोग करें।
- परिणाम Snapchat की US categories सूची से आते हैं।
- हर परिणाम में उसका
id,nameऔरpathहोता है।pathदिखाता है कि interest Snapchat के category tree में कहाँ है।
हैडर पैरामीटर
क्वेरी पैरामीटर
खोजने का term, 1 से 100 characters। इसे URL में escape करें, उदाहरण के लिए
beauty%20mavens।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."
}