Carbon Intelligence · Connect Your Data

Our platform is designed to integrate seamlessly with every major DSP and ad platform in the global adtech ecosystem. This guide walks you through connecting your advertising platforms to Carbon Intelligence™ — in just a few minutes.

1 Export Pull data from your DSP
2 Upload Send to Carbon Intelligence
3 Analyse See emissions per impression

Display & Video 360

Google's programmatic DSP — the richest data source for carbon analysis with exclusive access to connection type, exchange, and environment dimensions.

DV360 API v4 Exclusive Dimensions GMSF v1.2

Available Dimensions

Campaign
IO, Line Item, Creative
Device
Desktop, Mobile, Tablet, CTV
Geography
Country, Region, City
Placements
Sites, Apps, URLs
Creative Size
Width × Height, Rich Media
Ad Format
Display, Video, Native, Audio
★ Exchange
SSP / inventory source
★ Connection Type
WiFi, 4G, 5G, Carrier
★ Environment
Web, In-App, CTV
1
Create a report

In DV360, go to Reporting → Create Report.

2
Add dimensions

Select the dimensions listed above — include Exchange, Connection Type, and Environment for maximum granularity.

3
Add metrics

Add Impressions, Clicks, Total Media Cost, and any other KPIs you track.

4
Run & Export CSV

Run the report and download it as a CSV file.

5
Upload to Carbon Intelligence

Drag and drop the CSV into the Carbon Intelligence platform — your emissions data will be ready in seconds.

💡 Pro tip: Including Environment + Connection Type dimensions gives you the most accurate carbon footprint — these are exclusive to DV360 and directly impact energy-per-impression calculations.
1
Install Python & dependencies

Ensure Python 3.8+ is installed. Run pip install google-api-python-client google-auth.

2
Create a Service Account

In Google Cloud Console, create a Service Account with DV360 API access and the Display & Video 360 scope.

3
Download the JSON key

Download the Service Account key file and save it securely. You'll reference this path in the script.

4
Configure the script

Open the script and set your ADVERTISER_ID, KEY_FILE path, and desired date range.

5
Run the script

Execute python carbon-intelligence-dv360-export.py. The script will pull data via the DV360 API and generate a CSV ready for upload.

6
Schedule weekly runs

Use cron (Linux/Mac) or Task Scheduler (Windows) to automate weekly data pulls.

1
Enable BigQuery Data Transfer

In Google Cloud Console, enable the BigQuery Data Transfer Service for your project.

2
Create a DV360 transfer configuration

Set up a scheduled transfer from DV360 to BigQuery, selecting the advertiser IDs and dimensions you need.

3
Configure the destination dataset

Create or select a BigQuery dataset to receive the DV360 data. Set the appropriate region and expiration policies.

4
Connect BigQuery to Carbon Intelligence

In Carbon Intelligence, add a BigQuery data source and authenticate with your Google Cloud credentials.

5
Map tables and schedule syncs

Select the tables to sync and set the refresh frequency. Data will flow automatically into your carbon dashboard.

🏢 Maximum granularity: BigQuery Data Transfer preserves all DV360 dimensions including the exclusive Exchange, Connection Type, and Environment fields — giving you the most precise emissions calculations possible.

Google Ads

Search, Display, Video, Performance Max — the most widely-used advertising platform. Native Google Ads Scripts make automation seamless.

Google Ads Scripts BigQuery Transfer GMSF v1.2

Available Dimensions

Campaign
Name, ID, type, bidding
Device
Mobile, Desktop, Tablet
Geography
Country, Region
Placements
Sites, Apps, URLs
Creative Size
Ad type, image dimensions
Ad Format
Search, Display, Video, Discovery
Video
Duration, quartiles, view rate
Not available
Connection type, Exchange, Buy type
1
Open Google Ads Reports

Navigate to Reports → Predefined reports in your Google Ads account.

2
Select dimensions

Add Campaign, Device, Geography, Placements, Creative Size, and Ad Format dimensions.

3
Add metrics

Include Impressions, Clicks, Cost, and any other metrics you track.

4
Download CSV

Run the report and download it as a CSV file.

5
Upload to Carbon Intelligence

Drag and drop the CSV into the Carbon Intelligence platform.

Google Ads Scripts run natively inside Google Ads — no local setup required. The script exports data to a Google Sheet, which you can then download or connect directly.

