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:请改为指定广告 ID。 - 时间范围最多 90 天(含首尾两天),以您发送的
endDate为准计算。不指定日期时,范围为过去 30 天加上今天。startDate最早可为 37 个月前,且不能是未来的日期。晚于今天的endDate会被截至今天。 - Reddit 不报告
reach、actions和conversionValue。在metrics中请求这些指标会返回code: 101。Reddit 不支持breakdowns。 spend使用广告账户的币种,并在currency中显示。仅当该币种为 USD 时才会设置spendUsd,否则为null。- 由其他 Profile推广的广告,或在其他广告网络上推广的广告,会返回
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."
}