Apple Ads connector for Claude Code

Use Porter’s Apple Ads connector for Claude Code to pull keyword, search term and install data into your terminal, then turn it into files, scripts and scheduled reports in your own project.

  • Save keyword results as CSV in your repo
  • Find search terms worth adding as keywords
  • Run a weekly Apple Ads report from a script
  • Compare cost per install across ad groups
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
Rank last month’s keywords by Spend with Taps and installs and save them to reports/apple-keywords.csv
porter / Apple Ads / Trailgear Demo✓ 4 rows
Saved reports/apple-keywords.csv with 4 keywords. hiking app installs cheapest; trail map costs the most per install.
KeywordSpendTaps
hiking app$1,4202,310
trail tracker$9801,280
gps hiking$760910
trail map$640420
Demo data, Trailgear Demo account
120+ Apple Ads fields
01Setup

How to connect Apple Ads to Claude Code

Connecting Apple Ads to Claude Code takes 3 steps and no API keys: connect your Apple Ads accounts in Porter with an Apple Ads API user, 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 Apple Ads MCP server page shows. Using the Claude app instead? See the Apple Ads connector for Claude.

Before you start

  • You need Claude Code installed (Anthropic’s Claude Code overview), a free Porter account and an Apple Ads Advanced account and an API user invited by an account admin.
  • Works with any Claude model in Claude Code, from Opus to Sonnet and Haiku.
  1. Step 1: Connect Apple Ads in Porter

    Sign up free at Porter, pick Apple Ads as the source and sign in with an Apple Ads API user. Tick every campaign group 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 Apple Ads accounts can you see? For the last 30 days, by Keyword, show Spend, Impressions, Taps and installs and save it to reports/apple-keywords.csv.

Guides and videos

app.portermetrics.com / create
Porter's Connect a new data source list with Apple Ads ready to connect
First, find Apple Ads in Porter and select Connect.
Porter's Apple Ads authorization form with the public key and Client ID, Team ID and Key ID fields
Then copy Porter’s public key into Apple Ads and paste the three IDs it gives you.
$ 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 Apple Ads accounts can you see?
● porter - list_accounts (MCP)
Trailgear Demo
After you sign in from /mcp, Claude Code lists your Apple Ads accounts.
02Use cases and prompts

What you can do in Claude Code

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

Can Claude Code export Apple Ads keywords?

The problemApple Ads reports export per campaign and need cleanup.

What Claude Code doesClaude Code pulls Keyword, Match Type, Spend, Impressions, Taps, TTR and Avg CPT through Porter and writes them to a CSV.

What you getA clean keyword file in your repo, ready for analysis.

Prompt
For the last 30 days, by Keyword, Match Type and Ad Group Name (Keyword), pull Spend, Impressions, Taps, TTR, Avg CPT and installs from Apple Ads and save it as data/apple-keywords.csv.

Which search terms should become keywords?

The problemSearch match finds good terms, but they stay buried in the search terms report.

What Claude Code doesClaude Code ranks Search Term by installs and cost per install and splits them into terms to add and terms to exclude.

What you getTwo lists: new exact keywords and negatives.

Prompt
For the last 30 days, by Search Term and Ad Group Name (Search Term), show Spend, Taps and installs. List terms with at least 5 installs as keywords to add and terms with spend but no installs as negatives, and save both to reports/apple-terms.md.
Then ask
Prompt
Add the first list as exact-match keywords in the same ad group, and the second list as exact negatives on the campaign. Show me each one before you add it.

Can I schedule an Apple Ads report with Claude Code?

The problemApple Ads shows taps and installs, but cost per install by week means exporting each campaign.

What Claude Code doesA weekly claude -p job compares Spend, Taps, installs and cost per install for every Apple Ads campaign.

What you getreports/apple-weekly.md showing which campaigns got cheaper per install.

Prompt
claude -p "Compare last week with the week before for every Apple Ads campaign: Spend, Taps, installs and cost per install. Write it to reports/apple-weekly.md" --allowedTools "mcp__porter" "Write"
03Why Porter

Why Porter for Apple Ads in Claude Code

Apple Ads API access needs a private and public key pair plus client credentials for each API user (Apple’s OAuth guide). Porter handles the API user once and puts Apple Ads next to your other ad platforms and 30+ sources behind the same server.

✓

One server for all your sources

The same porter server answers about Apple Ads, 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 keys in your project

Porter holds the Apple Ads API connection, so no private key or client secret lives in your repo or terminal.

↻

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 Apple Ads template, or ask Claude Code to build a live one with AI dashboards.

AI dashboards

Build a live Apple Ads 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 Apple Ads 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 Apple Ads 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
Apple Ads dashboard template by Porter
Template

The Apple Ads dashboard template

Start from Porter’s official Apple Ads dashboard template, or run the prompt above in Claude Code and Porter publishes the dashboard at its own link.

Or start from a template

05Pricing

Pricing

You can start free, since Porter’s Apple Ads 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 Apple Ads organization 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

Apple Ads data and actions in Claude Code

The connector gives Claude 120+ Apple Ads fields across organizations, apps, campaigns, ad groups, keywords, search terms and ads. It also adds 16 actions to read, create, change and delete. However, most questions need only the 12 field groups below. The Apple Ads field list has every label and ID.

The 12 fields you'll use most

