Has anyone been able to pull historic data by day from the Meta connector?

We have a new data client that needs historic data pulled in and the connector doesn't have the data at an individual date granularity only by ad type.
Best Answer
-
Sounds like you might try creating a Magic ETL with beast mode formulas to distribute the data across the desired time period. To join your aggregated data by ad type with a calendar table based on the date range that matches your aggregated period. If the ad type data is aggregated for a month, distribute the value across the 30 or 31 days in that month.
Daily Ad Spend = Total Ad Spend / Number of Days in Period
If you need to give more weight to some days versus others, you could create a formula. For something like more weight on weekends:
CASE
WHEN DAYOFWEEK(`Date`) IN (7, 1) THEN `AdSpend` * 1.5
ELSE `AdSpend`
END** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0
Answers
-
Sounds like you might try creating a Magic ETL with beast mode formulas to distribute the data across the desired time period. To join your aggregated data by ad type with a calendar table based on the date range that matches your aggregated period. If the ad type data is aggregated for a month, distribute the value across the 30 or 31 days in that month.
Daily Ad Spend = Total Ad Spend / Number of Days in Period
If you need to give more weight to some days versus others, you could create a formula. For something like more weight on weekends:
CASE
WHEN DAYOFWEEK(`Date`) IN (7, 1) THEN `AdSpend` * 1.5
ELSE `AdSpend`
END** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0
Categories
- All Categories
- Product Ideas
- 2.1K Ideas Exchange
- Connect
- 1.3K Connectors
- 309 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 663 Datasets
- 119 SQL DataFlows
- 2.3K Magic ETL
- 823 Beast Mode
- Visualize
- 2.6K Charting
- 86 App Studio
- 46 Variables
- Automate
- 194 Apps
- 483 APIs & Domo Developer
- 87 Workflows
- 23 Code Engine
- AI and Machine Learning
- 23 AI Chat
- 4 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 117 Domo Everywhere
- 283 Scheduled Reports
- 11 Software Integrations
- Manage
- 143 Governance & Security
- 11 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 116 Community Announcements
- 5K Archive