1
Open Google Ads Scripts

In Google Ads, navigate to Tools & Settings → Scripts.

2
Create a new script

Click the + button to create a new script and paste in the Carbon Intelligence Google Ads export script.

3
Set your Google Sheet URL

Create a new Google Sheet and paste its URL into the SPREADSHEET_URL variable in the script.

4
Authorize & run

Click Authorize, then Run. The script will populate 9 tabs in your Google Sheet.

5
Schedule weekly runs

Set the script to run weekly under Scripts → Frequency.

Google Sheet tabs created by the script

Tab NameContents
CI_CampaignsCampaign-level data with IDs, types, and bidding strategies
CI_DevicePerformance breakdown by device type
CI_GeoGeographic performance by country and region
CI_PlacementsSite and app placement details
CI_CreativeSizeCreative dimensions and ad types
CI_AdFormatSearch, Display, Video, Discovery breakdown
CI_VideoVideo quartiles, duration, and view rates
CI_MetadataAccount info, date ranges, and export metadata
CI_Export_CSVCombined flat export ready for CSV download
1
Enable BigQuery Data Transfer

In Google Cloud Console, enable the BigQuery Data Transfer Service.

2
Link your Google Ads account

Create a Google Ads transfer configuration, linking your Ads account (MCC or individual) to BigQuery.

3
Configure tables & schedule

Select which Google Ads tables to transfer and set the refresh schedule (daily recommended).

4
Connect BigQuery to Carbon Intelligence

In Carbon Intelligence, add BigQuery as a data source and authenticate.

5
Map & sync

Map the BigQuery tables to Carbon Intelligence dimensions and enable automatic syncing.

Meta Ads

Facebook, Instagram, Audience Network, Messenger — the largest social advertising ecosystem. Unique granularity on placements (Feed, Stories, Reels) and actual impression devices.

Marketing API v19.0 Feed · Stories · Reels GMSF v1.2

Available Dimensions

Campaign
Campaign, Ad Set, Ad
Device Platform
Mobile, Desktop, Tablet
Geography
Country, Region
★ Placements
Feed, Stories, Reels, Right Column
Publisher Platform
Facebook, Instagram, AN, Messenger
Video
Quartiles p25–p100, avg watch time
★ Impression Device
iPhone, iPad, Android, Desktop
Creative
Ad name, format, dimensions
1
Open Ads Manager

Go to Meta Ads Manager and select the campaigns you want to analyse.

2
Customize columns

Click Columns → Customize Columns and add the dimensions listed above.

3
Add breakdowns

Use Breakdown → By Delivery to add Device, Platform, Placement, and Impression Device breakdowns.

4
Export CSV

Click Export → Export Table Data and choose CSV format.

5
Upload to Carbon Intelligence

Upload the CSV to Carbon Intelligence for instant emissions analysis.

💡 Impression Device: Meta is one of the few platforms that reports the actual device used to view your ad (e.g., iPhone 14, Galaxy S23) — this allows Carbon Intelligence to calculate device-specific energy consumption.

Use Meta's Marketing API v19.0 to programmatically pull campaign data with all available breakdowns.

1
Create a Meta App

Go to developers.facebook.com and create a new app with Marketing API access.

2
Generate a long-lived token

Generate a System User Access Token with ads_read permission on the ad accounts you need.

3
Configure the script

Set your ACCESS_TOKEN, AD_ACCOUNT_ID, and desired date range in the script.

4
Run the script

Execute python carbon-intelligence-meta-ads-export.py. The script handles pagination and rate limits automatically.

5
Schedule & upload

Schedule the script to run weekly and upload the output CSV to Carbon Intelligence.

Connect Meta Ads to your data warehouse via an ETL connector for automated, real-time data flow.

1
Choose an ETL connector

Select a connector that supports Meta Ads: Fivetran, Supermetrics, Funnel.io, or Adverity.

2
Authenticate Meta Ads

Connect your Meta Ads account to the ETL tool using OAuth. Select the ad accounts to sync.

3
Configure destination warehouse

Set up your destination warehouse (BigQuery, Snowflake, Redshift, or Databricks).

4
Select tables & schedule

Choose the Meta Ads tables to sync (campaign insights, breakdowns, creative reports) and set the sync frequency.

5
Connect warehouse to Carbon Intelligence

Link your data warehouse to Carbon Intelligence and map the Meta Ads tables to carbon dimensions.

The Trade Desk

The leading independent DSP — full programmatic transparency with buy type, supply vendor, and environment dimensions for granular carbon analysis.

REDS API v3 Open · PMP · PG GMSF v1.2

Available Dimensions

Campaign
Campaign, Ad Group, Creative
Device
Desktop, Mobile, Tablet, CTV
Geography
Country, Region, Metro
Domain / App
Sites, App bundles
Creative Size
Width × Height, format
Ad Format
Display, Video, Native, Audio, CTV
★ Supply Vendor
SSP / exchange source
★ Buy Type
Open Auction, PMP, PG
★ Environment
Web, App, CTV, DOOH
1
Open My Reports

In The Trade Desk, navigate to Analytics → My Reports.

2
Create a new report

Click New Report and select the advertiser and date range.

3
Add dimensions & metrics

Add the dimensions listed above including Supply Vendor, Buy Type, and Environment. Add Impressions and Cost metrics.

4
Export CSV

Run the report and download as CSV.

5
Upload to Carbon Intelligence

Upload the CSV to Carbon Intelligence.

Use The Trade Desk's REDS API v3 to programmatically export report data with full dimension granularity.

1
Get API credentials

Obtain your API token from The Trade Desk platform under Settings → API Tokens.

2
Configure the script

Set your API_TOKEN, PARTNER_ID, and ADVERTISER_ID in the script.

3
Run the script

Execute python carbon-intelligence-thetradedesk-export.py. The script queries the REDS API and outputs a CSV.

4
Schedule & upload

Automate with a scheduler and upload the output to Carbon Intelligence.

Connect The Trade Desk's log-level data or use an ETL connector for warehouse-based integration.

1
Enable log-level data

Contact your TTD account manager to enable log-level data (LLD) delivery to your cloud storage (S3, GCS, or Azure Blob).

2
Configure storage & ingestion

Set up your cloud bucket and configure your data warehouse to ingest the LLD files on a schedule.

3
Transform & aggregate

Build SQL views or dbt models to aggregate log-level data into the dimensions needed by Carbon Intelligence.

4
Connect to Carbon Intelligence

Link your warehouse to Carbon Intelligence and map the aggregated tables to carbon dimensions.

Amazon DSP

Access to Amazon's exclusive inventory — IMDb TV, Twitch, Fire TV, Prime Video Ads. Unique supply source dimension separating Amazon-owned vs. third-party inventory.

Unified Reporting API OLV · STV · Audio GMSF v1.2

Available Dimensions

Campaign
Order, Line Item, Creative
Device
Desktop, Mobile, Tablet, CTV, Fire TV
Geography
Country, State, DMA
Creative Size
Dimensions, format type
★ Supply Source
Amazon-owned vs 3rd party
★ Ad Format
Display, OLV, STV, Audio
Environment
Web, App, Streaming
Video
Completions, quartiles, VAST errors
1
Open Amazon DSP Reports

In Amazon DSP, navigate to Measurement & Reporting → Reports.

2
Create a new report

Click Create Report and select your advertiser, date range, and report type.

3
Add dimensions & metrics

Select all available dimensions including Supply Source and Ad Format. Add Impressions and Total Cost metrics.

4
Download CSV

Run the report and download as CSV.

5
Upload to Carbon Intelligence

Upload the CSV to Carbon Intelligence.

💡 Supply Source: Amazon DSP uniquely separates Amazon-owned inventory (IMDb TV, Twitch, Fire TV) from third-party inventory — this distinction is critical for accurate carbon modelling as Amazon-owned properties have significantly different infrastructure profiles.

Use Amazon Ads API to programmatically pull reporting data from Amazon DSP.

1
Register for Amazon Ads API

Go to the Amazon Ads developer portal and register your application. Request access to the DSP reporting scope.

2
Set up authentication

Configure OAuth 2.0 credentials — you'll need a CLIENT_ID, CLIENT_SECRET, and REFRESH_TOKEN.

3
Configure the script

Set your credentials, PROFILE_ID, and date range in the script.

4
Run the script

Execute python carbon-intelligence-amazon-dsp-export.py. The script requests, polls, and downloads the report automatically.

5
Schedule & upload

Automate weekly runs and upload the output CSV to Carbon Intelligence.

Use Amazon Marketing Cloud (AMC) for the deepest level of Amazon DSP data integration.

