whatisgithub

What is apple-ads-cli?

crevas/apple-ads-cli — explained in plain English

Analysis updated 2026-05-18

4GoAudience · pm founderComplexity · 3/5LicenseSetup · moderate

In one sentence

A command line tool for planning and managing Apple Search Ads campaigns with AI agents, using dry-run previews before any change goes live.

Mindmap

mindmap
  root((Apple Ads CLI))
    What it does
      Plans ad campaigns
      Dry run by default
      AI agent friendly
    Tech stack
      Go
      Apple Ads API
    Use cases
      Campaign planning
      Revenue analytics
      Platform API migration
    Audience
      Marketers
      Founders
    Setup
      Apple Ads credentials
      Homebrew install

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Plan an Apple Search Ads campaign package, including keywords and budget, before writing anything live.

USE CASE 2

Let an AI agent like Claude Code or Codex draft and explain a campaign plan for you to approve.

USE CASE 3

Check revenue and return on ad spend for your app's Apple Ads campaigns using RevenueCat or AppsFlyer data.

USE CASE 4

Prepare your Apple Ads workflow for the newer Platform API while still using the current v5 API.

What is it built with?

GoApple Ads API

How does it compare?

crevas/apple-ads-cliaeneasr/github-trendsbxcodec/go-simple-flatbuffer
Stars444
LanguageGoGoGo
Last pushed2020-12-182017-06-09
MaintenanceDormantDormant
Setup difficultymoderateeasyeasy
Complexity3/52/52/5
Audiencepm founderpm founderdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires Apple Ads API credentials (client ID, team ID, key ID, private key) configured via environment variables.

MIT license: use, modify, and share freely, including for commercial purposes, as long as you keep the copyright notice.

So what is it?

Apple Ads CLI by Lily is a command line tool for planning and managing Apple Search Ads campaigns, built with AI assistants like Codex and Claude Code in mind. It is an independent, unofficial project and is not affiliated with or endorsed by Apple. Instead of exposing raw API calls, it groups the steps of setting up a campaign, such as creating the campaign itself, an ad group, keywords, negative keywords, a cost per acquisition goal, and a creative attachment, into a single business focused command. By default the tool returns structured JSON output and treats any command that would write changes to Apple Ads as a dry run, so it shows what would happen and asks for confirmation before actually making changes. This is meant to let an AI agent explain the plan in plain business terms, such as the suggested budget, bid, and keywords, and let a human approve, adjust, or cancel before anything is sent live. The tool works against Apple's current Campaign Management API version 5, while also preparing support for Apple's newer Platform API, and it hides the differences between the two behind a single interface so a user does not need to learn both. You can install it with Homebrew, a hosted install script, by building from source with Go, or by downloading a release binary. Configuration happens through environment variables or a local config file holding your Apple Ads credentials, and your private keys stay on your own machine. The project also ships ready made skill files for Codex and Claude Code that teach those agents how to use the tool safely, always previewing a plan before writing. On top of the core Apple Ads features, which are free and open source, you can optionally sign in to a hosted service called Lily to unlock keyword level revenue analytics, pulling in data from RevenueCat or AppsFlyer to show return on ad spend. Without that optional login, the tool still works for planning and managing campaigns, it simply cannot calculate revenue based metrics. The project is written in Go and released under the MIT license.

Copy-paste prompts

Prompt 1
Help me install Apple Ads CLI by Lily with Homebrew and set my Apple Ads credentials.
Prompt 2
Draft a dry-run Apple Ads campaign plan for my app with a daily budget and target keywords.
Prompt 3
Show me how to install the Claude Code agent skill for Apple Ads CLI by Lily.
Prompt 4
Explain how to check Apple Ads platform readiness before switching from v5 to the Platform API.

Frequently asked questions

What is apple-ads-cli?

A command line tool for planning and managing Apple Search Ads campaigns with AI agents, using dry-run previews before any change goes live.

What language is apple-ads-cli written in?

Mainly Go. The stack also includes Go, Apple Ads API.

What license does apple-ads-cli use?

MIT license: use, modify, and share freely, including for commercial purposes, as long as you keep the copyright notice.

How hard is apple-ads-cli to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is apple-ads-cli for?

Mainly pm founder.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.