Set up ad platforms
Roadway reads ad spend from your warehouse, so you need a way to copy it there from each ad platform.
Pick one connector per platform. If Roadway manages your warehouse, connect platforms in the app instead. See Connect ad platforms directly.
| Platform | Connectors Roadway models |
|---|---|
| Google Ads | Airbyte, Fivetran, Stitch, Google BigQuery Data Transfer Service |
| Meta Ads | Airbyte only |
| LinkedIn Ads | Airbyte (Fivetran lacks campaign groups) |
| TikTok Ads | Airbyte only |
| Bing Ads | Airbyte only |
| Snapchat Ads | Airbyte only |
| Reddit Ads | Polytomic only |
| X Ads | Polytomic only |
| ChatGPT Ads | Polytomic only |
Pinterest isn't supported. Custom ad spend is a custom project; confirm with Roadway.
Before you begin
- Page views that keep the full landing page URL. See Query parameters and single-page apps.
Steps
- Choose the connector for each platform.
- Authorize the platform in the connector. You'll sign in as someone with reporting access to the ad account.
- Select the tables in this table. Include campaign metadata and daily performance.
- Set the sync schedule to at least daily.
- Set the destination schema to one Roadway can read. Grant access as shown in Warehouse access.
- Run a first sync, then confirm rows exist.
- Tell Roadway which connector and schema you used.
Tables
| Connector | Platform | Tables |
|---|---|---|
| Airbyte | Google Ads | google_ads_campaign, google_ads_campaign_performance_report |
| Airbyte | Meta Ads | meta_ads_campaigns, meta_ads_ads_insights |
| Airbyte | LinkedIn Ads | linkedin_ads_campaign_groups (required), linkedin_ads_campaigns, linkedin_ads_ad_campaign_analytics |
| Fivetran | Google Ads | campaign_stats, campaign_history |
| Stitch | Google Ads | google_ads_campaigns |
| Polytomic | Reddit Ads | campaign, report_campaign_id |
Verify
- Run
SELECT COUNT(*) FROM <spend table>and confirm it grows after each sync. - Compare one day of spend in the warehouse to the ad platform's UI. Small differences from time zones or attribution windows are normal. Large ones aren't.
Google Ads
You need:
- A Google Ads account with admin or standard access
- A way to move Google Ads data into your warehouse: Airbyte, Fivetran, Stitch, or Google's BigQuery Data Transfer Service. Or the in-app connector, if Roadway manages your warehouse.
Step 1: add UTM parameters with a tracking template
-
In Google Ads, open Campaigns, then your account, campaign, or ad group settings, and find Tracking template.
-
Enter a template that appends UTM parameters:
{lpurl}?utm_source=google&utm_medium=cpc&utm_campaign={campaignid}&utm_content={creative}&utm_term={keyword} -
Save. Set it at account level so all campaigns inherit it, unless a campaign overrides it.
See Google's ValueTrack parameters and tracking templates.
Auto-tagging adds
gclidto ad clicks. Keep it on. Roadway can match visits ongclidas well as on UTM parameters. See How matching works.
Step 2: sync spend
| Connector | Tables | Guide |
|---|---|---|
| Airbyte | google_ads_campaign, google_ads_campaign_performance_report |
Airbyte Google Ads |
| Fivetran | campaign_stats, campaign_history |
Fivetran Google Ads |
| Stitch | google_ads_campaigns |
Stitch Google Ads |
| Google BigQuery Data Transfer Service | The Google Ads transfer tables. Tell Roadway the dataset. | Google Ads transfers |
Google Ads reports cost in micros. Divide metrics_cost_micros by 1,000,000 to get currency units.
Step 3: verify
- Click a live ad and confirm
utm_campaignshows the numeric campaign ID. - Check the spend table:
SELECT campaign_id, SUM(metrics_cost_micros)/1e6 FROM google_ads_campaign_performance_report WHERE segments_date >= CURRENT_DATE - 7 GROUP BY 1for Airbyte (usegoogle_ads_campaignsfor Stitch, and adjust date syntax for your warehouse). - Confirm the campaign IDs from step 2 appear as
utm_campaignvalues in page views.
Meta Ads
You need:
- A Meta ad account with permission to edit ads
- A way to sync Meta Ads data: Airbyte (the only supported ETL for Meta). If your workspace uses a Roadway-managed warehouse, you can connect Meta in the app instead (Admin › Integrations › Data sources), and Roadway syncs spend for you. See Connect ad platforms directly.
Step 1: add URL parameters to each ad
-
In Ads Manager, edit the ad. Under Destination, find URL parameters (under tracking).
-
Enter:
utm_source=facebook&utm_medium=paid_social&utm_campaign={{campaign.id}}&utm_content={{ad.id}}&utm_term={{adset.id}} -
Publish.
See Meta's URL parameters guide. To apply the same parameters to many ads, use bulk edit or Ads Manager's templates.
Step 2: sync spend
| Connector | Tables | Guide |
|---|---|---|
| Airbyte | meta_ads_campaigns, meta_ads_ads_insights |
Airbyte Facebook Marketing |
Step 3: verify
Click the ad preview link or a live ad, and confirm the address bar has numeric IDs and no braces. Then confirm the same IDs appear in your spend table.
Troubleshooting
Meta in-app browsers can drop or rewrite query parameters on redirect. If visits appear without UTM parameters, check Query parameters and SPAs.
LinkedIn Ads
You need:
- A LinkedIn Campaign Manager account
- A way to sync LinkedIn Ads data: Airbyte. Fivetran lacks campaign groups, so treat LinkedIn as Airbyte only. If your workspace uses a Roadway-managed warehouse, you can connect LinkedIn in the app instead (Admin › Integrations › Data sources), and Roadway syncs spend for you. See Connect ad platforms directly.
Step 1: add URL tracking parameters
-
In Campaign Manager, open your account settings or a campaign.
-
Add URL tracking parameters (a tracking template at account level, or per campaign):
utm_source=linkedin&utm_medium=paid_social&utm_campaign={{CAMPAIGN_ID}}&utm_content={{AD_ID}}
See LinkedIn's URL tracking parameters.
LinkedIn changed its campaign hierarchy in Campaign Manager. What was called a campaign is now an ad set, and the top-level campaign (the campaign group) has a new ID. Roadway's LinkedIn campaign_id is the campaign group ID. Set utm_campaign to the campaign group ID or the exact campaign group name. Check in LinkedIn's documentation that your macro returns the campaign group, not the ad set. See LinkedIn's hierarchy change notice.
Step 2: sync spend
| Connector | Tables | Guide |
|---|---|---|
| Airbyte | linkedin_ads_campaign_groups (required), linkedin_ads_campaigns, linkedin_ads_ad_campaign_analytics |
Airbyte LinkedIn Ads |
Step 3: verify
Click a live ad, confirm numeric IDs, and check that the same IDs appear in your spend table.
Reddit Ads
You need:
- A Reddit Ads account
- For warehouse-native workspaces, a Polytomic account to sync Reddit Ads data. If Roadway manages your warehouse, connect Reddit in the app instead (Admin › Integrations › Data sources). See Connect ad platforms directly.
Step 1: add UTM parameters
Reddit's Ads Manager destination URL accepts static values. Use the exact campaign name that appears in Reddit as utm_campaign:
https://example.com/landing?utm_source=reddit&utm_medium=paid_social&utm_campaign=spring-launch
To insert the campaign ID dynamically, set click_url_query_parameters on the ad using the Reddit Ads API, with a value such as {{CAMPAIGN_ID}}.
Dynamic macro support in Reddit is vendor-controlled and changes with Ads API versions. Check the Reddit Ads API documentation. If you use static names, don't rename the campaign afterward.
Step 2: sync spend
Sync Reddit Ads with Polytomic: tables campaign and report_campaign_id, fields id, name, campaign_id, spend, impressions, clicks, date. See Polytomic Reddit Ads.
Step 3: verify
Click a live ad and confirm the utm_campaign value matches a campaign name or ID in your spend table.
Other ad platforms
Add UTM parameters with the platform's campaign ID macro, and sync spend through a supported connector. Copy a template from Tracking templates by platform.
| Platform | Connector support | Campaign ID macro for utm_campaign |
Vendor documentation |
|---|---|---|---|
| TikTok Ads | In-app, or Airbyte | __CAMPAIGN_ID__ |
TikTok URL parameters |
| Microsoft Ads (shown as Bing Ads in Roadway) | In-app, or Airbyte | {CampaignId} |
Microsoft URL tracking |
| X (Twitter) Ads | In-app, or Polytomic | Platform-specific. Use static campaign names | X Ads help |
| Snapchat Ads | In-app, or Airbyte | Platform-specific | Snapchat Ads help |
| ChatGPT Ads | In-app (API key), or Polytomic | Platform-specific | Ask Roadway |
In-app means you connect the platform in Roadway (Admin › Integrations › Data sources), which needs a Roadway-managed warehouse. Pinterest isn't supported. Custom ad spend is a custom project; confirm with Roadway.
Macro names and help URLs are vendor-controlled. Check each against the platform's current documentation.