FieldWhat it's for
Date · Weekapple_ads_date · apple_ads_weekDaily pacing and week-over-week comparisons
Org ID · App Nameapple_ads_orgId · apple_ads_appNameTelling organizations and apps apart
Campaign Name · Ad Group Nameapple_ads_campaignName · apple_ads_adGroupNameThe level of the question (one per prompt)
Keyword · Match Type · Keyword Bid Amountapple_ads_keyword · apple_ads_matchType · apple_ads_bidAmountKeyword cost and bid reviews
Search Term · Search Term Sourceapple_ads_searchTermText · apple_ads_searchTermSourceWhat people typed in the App Store and how it matched
Search Matchapple_ads_automatedKeywordsOptInWhether an ad group matches searches automatically
Spend · Avg CPTapple_ads_localSpend · apple_ads_avgCPTCost and cost per tap
Impressions · Taps · TTRapple_ads_impressions · apple_ads_taps · apple_ads_ttrReach and tap-through rate
Installs (Total) · Installs (Tap-Through) · Installs (View-Through)apple_ads_totalInstalls · apple_ads_tapInstalls · apple_ads_viewInstallsInstalls by how they were attributed
New Downloads (Total) · Redownloads (Total)apple_ads_totalNewDownloads · apple_ads_totalRedownloadsNew users vs returning users
Avg CPA (Total) · CR (Total)apple_ads_totalAvgCPI · apple_ads_totalInstallRateCost per install and tap-to-install rate
Ad Name · Product Page ID · Creative Typeapple_ads_adName · apple_ads_productPageId · apple_ads_creativeTypeWhich ad and product page drove installs

Can Claude create, pause or change Apple Ads campaigns?

Yes. Claude creates campaigns for an app in the countries you choose, with a daily budget. Then it creates ad groups with a default bid, CPA goal, dates and Search Match. It adds keywords with match type and bid, as well as campaign negative keywords. Claude also pauses, resumes and deletes campaigns and ad groups.

It also changes names, daily budgets, default bids, CPA goals, end dates and Search Match. Keyword bid changes, keyword pauses or deletes, negative removals, ads and custom product pages stay in Apple Ads, where you manage them as usual.

How fresh is the data, and how far back?

Porter fetches data when you ask. Today's numbers come back marked as an incomplete day, so ask for full days. So far, Porter has returned daily data back to January 2024 on a tested account. The free plan reads 15 days in AI chats (30 days in Data Studio and Sheets), but paid plans have no history cap.

Product stats

WhatApple Ads connector
Fields120+ across organizations, apps, campaigns, ad groups, keywords, search terms and ads
Actions16 to read, create, change and delete; keyword bids, ads and custom product pages stay in Apple Ads
FreshnessFetched when you ask; today comes back as an incomplete day
HistoryDaily data back to January 2024 on a tested account, past Apple's 90-day daily window; no cap on paid plans; 30 days on the Free plan, 15 in AI chats
Query rulesOne level per question (campaigns, ad groups, keywords, search terms or ads)
Search termsTerms with 10 impressions or fewer come back as one unnamed row
AccessApple Ads Advanced API user; Read Only for questions, a read and write role for changes

See all 120+ Apple Ads fields

07Security

Is it safe?

Yes, with approvals. Claude shows every change before the connector sends it to Apple Ads, and nothing changes until you confirm. Deleting a campaign or ad group is permanent, so pausing is the safer fix. Porter works with the access your API user already has, so a reporting role keeps Claude to questions.

How approvals work

New campaigns start paused when Claude creates them through Porter. Deleting a campaign or ad group is permanent, so Claude shows it to you before it runs. Keyword edits beyond adding keywords stay in Apple Ads. Each completed change uses one AI credit, so bulk changes count per item.

What the Claude connector needs from Apple Ads

You need an Apple Ads Advanced organization, as well as an API user invited by an account admin. API Account Read Only is enough for questions, but changes need a read and write role, or Apple rejects the request. One API user can reach several organizations, and its client secret lasts up to 180 days (Apple's OAuth guide: API roles and the 180-day client secret).

08FAQ

FAQ

Answers on setup, scope, scripts and credits, plus fixes for the most common Claude Code errors with Apple Ads. 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 add Google Ads app campaigns to the report?

Yes. Connect Google Ads in Porter and ask for Cost and Conversions next to Apple Ads Spend and installs. Claude Code writes both to one file.

Do I need Apple Ads Advanced?

Yes. Porter reads Apple Ads through the API, which works with Advanced accounts and an API user invited by an account admin.

Do Claude Code questions use Porter credits?

Reading Apple Ads data uses no AI credits. Each completed change, such as a keyword 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 account but return no data?

Usually the API user has no role on that campaign group, or the range had no spend. Check the user’s role in Apple Ads, then ask again.

09Next

More Claude connectors

Porter brings more than Apple Ads into Claude, and sends Apple Ads to more places than Claude. Besides the Apple Ads connector, try another ad platform or analytics source from all Claude connectors, or send Apple Ads to a warehouse. Each page also lists its own prompts, fields and limits.

Not only Claude. Send Apple Ads data anywhere

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

Try the connector in Claude Code

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

Free plan · 14-day trial · No card needed

App marketers: keywords, search terms and installs land in one file.

Paid search managers: search terms turn into keyword and negative lists after your yes.

Agencies: one script builds the weekly report for every client app.