DV360 connector for Claude Code

Use Porter’s DV360 connector for Claude Code to pull line item pacing, cost and viewability into your terminal, then turn them into files, scripts and scheduled reports in your own project.

  • Save line item pacing as CSV in your repo
  • Find exchanges with low viewability
  • Run a weekly DV360 report from a script
  • Compare DV360 with your other ad platforms
G2★★★★★Rated 4.6/5 from 288 G2 reviews (October 2026) · Used by 1,600+ marketing teams and agencies

By · Last updated November 26, 2026

Claude Codeporter connected
Show this month’s Line Item Pacing Percentage by Line Item and save it to reports/dv360-pacing.csv
porter / DV360 / Trailgear Demo✓ 4 rows
Saved reports/dv360-pacing.csv. Video – Prospecting is behind pace; Display – Retargeting is ahead.
Line ItemBudgetPacing
Display – Retargeting$12,000112%
CTV – Awareness$25,00098%
Audio – Commuters$8,00094%
Video – Prospecting$18,00071%
Demo data, Trailgear Demo account
800+ DV360 fields
01Setup

How to connect DV360 to Claude Code

Connecting DV360 to Claude Code takes 3 steps and no API keys: connect your DV360 advertisers in Porter with Google, add Porter’s MCP server to Claude Code with one command, then sign in from /mcp and ask. The same server also works in Cursor, VS Code and Codex, as Porter’s DV360 MCP server page shows. Using the Claude app instead? See the DV360 connector for Claude.

Before you start

  • You need Claude Code installed (Anthropic’s Claude Code overview), a free Porter account and a Google account with a DV360 user role on the partner or advertiser.
  • Works with any Claude model in Claude Code, from Opus to Sonnet and Haiku.
  1. Step 1: Connect DV360 in Porter

    Sign up free at Porter, pick DV360 as the source and sign in with Google. Tick every advertiser you want Claude Code to read.

  2. Step 2: Add Porter to Claude Code

    In your terminal, run this command. It adds Porter for every project on your machine; drop --scope user to add it to the current project only.

    Terminal
    claude mcp add --transport http --scope user porter https://mcp.portermetrics.com/mcp

    Or, inside Claude Code, install Porter’s plugin, which adds the server and Porter’s skill together: /plugin marketplace add portermetrics/porter, then /plugin install porter-metrics@portermetrics.

  3. Step 3: Sign in and ask

    Start claude, type /mcp, pick porter and sign in with the Google account you use in Porter. When porter shows as connected, paste this prompt:

    Prompt
    Which DV360 advertisers can you see? For this month, by Line Item, show Line Item Budget, Line Item Pacing Percentage and Billable Cost (Advertiser Currency), and save it to reports/dv360-pacing.csv.

Guides and videos

app.portermetrics.com / create
Porter's Integrations page with DV360 found and the Connect button
First, in Porter, find DV360 and select Connect.
Google screen asking you to allow Porter Metrics for DV 360
Then, sign in with Google and allow Porter Metrics for DV 360.
$ claude mcp add --transport http --scope user porter https://mcp.portermetrics.com/mcp

$ claude mcp list
porter: https://mcp.portermetrics.com/mcp (HTTP)
Then, add Porter's MCP server from your terminal.
> /mcp
porter · needs authentication → Authenticate

> Which DV360 accounts can you see?
● porter - list_accounts (MCP)
Trailgear Demo
After you sign in from /mcp, Claude Code lists your DV360 accounts.
02Use cases and prompts

What you can do in Claude Code

Claude Code works inside your project, so DV360 answers can become files, scripts and dashboards instead of chat replies. Each use case has a prompt to copy and uses the DV360 fields Porter reads.

Can Claude Code export DV360 pacing?

The problemChecking pacing across line items means opening each one.

What Claude Code doesClaude Code pulls Line Item, Line Item Status, Line Item Budget, Line Item Pacing Percentage, Billable Cost (Advertiser Currency) and Impressions and writes them to a CSV.

What you getA pacing file for every line item, ready to share.

Prompt
For this month, by Line Item and Line Item Status, show Line Item Budget, Line Item Pacing Percentage, Billable Cost (Advertiser Currency) and Impressions, and save it as data/dv360-pacing.csv.

Which exchanges deliver the least viewable impressions?

The problemViewability hides in Active View fields split by exchange and source.

What Claude Code doesClaude Code pulls Impressions and Active View measurable and viewable impressions by Exchange and Inventory Source and calculates viewable share.

What you getA list of inventory to cut or bid down.

Prompt
For the last 30 days, by Exchange and Inventory Source, show Impressions, Active View: Measurable Impressions and Active View: Viewable Impressions, calculate viewable share and save the 10 lowest to reports/dv360-viewability.csv.

