Skip to main content
GET
Retrieve detailed daily ad spend and performance metrics for your Facebook ads. This endpoint provides comprehensive analytics on your ads with daily breakdowns, goal-specific performance, and aggregated metrics.
The dailySpend array contains historical daily spend and performance metrics for each ad. The data is as of 8 AM EST. If real-time spend data is needed or spend has not yet occurred, please use the ads endpoint.The ad will NOT be returned if no spend data is available or spend has not yet occurred.
  • Metrics are calculated from Facebook’s reporting API and may have slight delays (up to 24 hours).
  • The byGoalType and byGoalTitle sections group performance metrics by goal objectives.
  • Use either adId or postId filters to narrow results to specific campaigns.
  • All monetary values are in the ad account’s currency (typically USD).
  • The goalPerformance section highlights your best-performing ad objectives.
This endpoint only returns Facebook ads created via the Boost Post endpoint. Ads created in Facebook Ads Manager or other third-party tools are not returned.

Header Parameters

Query Parameters

number
Filter results to a specific account ID.
string
Filter results to a specific ad ID.
string
Filter results to ads associated with a specific Ayrshare post ID.
string
Filter results to ads associated with a specific Facebook social post ID.
number
default:25
Retrieve a maximum of limit ads. Maximum is 500.
string
default:"30 days ago"
Start date for the reporting period in ISO 8601 format (default: 30 days ago)
string
default:"today"
End date for the reporting period in ISO 8601 format (default: today)