[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7E9NMSE1F7DQ51WXSSFKPFS":3,"skill-same:01M7E9NMSE1F7DQ51WXSSFKPFS":57},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7E9NMSE1F7DQ51WXSSFKPFS","asc-apple-ads",null,"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.","buidangminh23\u002Fdesign-pro-max","buidangminh23","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F256920857?v=4","01M7E9N0JXRWQ1EGSBXP2BE8JR","Minh Spark","01M7E9N0KJ3A6E4RWZ45SNVQJH",5,"MIT","https:\u002F\u002Fgithub.com\u002Fbuidangminh23\u002Fdesign-pro-max\u002Fblob\u002Fmain\u002Fskills\u002Fapple\u002F.vendor\u002Fapp-store-connect\u002Fasc-apple-ads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fbuidangminh23\u002Fdesign-pro-max\u002Fblob\u002Fmain\u002Fskills\u002Fapple\u002F.vendor\u002Fapp-store-connect\u002Fasc-apple-ads\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: asc-apple-ads\ndescription: 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.\n---\n\n# asc Apple Ads\n\nRun Apple Ads work through `asc ads`. Apple Ads credentials are separate from App Store Connect credentials; `asc auth login` does not configure Ads.\n\n## Pick the API first\n\n- Direct `asc ads \u003Cresource> ...` commands use Apple Ads Platform API v1 and an ad account ID.\n- Deprecated Campaign Management API v5 commands live under `asc ads v5 ...` and use an organization ID. Apple retires v5 on January 26, 2027.\n- Never substitute an org ID for an ad account ID. The CLI keeps them separate.\n- Run the exact leaf command with `--help` before building a request file. Platform v1 payloads and response envelopes differ from v5; the CLI does not translate them.\n- For non-interactive pipelines, pass `--file -` to read a JSON request body from stdin; the CLI rejects it when stdin is a terminal.\n- Resource, report, upload, and raw commands emit lossless JSON. Use `jq` for projections instead of asking for table or markdown output.\n\n## Authenticate and pin the account\n\nStore both contexts when a profile must support v1 and legacy v5:\n\n```bash\nasc ads auth login \\\n  --name \"Marketing\" \\\n  --client-id \"$ASC_ADS_CLIENT_ID\" \\\n  --team-id \"$ASC_ADS_TEAM_ID\" \\\n  --key-id \"$ASC_ADS_KEY_ID\" \\\n  --private-key \"$ASC_ADS_PRIVATE_KEY_PATH\" \\\n  --ad-account \"987654\" \\\n  --org \"123456\" \\\n  --network\n```\n\nFor CI, set Ads-specific variables and bypass the host keychain:\n\n```bash\nexport ASC_ADS_CLIENT_ID=\"SEARCHADS_CLIENT_ID\"\nexport ASC_ADS_TEAM_ID=\"SEARCHADS_TEAM_ID\"\nexport ASC_ADS_KEY_ID=\"KEY_ID\"\nexport ASC_ADS_PRIVATE_KEY_PATH=\"$HOME\u002F.asc\u002Fapple-ads-private-key.pem\"\nexport ASC_ADS_AD_ACCOUNT_ID=\"987654\"\nexport ASC_ADS_BYPASS_KEYCHAIN=1\n```\n\n`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.\n\nCheck auth without printing a token:\n\n```bash\nasc ads auth status --validate --output json\nasc ads auth discover --ads-profile \"Marketing\" --output json\nasc ads auth doctor --output json\n```\n\nDiscovery calls Platform v1 `GET \u002Fv1\u002Fme` and `GET \u002Fv1\u002Facls`. Compare each ACL's ad-account ID, name, organization ID, and roles; never select the first result automatically. Print the chosen account before any mutation, then pass both `--ads-profile \"Marketing\"` and `--ad-account \"987654\"` when more than one profile or account is available.\n\nFor named profiles, the profile's `ad_account_id` and `org_id` stand alone; they do not inherit context from another profile or root config. V1 context precedence is `--ad-account`, `ASC_ADS_AD_ACCOUNT_ID`, the selected profile, then profile-less root config. Legacy v5 uses the matching `--org` and `ASC_ADS_ORG_ID` chain.\n\n## Start read-only\n\nIdentity and ACL calls need no ad account context:\n\n```bash\nasc ads me view --ads-profile \"Marketing\" --output json\nasc ads acls list --ads-profile \"Marketing\" --output json\nasc ads orgs view --ads-profile \"Marketing\" --org-id \"123456\" --output json\n```\n\nThen prove the selected account with a small app search:\n\n```bash\nasc ads apps search \\\n  --ads-profile \"Marketing\" \\\n  --ad-account \"987654\" \\\n  --query \"Example\" \\\n  --limit 1 \\\n  --output json\n```\n\nApp search requires at least one of `--query`, `--cpids`, or `--return-owned-apps`. Storefronts use comma-separated ISO alpha-2 codes. Add `--paginate` only when every search result is needed.\n\nUse each resource's `find` command for inventory. Most v1 queries put filters, sorting, and pagination in a JSON object. A subordinate-resource filter looks like this:\n\n```json\n{\n  \"filters\": [\n    {\"field\": \"campaignId\", \"operator\": \"EQUALS\", \"value\": [\"campaign-id\"]}\n  ],\n  \"pagination\": {\"offset\": 0, \"pageSize\": 100, \"fetchTotalCount\": true}\n}\n```\n\n```bash\nasc ads campaigns find --ads-profile \"Marketing\" --ad-account \"987654\" --output json\nasc ads ad-groups find --ads-profile \"Marketing\" --ad-account \"987654\" --file query.json --output json\nasc ads ads find --ads-profile \"Marketing\" --ad-account \"987654\" --file query.json --output json\n```\n\nOmitting `--file` from `campaigns find` requests the default first page. To control or exhaust the result set, use `pagination.offset`, `pageSize`, and `fetchTotalCount` in a query file, read the response pagination, and advance the offset until complete. This command has no `--paginate` flag. Platform filters use the singular `value`; do not copy v5 `Selector` fields such as `conditions` or plural `values`, which current `asc` rejects before auth.\n\nThe direct v1 tree also covers ad accounts and advertiser resources; app eligibility, locales, product pages, and rejection reasons; brands, business categories, locations, location groups, creatives, and assets; geographic targeting and shared budgets; reports for apps and brands; insights, suggestions, recommendations, and change history. Discover the exact leaf instead of falling back to raw HTTP:\n\n```bash\nasc ads change-history --help\nasc ads suggestions --help\nasc ads rejection-reasons --help\nasc ads reports brands --help\n```\n\nKeyword queries need a selector file. Targeting keywords require an `id`, `adGroupId`, or `campaignId` filter. Negative keywords require `id` or `adGroupId`; campaign-level negative keywords combine `campaignId` with an `adGroupId` filter whose operator is `IS_NULL`.\n\n```bash\nasc ads targeting-keywords find --ads-profile \"Marketing\" --ad-account \"987654\" --file keyword-query.json --output json\nasc ads negative-keywords find --ads-profile \"Marketing\" --ad-account \"987654\" --file negative-keyword-query.json --output json\n```\n\n## Reports and optimization\n\nV1 reports require an endpoint-specific body. Dates live under `timeRange`, page controls use `offset` and `pageSize`, and campaign or ad-group IDs belong in `filters`:\n\n```json\n{\n  \"pagination\": {\"offset\": 0, \"pageSize\": 20},\n  \"filters\": [\n    {\"field\": \"campaignId\", \"operator\": \"EQUALS\", \"value\": [\"campaign-id\"]}\n  ],\n  \"groupBy\": [\"countryOrRegion\"],\n  \"timeRange\": {\n    \"start\": \"2026-08-01\",\n    \"end\": \"2026-08-14\",\n    \"timeZone\": \"ORTZ\",\n    \"granularity\": \"DAILY\"\n  }\n}\n```\n\n```bash\nasc ads reports apps campaigns \\\n  --ads-profile \"Marketing\" \\\n  --ad-account \"987654\" \\\n  --file report.json \\\n  --output json\n```\n\nReport commands do not accept `--paginate`; change pagination in the body. Inspect the leaf help because report entities accept different `groupBy` and option values.\n\nRecommendations and suggestions also use endpoint-specific bodies. Applying or dismissing recommendations can change spend and requires `--confirm`:\n\n```bash\nasc ads recommendations daily-budgets find --ads-profile \"Marketing\" --ad-account \"987654\" --file query.json\nasc ads recommendations daily-budgets apply --ads-profile \"Marketing\" --ad-account \"987654\" --file recommendations.json --confirm\n```\n\n## Guard mutations\n\nDo not mutate until the user has approved the ad account, resource type, target IDs, and reviewed payload. Keep request JSON in files; never invent fields from a related v5 schema.\n\nCampaign creation may start spending. `CampaignCreate` requires `adAccountId`, `billingEvent`, `dailyBudget`, `name`, `promotedObjectId`, `promotedObjectType`, and `targeting`. The CLI sends the file unchanged: `--ad-account` selects the request context but does not inject `adAccountId` into the JSON. Start from this paused shape, replace every placeholder with values read from the selected account, and recheck the current Apple v1 schema for any account-specific requirements:\n\n```json\n{\n  \"name\": \"ASC agent validation 2026-08-15T00:00:00Z\",\n  \"status\": \"PAUSED\",\n  \"adAccountId\": 987654,\n  \"promotedObjectType\": \"APPSTORE_APP\",\n  \"promotedObjectId\": \"123456789\",\n  \"billingEvent\": \"TAPS\",\n  \"dailyBudget\": {\"value\": {\"amount\": \"1\", \"currency\": \"USD\"}},\n  \"startTime\": \"2030-01-01T00:00:00.000\",\n  \"endTime\": \"2030-01-02T00:00:00.000\",\n  \"targeting\": {\"countryOrRegion\": {\"include\": [\"US\"]}},\n  \"bidStrategy\": {\"bidStrategyType\": \"MANUAL_CPT\", \"bidStrategyGoal\": \"TAP\"}\n}\n```\n\nA payload with explicit top-level `\"status\":\"PAUSED\"` can run without `--confirm`; an omitted or non-paused status requires it.\n\n```bash\nasc ads campaigns create --ads-profile \"Marketing\" --ad-account \"987654\" --file paused-campaign.json\nasc ads campaigns pause --ads-profile \"Marketing\" --ad-account \"987654\" --campaign \"campaign-id\"\nasc ads campaigns resume --ads-profile \"Marketing\" --ad-account \"987654\" --campaign \"campaign-id\" --confirm\n```\n\nCampaign updates need `--confirm` when they can change budget, targeting, bids, delivery, dates, or status. A name-only update or a name plus `PAUSED` status does not. Deletes, bulk creates or updates, recommendation apply or dismiss calls, budget-order writes, and other operationally risky mutations require confirmation before auth or network access.\n\nAd-group creation and keyword bulk writes are examples of always-confirmed delivery or targeting changes. V1 bulk keyword files use wrapper objects such as `KeywordCreateBulkRequest`, not the v5 raw-array shape:\n\n```bash\nasc ads ad-groups create --ads-profile \"Marketing\" --ad-account \"987654\" --file ad-group.json --confirm\nasc ads targeting-keywords create-bulk --ads-profile \"Marketing\" --ad-account \"987654\" --file keywords.json --confirm\nasc ads targeting-keywords delete --ads-profile \"Marketing\" --ad-account \"987654\" --keyword \"keyword-id\" --confirm\n```\n\nShared budgets use the `budget-orders` command group. Create, update, and delete are context-free but require confirmation; view and find accept optional ad-account context.\n\n```bash\nasc ads budget-orders create --ads-profile \"Marketing\" --file shared-budget.json --confirm\nasc ads budget-orders update --ads-profile \"Marketing\" --budget-order \"budget-id\" --file update.json --confirm\nasc ads budget-orders delete --ads-profile \"Marketing\" --budget-order \"budget-id\" --confirm\n```\n\nAd-account creation also requires `--confirm` because its account family cannot change and Apple provides no delete endpoint. An ad-account update containing `delegations` requires confirmation because it replaces the complete list.\n\nUse the dedicated multipart command for brand assets. Poll until Apple finishes processing:\n\n```bash\nasc ads assets upload --ads-profile \"Marketing\" --file .\u002Fbrand.png --brand \"BRAND_ID\" --ad-account \"987654\"\nasc ads assets view --ads-profile \"Marketing\" --asset \"ASSET_UUID\" --ad-account \"987654\"\n```\n\nOnly use an asset when `eligibility.status` is `ELIGIBLE`; for `LIMITED`, inspect `allowedGroups`. Do not attach `PENDING` or `INELIGIBLE` assets.\n\n## Raw requests\n\nUse first-class commands for routine work. Raw v1 requests accept only `v1\u002F...` paths or `https:\u002F\u002Fapi.ads.apple.com\u002Fv1\u002F...` URLs:\n\n```bash\nasc ads api request \\\n  --method POST \\\n  --path v1\u002Fcampaigns\u002Fquery \\\n  --ads-profile \"Marketing\" \\\n  --ad-account \"987654\" \\\n  --file query.json \\\n  --output json\n```\n\nUnknown mutations fail closed, and risky known mutations require `--confirm`. The raw command rejects multipart asset upload; use `asc ads assets upload`.\n\nKeep legacy calls explicit:\n\n```bash\nasc ads v5 api request \\\n  --method POST \\\n  --path v5\u002Fcampaigns\u002Ffind \\\n  --ads-profile \"Marketing\" \\\n  --org \"123456\" \\\n  --file selector.json \\\n  --output json\n```\n\n## Migrate v5 one command at a time\n\nKeep existing v5 payloads under `asc ads v5` until each script has a reviewed v1 body and response parser. Common moves:\n\n| Deprecated v5 | Platform API v1 |\n| --- | --- |\n| `asc ads v5 campaigns list` | `asc ads campaigns find` |\n| `asc ads v5 apps localized-details` | `asc ads apps locales find` |\n| `asc ads v5 product-pages list` | `asc ads product-pages find` |\n| `asc ads v5 reports campaigns` | `asc ads reports apps campaigns` |\n| `asc ads v5 campaigns pause` \u002F `resume` | `asc ads campaigns pause` \u002F `resume` |\n| v5 campaign or ad-group negative keywords | `asc ads negative-keywords ...` with scope in the body |\n\nSeven v5 leaves have no one-command v1 replacement: product-page countries, product-page devices, targeting-keyword bulk delete, both negative-keyword bulk deletes, and impression-share report list and view. Do not pretend that `geo search`, `insights impression-share`, or single-resource deletes preserve those contracts.\n\n## Finish live tests cleanly\n\n- Start with ACL discovery and a one-result app search.\n- Use a unique timestamped name and explicit `PAUSED` status for disposable campaign tests.\n- Save every created ID from JSON output.\n- Pause spend-bearing resources before checking anything else.\n- Reread a test campaign with `asc ads campaigns view --ads-profile \"Marketing\" --ad-account \"987654\" --campaign \"campaign-id\" --output json`.\n- Delete only test-created campaigns with `asc ads campaigns delete --ads-profile \"Marketing\" --ad-account \"987654\" --campaign \"campaign-id\" --confirm`; do not delete a pre-existing parent.\n- Run the same `campaigns view` again. Treat Apple's not-found response as cleanup proof; report any campaign that still exists or could not be removed.\n","# asc Apple Ads\n\nRun Apple Ads work through `asc ads`. Apple Ads credentials are separate from App Store Connect credentials; `asc auth login` does not configure Ads.\n\n## Pick the API first\n\n- Direct `asc ads \u003Cresource> ...` commands use Apple Ads Platform API v1 and an ad account ID.\n- Deprecated Campaign Management API v5 commands live under `asc ads v5 ...` and use an organization ID. Apple retires v5 on January 26, 2027.\n- Never substitute an org ID for an ad account ID. The CLI keeps them separate.\n- Run the exact leaf command with `--help` before building a request file. Platform v1 payloads and response envelopes differ from v5; the CLI does not translate them.\n- For non-interactive pipelines, pass `--file -` to read a JSON request body from stdin; the CLI rejects it when stdin is a terminal.\n- Resource, report, upload, and raw commands emit lossless JSON. Use `jq` for projections instead of asking for table or markdown output.\n\n## Authenticate and pin the account\n\nStore both contexts when a profile must support v1 and legacy v5:\n\n```bash\nasc ads auth login \\\n  --name \"Marketing\" \\\n  --client-id \"$ASC_ADS_CLIENT_ID\" \\\n  --team-id \"$ASC_ADS_TEAM_ID\" \\\n  --key-id \"$ASC_ADS_KEY_ID\" \\\n  --private-key \"$ASC_ADS_PRIVATE_KEY_PATH\" \\\n  --ad-account \"987654\" \\\n  --org \"123456\" \\\n  --network\n```\n\nFor CI, set Ads-specific variables and bypass the host keychain:\n\n```bash\nexport ASC_ADS_CLIENT_ID=\"SEARCHADS_CLIENT_ID\"\nexport ASC_ADS_TEAM_ID=\"SEARCHADS_TEAM_ID\"\nexport ASC_ADS_KEY_ID=\"KEY_ID\"\nexport ASC_ADS_PRIVATE_KEY_PATH=\"$HOME\u002F.asc\u002Fapple-ads-private-key.pem\"\nexport ASC_ADS_AD_ACCOUNT_ID=\"987654\"\nexport ASC_ADS_BYPASS_KEYCHAIN=1\n```\n\n`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.\n\nCheck auth without printing a token:\n\n```bash\nasc ads auth status --validate --output json\nasc ads auth discover --ads-profile \"Marketing\" --output json\nasc ads auth doctor --output json\n```\n\nDiscovery calls Platform v1 `GET \u002Fv1\u002Fme` and `GET \u002Fv1\u002Facls`. Compare each ACL's ad-account ID, name, organization ID, and roles; never select the first result automatically. Print the chosen account before any mutation, then pass both `--ads-profile \"Marketing\"` and `--ad-account \"987654\"` when more than one profile or account is available.\n\nFor named profiles, the profile's `ad_account_id` and `org_id` stand alone; they do not inherit context from another profile or root config. V1 context precedence is `--ad-account`, `ASC_ADS_AD_ACCOUNT_ID`, the selected profile, then profile-less root config. Legacy v5 uses the matching `--org` and `ASC_ADS_ORG_ID` chain.\n\n## Start read-only\n\nIdentity and ACL calls need no ad account context:\n\n```bash\nasc ads me view --ads-profile \"Marketing\" --output json\nasc ads acls list --ads-profile \"Marketing\" --output json\nasc ads orgs view --ads-profile \"Marketing\" --org-id \"123456\" --output json\n```\n\nThen prove the selected account with a small app search:\n\n```bash\nasc ads apps search \\\n  --ads-profile \"Marketing\" \\\n  --ad-account \"987654\" \\\n  --query \"Example\" \\\n  --limit 1 \\\n  --output json\n```\n\nApp search requires at least one of `--query`, `--cpids`, or `--return-owned-apps`. Storefronts use comma-separated ISO alpha-2 codes. Add `--paginate` only when every search result is needed.\n\nUse each resource's `find` command for inventory. Most v1 queries put filters, sorting, and pagination in a JSON object. A subordinate-resource filter looks like this:\n\n```json\n{\n  \"filters\": [\n    {\"field\": \"campaignId\", \"operator\": \"EQUALS\", \"value\": [\"campaign-id\"]}\n  ],\n  \"pagination\": {\"offset\": 0, \"pageSize\": 100, \"fetchTotalCount\": true}\n}\n```\n\n```bash\nasc ads campaigns find --ads-profile \"Marketing\" --ad-account \"987654\" --output json\nasc ads ad-groups find --ads-profile \"Marketing\" --ad-account \"987654\" --file query.json --output json\nasc ads ads find --ads-profile \"Marketing\" --ad-account \"987654\" --file query.json --output json\n```\n\nOmitting `--file` from `campaigns find` requests the default first page. To control or exhaust the result set, use `pagination.offset`, `pageSize`, and `fetchTotalCount` in a query file, read the response pagination, and advance the offset until complete. This command has no `--paginate` flag. Platform filters use the singular `value`; do not copy v5 `Selector` fields such as `conditions` or plural `values`, which current `asc` rejects before auth.\n\nThe direct v1 tree also covers ad accounts and advertiser resources; app eligibility, locales, product pages, and rejection reasons; brands, business categories, locations, location groups, creatives, and assets; geographic targeting and shared budgets; reports for apps and brands; insights, suggestions, recommendations, and change history. Discover the exact leaf instead of falling back to raw HTTP:\n\n```bash\nasc ads change-history --help\nasc ads suggestions --help\nasc ads rejection-reasons --help\nasc ads reports brands --help\n```\n\nKeyword queries need a selector file. Targeting keywords require an `id`, `adGroupId`, or `campaignId` filter. Negative keywords require `id` or `adGroupId`; campaign-level negative keywords combine `campaignId` with an `adGroupId` filter whose operator is `IS_NULL`.\n\n```bash\nasc ads targeting-keywords find --ads-profile \"Marketing\" --ad-account \"987654\" --file keyword-query.json --output json\nasc ads negative-keywords find --ads-profile \"Marketing\" --ad-account \"987654\" --file negative-keyword-query.json --output json\n```\n\n## Reports and optimization\n\nV1 reports require an endpoint-specific body. Dates live under `timeRange`, page controls use `offset` and `pageSize`, and campaign or ad-group IDs belong in `filters`:\n\n```json\n{\n  \"pagination\": {\"offset\": 0, \"pageSize\": 20},\n  \"filters\": [\n    {\"field\": \"campaignId\", \"operator\": \"EQUALS\", \"value\": [\"campaign-id\"]}\n  ],\n  \"groupBy\": [\"countryOrRegion\"],\n  \"timeRange\": {\n    \"start\": \"2026-08-01\",\n    \"end\": \"2026-08-14\",\n    \"timeZone\": \"ORTZ\",\n    \"granularity\": \"DAILY\"\n  }\n}\n```\n\n```bash\nasc ads reports apps campaigns \\\n  --ads-profile \"Marketing\" \\\n  --ad-account \"987654\" \\\n  --file report.json \\\n  --output json\n```\n\nReport commands do not accept `--paginate`; change pagination in the body. Inspect the leaf help because report entities accept different `groupBy` and option values.\n\nRecommendations and suggestions also use endpoint-specific bodies. Applying or dismissing recommendations can change spend and requires `--confirm`:\n\n```bash\nasc ads recommendations daily-budgets find --ads-profile \"Marketing\" --ad-account \"987654\" --file query.json\nasc ads recommendations daily-budgets apply --ads-profile \"Marketing\" --ad-account \"987654\" --file recommendations.json --confirm\n```\n\n## Guard mutations\n\nDo not mutate until the user has approved the ad account, resource type, target IDs, and reviewed payload. Keep request JSON in files; never invent fields from a related v5 schema.\n\nCampaign creation may start spending. `CampaignCreate` requires `adAccountId`, `billingEvent`, `dailyBudget`, `name`, `promotedObjectId`, `promotedObjectType`, and `targeting`. The CLI sends the file unchanged: `--ad-account` selects the request context but does not inject `adAccountId` into the JSON. Start from this paused shape, replace every placeholder with values read from the selected account, and recheck the current Apple v1 schema for any account-specific requirements:\n\n```json\n{\n  \"name\": \"ASC agent validation 2026-08-15T00:00:00Z\",\n  \"status\": \"PAUSED\",\n  \"adAccountId\": 987654,\n  \"promotedObjectType\": \"APPSTORE_APP\",\n  \"promotedObjectId\": \"123456789\",\n  \"billingEvent\": \"TAPS\",\n  \"dailyBudget\": {\"value\": {\"amount\": \"1\", \"currency\": \"USD\"}},\n  \"startTime\": \"2030-01-01T00:00:00.000\",\n  \"endTime\": \"2030-01-02T00:00:00.000\",\n  \"targeting\": {\"countryOrRegion\": {\"include\": [\"US\"]}},\n  \"bidStrategy\": {\"bidStrategyType\": \"MANUAL_CPT\", \"bidStrategyGoal\": \"TAP\"}\n}\n```\n\nA payload with explicit top-level `\"status\":\"PAUSED\"` can run without `--confirm`; an omitted or non-paused status requires it.\n\n```bash\nasc ads campaigns create --ads-profile \"Marketing\" --ad-account \"987654\" --file paused-campaign.json\nasc ads campaigns pause --ads-profile \"Marketing\" --ad-account \"987654\" --campaign \"campaign-id\"\nasc ads campaigns resume --ads-profile \"Marketing\" --ad-account \"987654\" --campaign \"campaign-id\" --confirm\n```\n\nCampaign updates need `--confirm` when they can change budget, targeting, bids, delivery, dates, or status. A name-only update or a name plus `PAUSED` status does not. Deletes, bulk creates or updates, recommendation apply or dismiss calls, budget-order writes, and other operationally risky mutations require confirmation before auth or network access.\n\nAd-group creation and keyword bulk writes are examples of always-confirmed delivery or targeting changes. V1 bulk keyword files use wrapper objects such as `KeywordCreateBulkRequest`, not the v5 raw-array shape:\n\n```bash\nasc ads ad-groups create --ads-profile \"Marketing\" --ad-account \"987654\" --file ad-group.json --confirm\nasc ads targeting-keywords create-bulk --ads-profile \"Marketing\" --ad-account \"987654\" --file keywords.json --confirm\nasc ads targeting-keywords delete --ads-profile \"Marketing\" --ad-account \"987654\" --keyword \"keyword-id\" --confirm\n```\n\nShared budgets use the `budget-orders` command group. Create, update, and delete are context-free but require confirmation; view and find accept optional ad-account context.\n\n```bash\nasc ads budget-orders create --ads-profile \"Marketing\" --file shared-budget.json --confirm\nasc ads budget-orders update --ads-profile \"Marketing\" --budget-order \"budget-id\" --file update.json --confirm\nasc ads budget-orders delete --ads-profile \"Marketing\" --budget-order \"budget-id\" --confirm\n```\n\nAd-account creation also requires `--confirm` because its account family cannot change and Apple provides no delete endpoint. An ad-account update containing `delegations` requires confirmation because it replaces the complete list.\n\nUse the dedicated multipart command for brand assets. Poll until Apple finishes processing:\n\n```bash\nasc ads assets upload --ads-profile \"Marketing\" --file .\u002Fbrand.png --brand \"BRAND_ID\" --ad-account \"987654\"\nasc ads assets view --ads-profile \"Marketing\" --asset \"ASSET_UUID\" --ad-account \"987654\"\n```\n\nOnly use an asset when `eligibility.status` is `ELIGIBLE`; for `LIMITED`, inspect `allowedGroups`. Do not attach `PENDING` or `INELIGIBLE` assets.\n\n## Raw requests\n\nUse first-class commands for routine work. Raw v1 requests accept only `v1\u002F...` paths or `https:\u002F\u002Fapi.ads.apple.com\u002Fv1\u002F...` URLs:\n\n```bash\nasc ads api request \\\n  --method POST \\\n  --path v1\u002Fcampaigns\u002Fquery \\\n  --ads-profile \"Marketing\" \\\n  --ad-account \"987654\" \\\n  --file query.json \\\n  --output json\n```\n\nUnknown mutations fail closed, and risky known mutations require `--confirm`. The raw command rejects multipart asset upload; use `asc ads assets upload`.\n\nKeep legacy calls explicit:\n\n```bash\nasc ads v5 api request \\\n  --method POST \\\n  --path v5\u002Fcampaigns\u002Ffind \\\n  --ads-profile \"Marketing\" \\\n  --org \"123456\" \\\n  --file selector.json \\\n  --output json\n```\n\n## Migrate v5 one command at a time\n\nKeep existing v5 payloads under `asc ads v5` until each script has a reviewed v1 body and response parser. Common moves:\n\n| Deprecated v5 | Platform API v1 |\n| --- | --- |\n| `asc ads v5 campaigns list` | `asc ads campaigns find` |\n| `asc ads v5 apps localized-details` | `asc ads apps locales find` |\n| `asc ads v5 product-pages list` | `asc ads product-pages find` |\n| `asc ads v5 reports campaigns` | `asc ads reports apps campaigns` |\n| `asc ads v5 campaigns pause` \u002F `resume` | `asc ads campaigns pause` \u002F `resume` |\n| v5 campaign or ad-group negative keywords | `asc ads negative-keywords ...` with scope in the body |\n\nSeven v5 leaves have no one-command v1 replacement: product-page countries, product-page devices, targeting-keyword bulk delete, both negative-keyword bulk deletes, and impression-share report list and view. Do not pretend that `geo search`, `insights impression-share`, or single-resource deletes preserve those contracts.\n\n## Finish live tests cleanly\n\n- Start with ACL discovery and a one-result app search.\n- Use a unique timestamped name and explicit `PAUSED` status for disposable campaign tests.\n- Save every created ID from JSON output.\n- Pause spend-bearing resources before checking anything else.\n- Reread a test campaign with `asc ads campaigns view --ads-profile \"Marketing\" --ad-account \"987654\" --campaign \"campaign-id\" --output json`.\n- Delete only test-created campaigns with `asc ads campaigns delete --ads-profile \"Marketing\" --ad-account \"987654\" --campaign \"campaign-id\" --confirm`; do not delete a pre-existing parent.\n- Run the same `campaigns view` again. Treat Apple's not-found response as cleanup proof; report any campaign that still exists or could not be removed.\n",{"name":5,"description":7},"main","c24f526343de0e3daddc559ae8c8061c7bee9168","skills\u002Fapple\u002F.vendor\u002Fapp-store-connect\u002Fasc-apple-ads",0,"https:\u002F\u002Fgithub.com\u002Fbuidangminh23\u002Fdesign-pro-max","https:\u002F\u002Fgithub.com\u002Fbuidangminh23","https:\u002F\u002Fminhspark.com","2026-11-13 18:28:36",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add buidangminh23\u002Fdesign-pro-max --skill asc-apple-ads",{"tool":39,"command":40},"bunx","bunx skills add buidangminh23\u002Fdesign-pro-max --skill asc-apple-ads",{"tool":42,"command":43},"pnpm","pnpm dlx skills add buidangminh23\u002Fdesign-pro-max --skill asc-apple-ads","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbuidangminh23\u002Fdesign-pro-max\u002Fblob\u002Fmain\u002Fskills\u002Fapple\u002F.vendor\u002Fapp-store-connect\u002Fasc-apple-ads\u002FSKILL.md",true,[47,51],{"path":48,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":16},"LICENSE","许可证",1070,{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"UPSTREAM.json","REFERENCE","参考文档",1479,"https:\u002F\u002Fgithub.com\u002Fbuidangminh23\u002Fdesign-pro-max\u002Fblob\u002Fmain\u002Fskills\u002Fapple\u002F.vendor\u002Fapp-store-connect\u002Fasc-apple-ads\u002FUPSTREAM.json",[58,66,74,81,89,97],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":62,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":20},"01M7E9TYRPZ0JSFX8S1PS0M33C","icons-pro-max","A portable icon catalog and rendering guide for the current project: payment methods, QR codes, social\u002Fapp brand marks, download badges, the lucide-react UI icon set, 145 tech-stack logos, 86 full-color AI provider marks, 516 Claude connector icons, and 25 Microsoft app logos. Gives the exact asset path, React component, canonical size, brand color, render recipe, and accessibility rule for each icon — plus an anti-slop checklist so an agent never redraws a logo, recolors a brand mark, distorts an aspect ratio, or re-inlines a duplicated icon. Use whenever adding, rendering, swapping, or auditing an icon anywhere in a website, app, or document.","https:\u002F\u002Fgithub.com\u002Fbuidangminh23\u002Fdesign-pro-max\u002Fblob\u002Fmain\u002Fskills\u002Ficons-pro-max\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fbuidangminh23\u002Fdesign-pro-max\u002Fblob\u002Fmain\u002Fskills\u002Ficons-pro-max\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":70,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":20},"01M7E9TN6D8X0EMC5JK28WDKMY","design-spacing-rhythm","The most complete spacing & alignment skill for AI-generated UI and written documents. Reads the layout, sets three dials (SPACING_STEP \u002F DENSITY \u002F ALIGNMENT_RIGOR), derives ONE scale, and lets proximity carry meaning — establishing a spacing scale, vertical rhythm, optical alignment, whitespace hierarchy, responsive\u002Ffluid density, accessibility floors, component recipes, document & long-form (Word \u002F Docs \u002F PDF \u002F Markdown) spacing, and an anti-slop checklist. Every rule is CONTEXTUAL: read the situation, then pull only what fits. Not a blanket \"add more padding\" pass.","https:\u002F\u002Fgithub.com\u002Fbuidangminh23\u002Fdesign-pro-max\u002Fblob\u002Fmain\u002Fskills\u002Fdesign-spacing-rhythm\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fbuidangminh23\u002Fdesign-pro-max\u002Fblob\u002Fmain\u002Fskills\u002Fdesign-spacing-rhythm\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":20},"01M7E9TFK8SVDBE8B91XG8WW8A","apple","For Apple app UI and code (SwiftUI, Xcode, HIG) and scroll scenes. Use when a question or task needs HIG reviews, App Store Connect (app records, TestFlight, signing, notarizing, ad hoc, What's New, ASO, Apple Ads, Wall of Apps, screenshots), SwiftData, Swift 6, Swift Testing, Core Data, Xcode builds, disk space, Tuist apps or pinned or scrubbed web sections. Not for launch\u002Fpreview videos, captioned screenshots, Play Store art, GSAP, web springs (apple-design) or Swift questions (write-swift).","https:\u002F\u002Fgithub.com\u002Fbuidangminh23\u002Fdesign-pro-max\u002Fblob\u002Fmain\u002Fskills\u002Fapple\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":85,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":20},"01M7E9T9G0A9FS85F09P6CQBG2","xcode-disk-cleanup","Audit and safely clean Xcode-related developer storage on macOS. Use whenever a developer mentions low disk space, Xcode storage, DerivedData, simulator devices or runtimes, stale beta platforms in Xcode Settings, DeviceSupport, archives, dSYMs, CocoaPods caches, simulator dyld caches, project .build folders, downloaded Xcode DMGs\u002FXIPs, duplicate Xcode installers, or old Xcode applications. Also use this skill proactively when you hit low storage during other work, such as a build, download, or install failing with an out-of-disk-space error. Always measure first, report recoverable GiB with evidence, and obtain explicit itemized approval before any mutation.","https:\u002F\u002Fgithub.com\u002Fbuidangminh23\u002Fdesign-pro-max\u002Fblob\u002Fmain\u002Fskills\u002Fapple\u002F.vendor\u002Fxcode-disk-cleanup\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fbuidangminh23\u002Fdesign-pro-max\u002Fblob\u002Fmain\u002Fskills\u002Fapple\u002F.vendor\u002Fxcode-disk-cleanup\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":93,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":20},"01M7E9T5BN7V6BZE4QKVCCJXKK","xcode-project-analyzer","Audit Xcode project configuration, build settings, scheme behavior, and script phases to find build-time improvements with explicit approval gates. Use when a developer wants project-level build analysis, slow incremental builds, guidance on target dependencies, build settings review, run script phase analysis, parallelization improvements, or module-map and DEFINES_MODULE configuration.","https:\u002F\u002Fgithub.com\u002Fbuidangminh23\u002Fdesign-pro-max\u002Fblob\u002Fmain\u002Fskills\u002Fapple\u002F.vendor\u002Fxcode-build\u002Fxcode-project-analyzer\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fbuidangminh23\u002Fdesign-pro-max\u002Fblob\u002Fmain\u002Fskills\u002Fapple\u002F.vendor\u002Fxcode-build\u002Fxcode-project-analyzer\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":101,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":20},"01M7E9T17K73CZFF5ZJ3B8VT79","xcode-compilation-analyzer","Analyze Swift and mixed-language compile hotspots using build timing summaries and Swift frontend diagnostics, then produce a recommend-first source-level optimization plan. Use when a developer reports slow compilation, type-checking warnings, expensive clean-build compile phases, long CompileSwiftSources tasks, warn-long-function-bodies output, or wants to speed up Swift type checking.","https:\u002F\u002Fgithub.com\u002Fbuidangminh23\u002Fdesign-pro-max\u002Fblob\u002Fmain\u002Fskills\u002Fapple\u002F.vendor\u002Fxcode-build\u002Fxcode-compilation-analyzer\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fbuidangminh23\u002Fdesign-pro-max\u002Fblob\u002Fmain\u002Fskills\u002Fapple\u002F.vendor\u002Fxcode-build\u002Fxcode-compilation-analyzer\u002FSKILL.md",[],[]]