Key | Description | Sample Value | Required |
---|---|---|---|
account_id | The Facebook Ad account ID used when extracting data. | "abc123..." (double quotes required) | ✅ |
access_token | OAuth token to access API endpoints. | abc123... | ✅ |
start_date | Fetch data newer than the specified start_date . Format: ISO8601. | 2022-01-01T00:00:00Z | ✅ |
account_id
13261011608127020
.
Note
Your account ID is not the same as your App ID.
access_token
https://developers.facebook.com/apps/[app_id]/marketing-api/tools
[app_id]
with the ID of the app you created.ads_management
ads_read
read_insights
access_token
.