Dema.ai documentation home page
Search...
⌘K
Ask AI
Support
Login
Login
Search...
Navigation
Setup
6. Integrate marketing spend
Welcome
Documentation
Integrations
Blog
Changelog
Roadmap
Fundamentals
Our core data model
Metrics
Dimensions
Attribution
Tracking
Setup
1. Invite your team
2. Add pixel (Tracking script)
3. Setup UTM parameters
4. Create UTM mapping
5. Integrate orders and inventory
6. Integrate marketing spend
7. Set up hierarchical costs and returns
Reports
How filters work in reports
Setting your attribution model
Organization
Manage users
Creating and managing teams
Using labels to organize reports
Reset password
Single Sign-On (SSO) with Google
MMM
How MMM works in Dema
Overview view
Weekly analysis view
Yearly overview view
Creating a future scenario
Segmentation
Create product sets
Override product sets from reports
Incrementality testing
How incrementality testing works in Dema
What is incrementality
Structuring tests
Analyze a suggested experiment
Understand test results
Concurrent tests
Post-treatment window
Seasonality effects
Platform lift studies vs Dema
Terminology
Dashboards
Create dashboards
How filters work in dashboards
Forecasts
Inventory forecasting
Order forecasting
LTV forecasting
FAQ
Set up tracking with single page applications
Custom metrics/dimensions
Upload old orders from CSV
On this page
Marketing integrations overview
One-click integrations
Supported platforms
How to connect
Manual uploads via sFTP or Google Sheets
Using sFTP
Using Google Sheets
What data is synced?
Verifying your integration
Setup
6. Integrate marketing spend
Connect Meta, Google Ads, TikTok, and more to track your marketing spend seamlessly in Dema.
Marketing integrations overview
Dema simplifies marketing cost tracking with
one-click integrations
for popular platforms like Meta, Google Ads, and TikTok. For other data sources, you can upload spend manually via
sFTP
or
Google Sheets
.
One-click integrations
Supported platforms
Meta (Facebook & Instagram)
Google Ads
TikTok Ads
How to connect
Navigate to
Settings → Integrations
in the Dema app.
Select the platform you want to connect.
Authenticate by logging into your account (Meta, Google Ads, or TikTok).
Confirm the connection and allow Dema to fetch spend data automatically.
Once connected, Dema syncs marketing costs daily and links them to the corresponding campaigns and UTM parameters in your reports.
Manual uploads via sFTP or Google Sheets
For platforms or sources that don’t support direct integrations, you can upload marketing spend data using
sFTP
or
Google Sheets
.
Using sFTP
Export your marketing spend data as a CSV file.
Upload it to your sFTP server in the format Dema expects (e.g., campaign ID, spend, impressions, etc.).
Dema processes the data nightly to ensure it’s included in your profitability calculations.
For detailed instructions, refer to the
sFTP guide
.
Using Google Sheets
Prepare a Google Sheet with your spend data.
Use Dema’s pre-configured Google Sheets template to ensure compatibility.
Link your sheet to Dema by following the instructions in our
Google Sheets integration guide
.
Dema pulls the data automatically at regular intervals.
What data is synced?
Dema collects the following information for each campaign:
Spend
: Total spend per campaign or ad group.
Impressions
: Number of times your ad was shown.
Clicks
: Total clicks generated.
Conversions
: The number of sales, signups, or other goals achieved.
UTM parameters
: Campaign IDs, sources, mediums, etc., to map spend data accurately to channels.
Verifying your integration
Check the
Marketing Spend
tab in the Dema dashboard.
Ensure spend, clicks, and impressions match the data from your ad platforms or files.
Confirm campaigns are mapped to the correct UTM parameters and channels.
5. Integrate orders and inventory
7. Set up hierarchical costs and returns
Assistant
Responses are generated using AI and may contain mistakes.