1
Request AMC access

Contact your Amazon Ads account team to provision an Amazon Marketing Cloud instance for your advertiser.

2
Write SQL queries

In the AMC UI, write SQL queries to aggregate DSP impression-level data by the dimensions you need.

3
Export to S3

Configure AMC to output query results to an S3 bucket you control.

4
Ingest into your warehouse

Load the S3 data into your warehouse (Redshift, Snowflake, BigQuery, or Databricks).

5
Connect to Carbon Intelligence

Link your warehouse to Carbon Intelligence and map the AMC output tables.

🏢 AMC clean room: Amazon Marketing Cloud operates as a privacy-safe clean room — your queries run on impression-level data but results are aggregated, ensuring compliance while giving Carbon Intelligence the granularity needed for precise emissions calculations.
🌐

Other Platforms

Xandr, Yahoo DSP, TikTok Ads, Spotify Ads, Pinterest Ads, Snapchat Ads, LinkedIn Ads, and any other advertising platform — Carbon Intelligence™ analyzes any campaign data via CSV import.

Export your campaign data from any DSP or advertising platform as a CSV file. Carbon Intelligence correlates your carbon footprint with advertising performance (clicks, conversions, video views, revenue) to prove that carbon reduction drives better results. The more dimensions you include, the more precise your carbon and performance analysis will be.

📊 Impact on calculation precision

Dimension Impact Why it matters
🔴 Required
Impressions
100%
Foundation of every carbon calculation — one impression = one energy event
Country / Region
90%
Determines the energy mix (gCO₂/kWh) — a French impression emits ~10× less than a Polish one
Date
85%
Time-based analysis, seasonal energy mix variations
Campaign
80%
Segmentation & reporting — attribute emissions per campaign
Cost / Spend
75%
Budget allocation analysis, cost-per-gram optimization
Clicks
70%
Core performance metric — enables CTR calculation and carbon-per-click optimization
🟡 Recommended
Device Type
65%
Mobile vs Desktop vs CTV — energy consumption varies ×3 to ×8
Placement / Site
55%
Site weight directly impacts data transfer — a heavy site vs a light one = ×4 energy
Ad Format
45%
Video vs Display vs Native — a video ad consumes up to ×8 more energy than a banner
Conversions
60%
Proves carbon reduction drives better results — carbon-per-conversion is the ultimate efficiency metric
Video Views
50%
Video ads consume ×8 more energy than display — tracking views and completions enables format-specific carbon analysis
🟢 Optional (improves precision)
Connection Type
35%
WiFi vs 4G vs 5G — mobile networks consume ×3.5 more energy per byte than WiFi
Creative Size
25%
300×250 vs full-page interstitial — data weight and rendering energy
Environment
20%
Web vs In-App vs CTV — different rendering pipelines and infrastructure
Supply Source
15%
Direct vs Programmatic vs Publisher-owned — supply chain length affects emissions

📋 How to prepare your CSV

1
Export from your platform

Navigate to your platform's reporting section and create a custom report. Include as many dimensions from the table above as possible.

2
Check required columns

Your CSV must include at least: Date, Campaign, Impressions, Clicks, Cost, and Country. For full performance analysis, also add Conversions and Video Views. Without country, the energy mix defaults to a global average and loses precision.

3
Export as CSV

Download the report as a CSV file. Ensure the first row contains column headers.

4
Upload to Carbon Intelligence™

Drag and drop your CSV into the platform. The engine automatically detects columns, normalizes headers, and launches the carbon analysis.

💡 Pro tip: The more dimensions you include in your CSV, the more precise the carbon calculation. Country is critical — it determines the energy mix which can vary the result by a factor of 10. Always include it.

Choose your integration level

Three ways to connect

📄

CSV Upload

~2 min
  • No technical setup required
  • Manual export from DSP UI
  • Upload via drag & drop
  • Best for one-off analyses
  • Ideal for getting started quickly

API Script

~10 min
  • Automated data extraction
  • Pre-built scripts for each DSP
  • Schedule weekly or daily runs
  • Consistent formatting guaranteed
  • Best for ongoing monitoring
🏢

Data Warehouse

Real-time
  • Direct warehouse connection
  • Real-time or near-real-time sync
  • Maximum data granularity
  • Enterprise-grade reliability
  • Best for large-scale operations