skills/asc-apple-ads/SKILL.md
Use when managing Apple Ads with asc, including auth, org lookup, campaigns, ad groups, ads, keywords, reports, raw API calls, and safe live testing.
npx skillsauth add rudrankriyam/app-store-connect-cli-skills asc-apple-adsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when a task involves Apple Ads or asc ads.
asc ads --help or the specific subgroup help before scripting a command.asc auth login does not configure asc ads.--output json.--org for one-off commands and ASC_ADS_ORG_ID for a scoped session.--file.Stored profile:
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" \
--org "$ASC_ADS_ORG_ID" \
--network
Environment auth:
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_ORG_ID="123456"
Short-lived token auth:
export ASC_ADS_ACCESS_TOKEN="ACCESS_TOKEN"
export ASC_ADS_ORG_ID="123456"
Useful checks:
asc ads auth status --validate --output json
asc ads auth doctor --output json
asc ads me view --output json
asc ads acls --output json
When the org ID is unknown:
asc ads acls --output json
Use the returned org ID:
asc ads campaigns --org "123456" --limit 10 --output json
Org precedence is --org, ASC_ADS_ORG_ID, stored profile org_id, then config ads.org_id.
Campaigns and ad groups:
asc ads campaigns --org "123456" --limit 100 --output json
asc ads campaigns --org "123456" --paginate --output json
asc ads campaigns view --org "123456" --campaign 987654321 --output json
asc ads ad-groups list --org "123456" --campaign 987654321 --output json
Discovery:
asc ads apps search --org "123456" --query "My App" --limit 10 --output json
asc ads product-pages list --org "123456" --adam-id 1234567890 --states VISIBLE --output json
asc ads creatives list --org "123456" --limit 100 --output json
asc ads geo search --org "123456" --query "San Francisco" --country-code US --limit 10 --output json
Reports:
asc ads reports campaigns --org "123456" --file reporting-request.json --output json
asc ads reports keywords --org "123456" --campaign 987654321 --file reporting-request.json --output json
Reporting and find endpoints keep pagination in the JSON body.
Create and update commands take Apple Ads JSON files:
asc ads campaigns create --org "123456" --file campaign.json --output json
asc ads campaigns update --org "123456" --campaign 987654321 --file campaign-update.json --output json
asc ads ad-groups create --org "123456" --campaign 987654321 --file ad-group.json --output json
Bulk endpoints often require arrays:
asc ads targeting-keywords create-bulk \
--org "123456" \
--campaign 987654321 \
--ad-group 123456789 \
--file keywords.json \
--output json
Delete commands require --confirm:
asc ads targeting-keywords delete-bulk \
--org "123456" \
--campaign 987654321 \
--ad-group 123456789 \
--file keyword-ids.json \
--confirm \
--output json
asc ads campaigns delete --org "123456" --campaign 987654321 --confirm
For live tests, create paused resources with names such as ASC CLI Live Test <timestamp>. Clean up only the parent campaign or ad group created for that test. Apple may reject direct deletion for default product page creative ads, but deleting the test parent campaign or ad group can clean up the test resource.
Use raw requests when Apple adds a field before the first-class command surface changes:
asc ads api request \
--method POST \
--path v5/campaigns/find \
--org "123456" \
--file selector.json \
--output json
Raw requests accept only Apple Ads v5 paths or https://api.searchads.apple.com/api/v5/... URLs. DELETE still requires --confirm.
asc ads me view --output json and asc ads acls --output json.tools
Set up bundle IDs, capabilities, signing certificates, provisioning profiles, and encrypted signing sync with the asc cli. Use when onboarding a new app, rotating signing assets, or sharing them across a team.
tools
Guidance for using asc cli in this repo (flags, output formats, pagination, auth, and discovery). Use when asked to run or design asc commands or interact with App Store Connect via the CLI.
testing
Validate App Store submission readiness, submit prepared versions, and monitor review status with current asc commands. Use when shipping or troubleshooting review submissions.
tools
Orchestrate iOS screenshot automation with xcodebuild/simctl for build-run, AXe for UI actions, JSON settings and plan files, Koubou-based framing (`asc screenshots frame`), and screenshot upload (`asc screenshots upload`). Use when users ask for automated screenshot capture, AXe-driven simulator flows, frame composition, or screenshot-to-upload pipelines.