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
Insights
Lấy chi tiêu, lượt hiển thị và lượt nhấp hàng ngày theo thời gian thực cho các quảng cáo Reddit đã boost của bạn.
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."
}
Lấy số liệu hiệu suất cho các quảng cáo Reddit bạn đã tạo bằng Boost Bài đăng, mỗi quảng cáo mỗi ngày một hàng, đọc trực tiếp từ Reddit.
- Insights của Reddit chỉ báo cáo theo quảng cáo: hãy gửi
level=ad. Mọi cấp khác sẽ trả vềcode: 101. - Chỉ định tối đa 50 quảng cáo trong
ids, hoặc chỉ gửiaccountIdđể lấy báo cáo về các quảng cáo đã boost của bạn trong tài khoản đó. Tài khoản có hơn 50 quảng cáo của bạn sẽ trả vềcode: 101: hãy chỉ định các quảng cáo thay vào đó. - Khoảng thời gian tối đa là 90 ngày, tính cả hai đầu và đo theo
endDatebạn gửi. Nếu không có ngày, khoảng thời gian là 30 ngày gần nhất và hôm nay.startDatecó thể lùi tối đa 37 tháng và không được ở tương lai. Khi đó,endDatesau hôm nay sẽ được cắt về hôm nay. reach,actionsvàconversionValuekhông được báo cáo trên Reddit. Yêu cầu chúng trongmetricssẽ trả vềcode: 101. Reddit không nhậnbreakdowns.spendtính theo đơn vị tiền tệ của tài khoản quảng cáo, được ghi trongcurrency.spendUsdchỉ được thiết lập khi đơn vị tiền tệ đó là USD, và lànulltrong các trường hợp khác.- Một quảng cáo do hồ sơ khác boost, hoặc được boost trên mạng khác, sẽ trả về
code: 400. - Mọi quảng cáo trong một yêu cầu phải thuộc cùng một tài khoản quảng cáo. Quảng cáo từ nhiều tài khoản sẽ trả về
code: 101. - Toàn bộ phản hồi nằm trong một trang.
meta.pagination.hasMoreluôn làfalse.
Tham số Header
Tham số truy vấn
Các ID quảng cáo Reddit, phân tách bằng dấu phẩy (
ids=2707300000000000001,2707300000000000002) hoặc lặp lại. Tối đa 50. Bắt buộc trừ khi bạn gửi accountId.ID tài khoản quảng cáo Reddit của bạn, ví dụ
a2_abc123. Bắt buộc khi bạn không gửi ids. Khi có ids, đây phải là tài khoản chứa các quảng cáo đó, nếu không phản hồi là code: 400.Các chỉ số cần trả về, phân tách bằng dấu phẩy hoặc lặp lại:
spend, impressions, clicks, cpm, cpc, ctr. Mặc định là tất cả.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."
}