Sync Facebook campaigns and insights on a schedule
Recipe ToolsMarketingSocial
What it does
When a scheduled time arrives, this automation retrieves all campaigns from a Facebook ad account. For each campaign, it pulls ad set insights so someone can use that data in downstream systems without manually checking Facebook.
Who it's for
Marketing operations teams who need Facebook campaign performance data refreshed on a regular cadence.
How teams use this
Refresh campaign data daily
Pull all campaigns and ad set insights every morning so the team starts each day with current Facebook performance data. No manual exports or logins are needed.
Send insights to a data warehouse
Route the collected insights to a database or analytics platform after each run so historical performance trends are tracked over time. Only the destination system changes.
Filter insights by campaign status
Add a condition to only retrieve insights from active campaigns so archived or paused campaigns do not clutter the dataset. Include a filter step after the campaigns are retrieved.
How it works
- Run on a specified interval. This automation starts at the scheduled time you set, such as daily or weekly, and begins retrieving Facebook data.
- Retrieve campaigns from the ad account. Retrieve Campaigns from an Account in Facebook pulls all active campaigns so the next step can loop through each one.
- Get ad sets for each campaign. For each campaign, Retrieve Adsets in Facebook collects all ad sets within that campaign to prepare for insights collection.
- Collect insights for each ad set. For each ad set, Retrieve Adset Insights in Facebook gathers performance metrics so the data is ready for analysis or export.