← Back to Developers

Campaign Cost Imports

Open the Campaigns page in the app and click Import Costs, then upload or paste a CSV file. Each row needs a date, a campaign name and the spend. Use the same campaign name as your utm_campaign tag so spend lines up with that campaign. Importing the same campaign and date again replaces the earlier row. Cost import is not available on the Free plan.

Full reference with parameters and examples: app.sourcetrack.ai/developers/campaign-costs

date,platform,campaign_name,campaign_id,spend,currency,clicks,impressions
2026-06-08,facebook,Summer Sale Campaign,fb_cmp_1202,45.50,USD,40,1200
2026-06-08,google,Brand Search,,12.30,USD,12,180
  • Google Ads
  • Meta
  • LinkedIn
  • Microsoft Ads
  • TikTok
  • Stripe
  • Shopify
  • HubSpot
  • GA4
  • Search Console
  • WooCommerce
  • Webflow
  • WordPress
  • Typeform
  • Calendly
  • Intercom
  • Zapier
Works with