Apple Search Ads
Create, optimize, and scale Apple Search Ads campaigns with API automation, attribution integration, and bid strategy recommendations.
от LeoYeAI★ 2 236 звёзд на GitHub
Установить Apple Search Ads в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Apple Search Ads 🍎
Complete toolkit for Apple Search Ads: Campaign Management API v5, attribution integration (AdServices + SKAdNetwork), bid optimization, and strategic recommendations.
What's New in v1.0.0
- Full Campaign Management API v5 coverage
- iOS app integration (AdServices framework)
- SKAdNetwork 4.0 support
- Automated reporting scripts
- Bid optimization strategies
- Multi-country campaign patterns
Contents
- Setup
- When to Use
- Architecture
- API Essentials
- Campaign Structure
- Keywords & Bidding
- Attribution Integration
- Reports & Analytics
- Strategy Playbook
- Scripts & Automation
- Common Traps
Setup
On first use, read setup.md for integration guidelines.
When to Use
User needs to run Apple Search Ads for iOS apps. Agent handles campaign creation, bid optimization, attribution tracking, performance analysis, and strategic recommendations.
Architecture
Memory lives in ~/apple-search-ads/. See memory-template.md for structure.
~/apple-search-ads/
├── memory.md # Active campaigns, preferences, learnings
├── credentials.md # OAuth config (NEVER commit real secrets)
├── campaigns/ # Campaign-specific notes and performance
│ └── {app-id}/
├── reports/ # Generated reports
└── scripts/ # Custom automation
Quick Reference
| Topic | File |
|---|---|
| Setup process | setup.md |
| Memory template | memory-template.md |
| API endpoints | api-reference.md |
| iOS integration | ios-integration.md |
| Strategy guide | strategy.md |
| Script library | scripts.md |
API Essentials
Authentication (OAuth 2.0)
Apple Ads API uses OAuth with client credentials. Generate credentials at: https://app.searchads.apple.com/cm/app/settings/apicertificates
# 1. Generate client secret (JWT signed with private key)
# Header
{
"alg": "ES256",
"kid": "{KEY_ID}"
}
# Payload
{
"sub": "{CLIENT_ID}",
"aud": "https://appleid.apple.com",
"iat": {CURRENT_TIMESTAMP},
"exp": {TIMESTAMP_+180_DAYS},
"iss": "{TEAM_ID}"
}
# 2. Exchange for access token
curl -X POST "https://appleid.apple.com/auth/oauth2/token" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "grant_type=client_credentials" \
-d "client_id={CLIENT_ID}" \
-d "client_secret={CLIENT_SECRET}" \
-d "scope=searchadsorg"
# Response contains access_token (valid 1 hour)
Base URL & Headers
Base URL: https://api.searchads.apple.com/api/v5
Headers:
Authorization: Bearer {ACCESS_TOKEN}
X-AP-Context: orgId={ORG_ID}
Content-Type: application/json
Core Endpoints
| Resource | Method | Endpoint |
|---|---|---|
| Apps | ||
| Search apps | POST | /search/apps |
| App eligibility | GET | /apps/{adamId}/eligibilities |
| Campaigns | ||
| List campaigns | GET | /campaigns |
| Create campaign | POST | /campaigns |
| Update campaign | PUT | /campaigns/{id} |
| Delete campaign | DELETE | /campaigns/{id} |
| Ad Groups | ||
| List ad groups | GET | /campaigns/{id}/adgroups |
| Create ad group | POST | /campaigns/{id}/adgroups |
| Keywords | ||
| List keywords | GET | /campaigns/{cId}/adgroups/{agId}/targetingkeywords |
| Add keywords | POST | /campaigns/{cId}/adgroups/{agId}/targetingkeywords/bulk |
| Reports | ||
| Campaign report | POST | /reports/campaigns |
| Ad group report | POST | /reports/campaigns/{id}/adgroups |
| Keyword report | POST | /reports/campaigns/{cId}/adgroups/{agId}/keywords |
| Search term report | POST | /reports/campaigns/{cId}/searchterms |
| Impression share | POST | /reports/campaigns/{id}/impressionshare |
Campaign Structure
Hierarchy
Organization (orgId)
└── Campaign (Search Results / Search Tab / Today Tab)
├── Budget & Schedule
├── Countries/Regions
└── Ad Groups
├── Keywords (targeting + negative)
├── Audience (age, gender, device, etc.)
├── Creatives (default or Custom Product Pages)
└── Bid settings
Campaign Types
| Type | Placement | Best For |
|---|---|---|
| Search Results | Top of search results | High-intent users, brand defense |
| Search Tab | Suggested apps before search | Discovery, broad reach |
| Today Tab | Today tab featured | Brand awareness, launches |
Campaign Object
{
"name": "MyApp - US - Brand",
"adamId": 123456789,
"countriesOrRegions": ["US"],
"budgetAmount": {"amount": "1000", "currency": "USD"},
"dailyBudgetAmount": {"amount": "50", "currency": "USD"},
"supplySources": ["APPSTORE_SEARCH_RESULTS"],
"billingEvent": "TAPS",
"status": "ENABLED",
"startTime": "2026-01-01T00:00:00.000",
"endTime": null
}
Ad
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- _meta.json
- api-reference.md
- ios-integration.md
- memory-template.md
- scripts.md
- setup.md
- strategy.md
FAQ
Что делает скилл Apple Search Ads?
Create, optimize, and scale Apple Search Ads campaigns with API automation, attribution integration, and bid strategy recommendations.
Как установить скилл Apple Search Ads?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Apple Search Ads запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…