Can I schedule a DV360 report with Claude Code?

The problemDV360 pacing lives in line item views, so the weekly spend check means opening each one.

What Claude Code doesA scheduled claude -p run compares Billable Cost (Advertiser Currency), Impressions and Line Item Pacing Percentage by Line Item.

What you getreports/dv360-weekly.md flagging line items that ran ahead or behind.

Prompt
claude -p "Compare last week with the week before in DV360: Billable Cost (Advertiser Currency), Impressions and Line Item Pacing Percentage by Line Item. Write it to reports/dv360-weekly.md" --allowedTools "mcp__porter" "Write"
03Why Porter

Why Porter for DV360 in Claude Code

Porter reads DV360 with the Google user you already use, with no Bid Manager API project to set up, and puts programmatic next to Google Ads, Meta Ads and 30+ other sources behind the same server.

✓

One server for all your sources

The same porter server answers about DV360, Meta Ads, Google Ads, GA4 and Shopify, so one script can pull every channel.

⊞

Changes only after you approve

Claude Code can make changes through Porter where the platform allows them, and each change waits for your yes.

⚙

No Cloud project or API setup

You sign in with Google in Porter and in Claude Code. There is no Google Cloud project, service account or report query to maintain.

↻

Hosted dashboards when a file isn’t enough

Ask for a Porter AI dashboard and it is published at its own link, synced automatically and ready to share with a client.

04Dashboard

Dashboard template

Start from a ready-made DV360 template, or ask Claude Code to build a live one with AI dashboards.

AI dashboards

Build a live DV360 dashboard from your terminal

Describe the dashboard in one sentence and Porter builds it. A client-ready dashboard in minutes, with no chart dragging and no BI tool to learn. Ask Claude Code:

Prompt
Build a live DV360 dashboard for my account with the last 30 days, the main KPIs and a weekly trend.
Live URLEach dashboard at its own link: no login, no app, no download
Auto-syncFresh DV360 data, nobody re-exports each period
Scheduled deliveryEmail or PDF sends on a set day
White labelYour logo and branding for clients
Sharing permissionsView or edit access per person

Or start from a template

05Pricing

Pricing

You can start free, since Porter’s DV360 connector for Claude comes with every plan. Use the calculator for your number of accounts, or see Porter pricing for every plan.

What you get

  • Free plan: never expires, with unlimited connected accounts and the last 15 days of data in Claude (30 days in Data Studio and Sheets)
  • Reporting: from $12.50 per account a month billed annually, or $15 month to month for one account
  • Billing: each connected DV360 account counts as one account, with volume discounts and no per-seat fee
  • Changes: 1 AI credit per completed change; failed tasks are free, and the Free plan includes 100 credits a month
  • Trial: 14 days of full access, no card

Price calculator

$33.33/mo$6.67 per account

An account is one ad account, Stripe account, store, page or GA4 property. The Free plan never expires and has unlimited accounts, with the last 15 days of data in AI chats.

06Data and actions

DV360 data and actions in Claude Code

The connector gives Claude 812 DV360 fields, 534 metrics and 278 dimensions, as well as 16 actions to read, create, pause and delete. Money metrics come in USD, Partner and Advertiser currency, so pick one per question. The Google DV360 field list has every label, including everything from partners and advertisers down to line items, creatives, exchanges and inventory sources.

The 12 fields you'll use most

These 12 answer most pacing, supply, reach and cost questions, so start with them.

FieldWhat it's for
Advertiser · Insertion Order · Line ItemFILTER_ADVERTISER_NAME · FILTER_INSERTION_ORDER_NAME · FILTER_LINE_ITEM_NAMEOne level of the account per question
Line Item Pacing PercentageFILTER_LINE_ITEM_PACING_PERCENTAGEUnder- and over-delivery
Impressions · Click Rate (CTR)METRIC_IMPRESSIONS · METRIC_CTRVolume and response
Media Cost (Advertiser Currency) · Total Media Cost (Advertiser Currency)METRIC_MEDIA_COST_ADVERTISER · METRIC_TOTAL_MEDIA_COST_ADVERTISERSpend without and with fees
Media Cost eCPM (Advertiser Currency)METRIC_MEDIA_COST_ECPM_ADVERTISERPrice of supply
Active View: % Viewable ImpressionsMETRIC_ACTIVE_VIEW_PCT_VIEWABLE_IMPRESSIONSQuality of supply
Unique Reach: Impression Reach · Unique Reach: Average Impression FrequencyMETRIC_UNIQUE_REACH_IMPRESSION_REACH · METRIC_UNIQUE_REACH_AVERAGE_IMPRESSION_FREQUENCYDeduplicated reach and frequency
Post-Click Conversions · Post-View Conversions · Total ConversionsMETRIC_LAST_CLICKS · METRIC_LAST_IMPRESSIONS · METRIC_TOTAL_CONVERSIONSFloodlight conversions
TrueView: Views · Completion Rate (Video)METRIC_TRUEVIEW_VIEWS · METRIC_VIDEO_COMPLETION_RATEYouTube and open-web video
Exchange · Inventory SourceFILTER_EXCHANGE · FILTER_INVENTORY_SOURCE_NAMEWhere impressions were bought
Invalid ImpressionsMETRIC_INVALID_IMPRESSIONSFiltered traffic
Creative · Creative SizeFILTER_CREATIVE · FILTER_CREATIVE_SIZECreative comparison

Can Claude create, pause or change campaigns through the connector?

Yes. Porter gives Claude reporting and campaign management in one connector, with 9 write actions:

  • create campaigns under an advertiser
  • create insertion orders with pacing and budget unit
  • create line items with type, bid strategy, bid amount and performance goal
  • pause, activate or rename campaigns, insertion orders and line items
  • delete campaigns, insertion orders and line items

How fresh is the data, and how far back?

Porter runs a report when you ask. DV360 updates impressions and clicks every 3–4 hours, while conversions update about every 6 hours. It can still update a day's data for up to 31 days. Most data goes back 24 months, according to Google's DV360 data freshness and availability page.

Product stats

WhatDV360 connector
Fields812 (534 metrics, 278 dimensions)
Actions16, including 9 write actions on campaigns, insertion orders and line items
FreshnessReport runs when you ask; DV360 updates impressions and clicks every 3 to 4 hours, conversions about every 6
HistoryMost data 24 months, keyword data 60 days, reach up to 92 days per question; 30 days on the Free plan, 15 in AI chats
Write quotaGoogle allows 150 writes a minute per advertiser
CurrenciesMoney metrics in USD, Partner and Advertiser currency; one per question
AccessGoogle sign-in (OAuth) with a DV360 user role; changes only after you approve

See all 812 DV360 fields

07Security

Is it safe?

Yes. Claude changes nothing until you confirm, because the DV360 connector asks for your approval before writing anything. Every change is one of 9 Porter actions on campaigns, insertion orders or line items, and Google's own limits still apply to each one.

How approvals work

When Claude creates a campaign, it starts paused. Each completed change also costs one AI credit.

Deleting a campaign, insertion order or line item is permanent, so pause it when you might want it back. Bulk changes count one credit per change, and failed tasks are free.

Google also limits writes to 150 a minute per advertiser, as Google's DV360 write quota states.

What the Claude connector needs from your account

Before you connect, you need a Google account with a DV360 user role on each partner or advertiser Claude should use. Porter signs in with Google (OAuth) for both reports and changes. Claude also needs the advertiser ID before it makes a change.

08FAQ

FAQ

Answers on setup, scope, scripts and credits, plus fixes for the most common Claude Code errors with DV360. Setup questions every source shares, like where Claude Code saves the server and how to share it with your team, are in the Claude Code hub FAQ.

Can I put DV360 next to Google Ads spend?

Yes. Connect Google Ads in Porter and ask for Cost next to Billable Cost. Claude Code writes both to one weekly file.

Can I read several advertisers at once?

Yes. Porter reads every advertiser your Google user has a DV360 role on, so one prompt can compare them.

Do Claude Code questions use Porter credits?

Reading DV360 data uses no AI credits. Each completed change, such as a change, uses 1 credit, and every Porter account gets 100 free credits a month.

Troubleshooting

Why does /mcp show porter as needing authentication?

Claude Code adds the server before you sign in. Pick porter in /mcp, choose Authenticate and sign in with the Google account you use in Porter.

Why does my claude -p script stop and ask for permission?

Scripts can’t answer permission prompts. Pass the tools the script may use, for example --allowedTools "mcp__porter" "Write", so Claude Code can read Porter and save files without stopping.

Why does Claude Code see my advertiser but return no data?

Usually the Google user’s DV360 role doesn’t cover that advertiser, or the range had no delivery. Check the user’s role in DV360, then ask again.

09Next

More Claude connectors

Porter brings more than DV360 into Claude and sends DV360 to more than Claude. Besides the DV360 connector, browse all Claude connectors or the pages below. Each lists that source's or destination's setup, fields and limits, so you can plan a cross-channel setup before connecting anything else.

Not only Claude. Send DV360 data anywhere

The same Porter account and connection also send DV360 data to these destinations, at no extra cost.

Try the connector in Claude Code

Porter’s DV360 connector for Claude Code takes one command, so your first pacing file can land in your project today.

Free plan · 14-day trial · No card needed

Programmatic managers: pacing and viewability land in one file from the terminal.

Media planners: DV360 sits next to your search and social spend.

Agencies: one script builds the weekly report for every advertiser.