A very specific and practical question!
When syncing Meta (Facebook) Ads data to a data warehouse daily, you're right to consider the timing of Meta's data refreshes to ensure you're fetching the most accurate and complete data. Here's what I've gathered from Meta's documentation, developer forums, and general best practices:
Meta's Data Refresh Schedule:
Meta updates ad performance data at different intervals, depending on the type of metric:
- Real-time metrics (e.g., impressions, clicks, conversions): These are updated every 15-30 minutes. You'll see new data points within this timeframe as they happen.
- Hourly aggregated metrics (e.g., hourly spend, hourly conversions): Updated every 1-2 hours. These metrics are aggregated over the hour and refreshed a bit later.
- Daily aggregated metrics (e.g., daily spend, daily conversions): Updated between 8-12 hours after midnight (00:00) UTC. This is crucial for your daily sync timing.
According to Meta's Insights API documentation:
"Daily stats will be available by 8 AM Pacific Time (PT), which is 15:00 UTC (on the same day)."
In other words, if you're syncing daily data, wait until 15:00 UTC (Coordinated Universal Time) or later to ensure you've got the complete daily aggregates. Converted to other time zones:
- 8 AM PT (Pacific Time)
- 11 AM ET (Eastern Time)
- 16:00 CET (Central European Time)
- 23:00 AEST (Australian Eastern Standard Time)
Additional Considerations:
- Data latency: Even after the daily aggregates are updated, there's a small latency (about 30 minutes to 1 hour) before the data is fully processed and available via the API.
- Attribution window: Some metrics (e.g., conversions) have attribution windows (1-day, 7-day, 28-day views/clicks). Meta needs time to account for these windows, so data might still trickle in after the initial daily update.
- API Rate Limits: Be mindful of Meta's API rate limits ( documented here). If you're syncing large volumes of data or have many ad accounts, avoid peak hours (12:00-18:00 UTC) to minimize the risk of hitting rate limits.
Recommended Daily Sync Timing:
To balance data freshness and completeness, schedule your daily sync:
Between 16:00 - 18:00 UTC (4-6 PM UTC)
This allows:
- Daily aggregates to be fully updated (available by 15:00 UTC)
- Additional time for data latency and processing (30 minutes to 1 hour)
- Avoids peak API usage hours
In your local time zone, this translates to:
- 9 AM - 11 AM PT
- 12 PM - 2 PM ET
- 17:00 - 19:00 CET
- 01:00 - 03:00 AEST (next day)
If you can't sync within this window, 20:00 UTC (8 PM UTC) is a safe fallback, ensuring you've captured all daily data, including any late-arriving conversions.
Best Practice:
- Initial Sync: Run your first daily sync at 16:00 UTC to establish a baseline.
- Incremental Syncs: If needed, run additional syncs every 2-4 hours thereafter to capture real-time and hourly updates (e.g., 18:00 UTC, 20:00 UTC).
- Verify data completeness: Spot-check your synced data to ensure it matches Meta's Ads Manager UI. If discrepancies arise, adjust your sync timing accordingly.
By syncing your Meta Ads data between 16:00 - 18:00 UTC, you'll strike a balance between getting relatively fresh data and minimizing the risk of incomplete or inaccurate daily aggregates.
Happy syncing!