Apple Search Ads
БесплатноБез исполняемых скриптовНе проверенCreate, optimize, and scale Apple Search Ads campaigns with API automation, attribution integration, and bid strategy recommendations.
от modbender★ 21 звезда на GitHubОб этом скилле
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"},
"suppl
Установить Apple Search Ads в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic