Asc Apple Ads
Use when managing Apple Ads with asc, including OAuth profiles, ad-account discovery...
Install
npx skills add rorkai/app-store-connect-cli-skills --skill asc-apple-ads -g -a claude-code -y- Repository
- rorkai/app-store-connect-cli-skills1.1k
- Category
- Marketing
- Updated
- 9d ago
- License
- MIT
- Context cost
- Mediumabout 3,000 tokens
- Runs scripts
- No, instructions only
What it does
Use when managing Apple Ads with asc, including OAuth profiles, ad-account discovery, Platform API v1 campaigns and targeting, reports, assets, recommendations, guarded mutations, raw requests, and Campaign Management API v5 migration.
asc Apple Ads
Run Apple Ads work through asc ads. Apple Ads credentials are separate from App Store Connect credentials; asc auth login does not configure Ads.
Pick the API first
- Direct
asc ads <resource> ...commands use Apple Ads Platform API v1 and an ad account ID. - Deprecated Campaign Management API v5 commands live under
asc ads v5 ...and use an organization ID. Apple retires v5 on January 26, 2027. - Never substitute an org ID for an ad account ID. The CLI keeps them separate.
- Run the exact leaf command with
--helpbefore building a request file. Platform v1 payloads and response envelopes differ from v5; the CLI does not translate them. - For non-interactive pipelines, pass
--file -to read a JSON request body from stdin; the CLI rejects it when stdin is a terminal. - Resource, report, upload, and raw commands emit lossless JSON. Use
jqfor projections instead of asking for table or markdown output.
Authenticate and pin the account
Store both contexts when a profile must support v1 and legacy v5:
asc ads auth login \
--name "Marketing" \
--client-id "$ASC_ADS_CLIENT_ID" \
--team-id "$ASC_ADS_TEAM_ID" \
--key-id "$ASC_ADS_KEY_ID" \
--private-key "$ASC_ADS_PRIVATE_KEY_PATH" \
--ad-account "987654" \
--org "123456" \
--network
For CI, set Ads-specific variables and bypass the host keychain:
export ASC_ADS_CLIENT_ID="SEARCHADS_CLIENT_ID"
export ASC_ADS_TEAM_ID="SEARCHADS_TEAM_ID"
export ASC_ADS_KEY_ID="KEY_ID"
export ASC_ADS_PRIVATE_KEY_PATH="$HOME/.asc/apple-ads-private-key.pem"
export ASC_ADS_AD_ACCOUNT_ID="987654"
export ASC_ADS_BYPASS_KEYCHAIN=1
ASC_ADS_PRIVATE_KEY and ASC_ADS_PRIVATE_KEY_B64 also work. If another trusted process minted a short-lived token, set ASC_ADS_ACCESS_TOKEN; scoped v1 calls still need an ad account ID.
Check auth without printing a token:
