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"
{
"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 }
}
}
{
"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."
}
{
"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."
}
Reddit Ads
洞察報告
取得您推廣的 Reddit 廣告的即時每日花費、展示次數和點擊次數。
GET
/
ads
/
reddit
/
insights
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"
{
"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 }
}
}
{
"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."
}
{
"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."
}
取得您透過推廣貼文建立的 Reddit 廣告的成效數據,每則廣告每天一列,直接從 Reddit 即時讀取。
- Reddit 洞察只能依廣告報告:請傳送
level=ad。任何其他層級都會返回code: 101。 - 請在
ids中指定最多 50 則廣告,或只傳送accountId,以報告您在該帳戶中推廣的廣告。如果該帳戶中您的廣告超過 50 則,將返回code: 101:請改為指定廣告。 - 時間範圍最長 90 天,包含首尾兩天,並以您傳送的
endDate計算。若不指定日期,則為過去 30 天加上今天。startDate最早可為 37 個月前,且不能是未來日期。晚於今天的endDate會被截至今天。 - Reddit 不會回報
reach、actions和conversionValue。在metrics中請求這些指標會返回code: 101。Reddit 不接受breakdowns。 spend使用廣告帳戶的幣別,顯示在currency中。僅當該幣別為 USD 時才會設定spendUsd,否則為null。- 由其他個人檔案推廣,或在其他社群平台上推廣的廣告,會返回
code: 400。 - 同一請求中的所有廣告必須屬於同一個廣告帳戶。來自多個帳戶的廣告會返回
code: 101。 - 完整結果會在同一頁中返回。
meta.pagination.hasMore一律為false。
請求頭參數
查詢參數
Reddit 廣告 ID,以逗號分隔(
ids=2707300000000000001,2707300000000000002)或重複傳送。最多 50 個。除非您傳送 accountId,否則為必填。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"
{
"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 }
}
}
{
"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."
}
{
"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."
}