Agent commands

asc product-pages commands: custom product pages with their versions, localizations, screenshots, previews, keywords and Asset Library placements, and product page optimization experiments.

asc product-pages manages two things on an app’s App Store page: custom product pages (extra versions of the page, each with its own screenshots, previews, promotional text, keywords and deep link, shown to people who arrive from a specific link or search) and product page optimization experiments (tests of different icons, screenshots and previews against the default page). Picking an Apple team, output, pagination, --confirm and exit codes work as described on the asc page; the flag tables below leave out --output, --pretty, --limit, --next, --paginate and the --…-fields flags, which are explained there. Version IDs come from asc versions list (see asc versions).

Terminal window
asc product-pages custom-pages create --app "APP_ID" --name "Summer Campaign"
asc product-pages experiments create --version-id "VERSION_ID" --name "Icon Test" --traffic-proportion 25

custom-pages

Custom product pages. Each page has versions; each version has one localization per locale, which holds the promotional text, search keywords, screenshot and preview sets and Asset Library placements.

custom-pages list

Lists an app’s custom product pages.

Flag What it does Default
--app App Store Connect app ID (or ASC_APP_ID). —
--visible Filter by visibility (true/false), comma-separated. —
--include Include related resources: app, appCustomProductPageVersions. —
--versions-limit Maximum included versions (1–50). —
Terminal window
asc product-pages custom-pages list --app "APP_ID" --include app,appCustomProductPageVersions --versions-limit 10

custom-pages view

Shows one custom product page.

Flag What it does Default
--custom-page-id Custom product page ID. Required. —
Terminal window
asc product-pages custom-pages view --custom-page-id "PAGE_ID"

custom-pages create

Creates a custom product page, together with a first version and a localization in the app’s primary locale. To start from a template, pass --from-version (an App Store version) or --from-custom-page (another custom page; Apple accepts only a page with an approved version).

Flag What it does Default
--app App Store Connect app ID (or ASC_APP_ID). Required. —
--name Page name. Required. —
--from-version App Store version ID to use as the template. —
--from-custom-page Custom product page ID to use as the template. —
Terminal window
asc product-pages custom-pages create --app "APP_ID" --name "Summer Campaign" --from-version "VERSION_ID"

custom-pages update

Renames a custom product page or changes whether it’s visible.

Flag What it does Default
--custom-page-id Custom product page ID. Required. —
--name New page name. —
--visible true or false. —
Terminal window
asc product-pages custom-pages update --custom-page-id "PAGE_ID" --visible true

custom-pages delete

Deletes a custom product page.

Flag What it does Default
--custom-page-id Custom product page ID. Required. —
--confirm Confirm the deletion. Required. false
Terminal window
asc product-pages custom-pages delete --custom-page-id "PAGE_ID" --confirm

custom-pages versions list

Lists the versions of a custom product page.

Flag What it does Default
--custom-page-id Custom product page ID. Required. —
Terminal window
asc product-pages custom-pages versions list --custom-page-id "PAGE_ID"

custom-pages versions view

Shows one custom product page version.

Flag What it does Default
--custom-page-version-id Custom product page version ID. Required. —
Terminal window
asc product-pages custom-pages versions view --custom-page-version-id "VERSION_ID"

custom-pages versions create

Creates a new version of a custom product page.

Flag What it does Default
--custom-page-id Custom product page ID. Required. —
--deep-link Deep link URL. —
Terminal window
asc product-pages custom-pages versions create --custom-page-id "PAGE_ID" --deep-link "https://example.com"

custom-pages versions update

Changes a version’s deep link.

Flag What it does Default
--custom-page-version-id Custom product page version ID. Required. —
--deep-link Deep link URL. Required. —
Terminal window
asc product-pages custom-pages versions update --custom-page-version-id "VERSION_ID" --deep-link "https://example.com"

custom-pages localizations list

Lists the localizations of a custom product page version.

Flag What it does Default
--custom-page-version-id Custom product page version ID. Required. —
--include Include related resources, comma-separated: appCustomProductPageVersion, appScreenshotSets, appPreviewSets, searchKeywords, placements. —
--placements-limit Maximum included placements (1–50); needs --include placements. —
Terminal window
asc product-pages custom-pages localizations list --custom-page-version-id "VERSION_ID" --include placements --placements-limit 50

custom-pages localizations view

Shows one custom product page localization.

Flag What it does Default
--localization-id Custom product page localization ID. Required. —
--include Include related resources, comma-separated: appCustomProductPageVersion, appScreenshotSets, appPreviewSets, searchKeywords, placements. —
--placements-limit Maximum included placements (1–50); needs --include placements. —
Terminal window
asc product-pages custom-pages localizations view --localization-id "LOCALIZATION_ID"

custom-pages localizations create

Adds a locale to a custom product page version.

Flag What it does Default
--custom-page-version-id Custom product page version ID. Required. —
--locale Locale, e.g. en-US. Required. —
--promotional-text Promotional text. —
Terminal window
asc product-pages custom-pages localizations create --custom-page-version-id "VERSION_ID" --locale "en-US" --promotional-text "Promo copy"

custom-pages localizations update

Changes a localization’s promotional text.

Flag What it does Default
--localization-id Custom product page localization ID. Required. —
--promotional-text New promotional text. —
Terminal window
asc product-pages custom-pages localizations update --localization-id "LOCALIZATION_ID" --promotional-text "Updated copy"

custom-pages localizations delete

Deletes a custom product page localization.

Flag What it does Default
--localization-id Custom product page localization ID. Required. —
--confirm Confirm the deletion. Required. false
Terminal window
asc product-pages custom-pages localizations delete --localization-id "LOCALIZATION_ID" --confirm

custom-pages localizations search-keywords list

Lists the search keywords of a custom product page localization.

Flag What it does Default
--localization-id Custom product page localization ID. Required. —
Terminal window
asc product-pages custom-pages localizations search-keywords list --localization-id "LOCALIZATION_ID"

custom-pages localizations search-keywords add

Adds search keywords to a custom product page localization.

Flag What it does Default
--localization-id Custom product page localization ID. Required. —
--keywords Keywords, comma-separated. Required. —
Terminal window
asc product-pages custom-pages localizations search-keywords add --localization-id "LOCALIZATION_ID" --keywords "kw1,kw2"

custom-pages localizations search-keywords delete

Removes search keywords from a custom product page localization.

Flag What it does Default
--localization-id Custom product page localization ID. Required. —
--keywords Keywords, comma-separated. Required. —
--confirm Confirm the deletion. Required. false
Terminal window
asc product-pages custom-pages localizations search-keywords delete --localization-id "LOCALIZATION_ID" --keywords "kw1,kw2" --confirm

custom-pages localizations screenshot-sets list

Lists the screenshot sets of a custom product page localization.

Flag What it does Default
--localization-id The custom product page localization ID. Required. —
--include-screenshots Include screenshot IDs and metadata for each set (needs --paginate). false
Terminal window
asc product-pages custom-pages localizations screenshot-sets list --localization-id "LOCALIZATION_ID" --include-screenshots --paginate

custom-pages localizations screenshot-sets upload

Uploads screenshots from a file or folder to a custom product page localization.

Flag What it does Default
--localization-id The custom product page localization ID. Required. —
--path Screenshot file or folder. Required. —
--device-type Device type, e.g. IPHONE_65. Required. —
Terminal window
asc product-pages custom-pages localizations screenshot-sets upload --localization-id "LOCALIZATION_ID" --path "./screenshots" --device-type "IPHONE_65"

custom-pages localizations screenshot-sets sync

Replaces the screenshots in the set for that display type with the files from --path: existing screenshots in the set are deleted before the upload.

Flag What it does Default
--localization-id The custom product page localization ID. Required. —
--path Screenshot file or folder. Required. —
--device-type Device type, e.g. IPHONE_65. Required. —
--confirm Confirm the sync. Required. false
Terminal window
asc product-pages custom-pages localizations screenshot-sets sync --localization-id "LOCALIZATION_ID" --path "./screenshots" --device-type "IPHONE_65" --confirm

custom-pages localizations preview-sets list

Lists the app preview sets of a custom product page localization.

Flag What it does Default
--localization-id The custom product page localization ID. Required. —
Terminal window
asc product-pages custom-pages localizations preview-sets list --localization-id "LOCALIZATION_ID"

custom-pages localizations preview-sets upload

Uploads app previews from a file or folder to a custom product page localization.

Flag What it does Default
--localization-id The custom product page localization ID. Required. —
--path Preview file or folder. Required. —
--device-type Device type, e.g. IPHONE_65. Required. —
Terminal window
asc product-pages custom-pages localizations preview-sets upload --localization-id "LOCALIZATION_ID" --path "./previews" --device-type "IPHONE_65"

custom-pages localizations preview-sets sync

Replaces the previews in the set for that preview type with the files from --path: existing previews in the set are deleted before the upload.

Flag What it does Default
--localization-id The custom product page localization ID. Required. —
--path Preview file or folder. Required. —
--device-type Device type, e.g. IPHONE_65. Required. —
--confirm Confirm the sync. Required. false
Terminal window
asc product-pages custom-pages localizations preview-sets sync --localization-id "LOCALIZATION_ID" --path "./previews" --device-type "IPHONE_65" --confirm

Asset Library placements put images and videos from the app’s Asset Library (see asc asset-library) on a custom product page localization. Wherever a flag takes an ID, an API self-link works as well. None of these commands submits anything for review or publishes it.

custom-pages localizations placements list

Lists the asset placements of a custom product page localization. Empty data means no matching asset is placed. JSON keeps Apple’s full response, including included media. Filter and sort flags can’t be combined with --next.

Flag What it does Default
--localization-id The custom product page localization ID. —
--placement-type Filter by placement types, comma-separated: PRODUCT_PAGE_HEADER_ASSET, APP_STORE_SEARCH_RESULTS_ASSET, APP_SCREENSHOT, APP_PREVIEW, IMESSAGE_APP_SCREENSHOT, EVENT_CARD_ASSET, EVENT_DETAILS_PAGE_ASSET, SEARCH_RESULTS_ADS_ASSET, TODAY_TAB_ADS_ASSET. —
--placement-group Filter by placement group IDs, comma-separated. —
--placement-id Filter by placement IDs, comma-separated. —
--state Filter by placement states, comma-separated (Apple checks the values). —
--image-id Filter by library image IDs, comma-separated. —
--video-id Filter by library video IDs, comma-separated. —
--version-localization Filter by version localization IDs, comma-separated. —
--treatment-localization Filter by experiment treatment localization IDs, comma-separated. —
--event-localization Filter by in-app event localization IDs, comma-separated. —
--include Include related resources, comma-separated: image, video, appEventLocalization, appStoreVersionLocalization, appCustomProductPageLocalization, appStoreVersionExperimentTreatmentLocalization, retentionMessageVersion. —
--sort createdDate, lastModifiedDate or placementGroupPosition; prefix - for descending. —
Terminal window
asc product-pages custom-pages localizations placements list --localization-id ID --state FAILED --sort -lastModifiedDate

custom-pages localizations placements view

Reads one asset placement. The command doesn’t check that the placement belongs to this kind of localization; the ID decides.

Flag What it does Default
--id Placement ID. Required. —
--include Include related resources, comma-separated: image, video, appEventLocalization, appStoreVersionLocalization, appCustomProductPageLocalization, appStoreVersionExperimentTreatmentLocalization, retentionMessageVersion. —
Terminal window
asc product-pages custom-pages localizations placements view --id PLACEMENT_ID --include image,video

custom-pages localizations placements create

Places an existing Asset Library image or video on a custom product page localization. Give exactly one of --image-id or --video-id. Screenshots need images and previews need videos, with a device placement group such as IPHONE_DUO_PROFILE; header, search and event creative assets use DEFAULT_PROFILE. Apple checks that the media fits and a slot is free. No existing placement is removed.

Flag What it does Default
--localization-id The custom product page localization ID. Required. —
--image-id Asset Library image ID. —
--video-id Asset Library video ID. —
--placement-type PRODUCT_PAGE_HEADER_ASSET, APP_STORE_SEARCH_RESULTS_ASSET, APP_SCREENSHOT, APP_PREVIEW. Required. —
--placement-group Device placement group for screenshots and previews. DEFAULT_PROFILE for creative assets
Terminal window
asc product-pages custom-pages localizations placements create --localization-id ID --image-id IMAGE_ID --placement-type PRODUCT_PAGE_HEADER_ASSET

custom-pages localizations placements reorder

Sets the order of existing placements within one placement group. Give each placement ID once, in the order you want. Apple checks that they belong to the localization and group and that it can still be edited. Nothing is deleted.

Flag What it does Default
--localization-id The custom product page localization ID. Required. —
--placement-group The placement group to order. Required. —
--placement-ids Placement IDs in the new order, comma-separated. Required. —
Terminal window
asc product-pages custom-pages localizations placements reorder --localization-id ID --placement-group IPHONE_DUO_PROFILE --placement-ids FIRST_ID,SECOND_ID

custom-pages localizations placements swap

Replaces an existing placement with another Asset Library image or video in one request. Give exactly one of --image-id or --video-id, of the same media type as the placement it replaces (screenshots take images, previews take videos). The new placement keeps the old one’s placement group. If the request fails, nothing is removed.

Flag What it does Default
--localization-id The custom product page localization ID. Required. —
--placement-id The placement to replace. Required. —
--image-id Asset Library image ID. —
--video-id Asset Library video ID. —
--placement-type PRODUCT_PAGE_HEADER_ASSET, APP_STORE_SEARCH_RESULTS_ASSET, APP_SCREENSHOT, APP_PREVIEW. Required. —
--confirm Confirm the replacement. Required. false
Terminal window
asc product-pages custom-pages localizations placements swap --localization-id ID --image-id IMAGE_ID --placement-type PRODUCT_PAGE_HEADER_ASSET --placement-id OLD_PLACEMENT_ID --confirm

custom-pages localizations placements delete

Removes placements; the media stays in the Asset Library for reuse. Give exactly one of --id or --placement-ids. Several IDs are removed one at a time and not as a unit: on the first error the command stops, prints the IDs it removed and the one that failed, and exits with an error; earlier removals stay. The command doesn’t check which localization or type a placement belongs to, so list placements before retrying after an unclear failure.

Flag What it does Default
--id One placement ID. —
--placement-ids Several placement IDs, comma-separated. —
--confirm Confirm the removal. Required. false
Terminal window
asc product-pages custom-pages localizations placements delete --placement-ids FIRST_ID,SECOND_ID --confirm

experiments

Product page optimization experiments. An experiment splits a share of App Store traffic between the default product page and its treatments; each treatment has localizations with their own screenshots, previews and placements, and can use a different app icon.

There are two kinds. Without --v2, an experiment belongs to an App Store version (--version-id). With --v2, it belongs to the app and a platform (--app, --platform). Pass --v2 on every later command for a v2 experiment and its treatments.

experiments list

Lists the experiments of an App Store version, or with --v2 of an app.

Flag What it does Default
--version-id App Store version ID (v1). —
--app App Store Connect app ID (v2). —
--v2 Use v2 experiments. false
--state Filter by states, comma-separated. —
Terminal window
asc product-pages experiments list --version-id "VERSION_ID" --state IN_REVIEW

experiments view

Shows one experiment.

Flag What it does Default
--experiment-id Experiment ID. Required. —
--v2 Use v2 experiments. false
Terminal window
asc product-pages experiments view --experiment-id "EXPERIMENT_ID" --v2

experiments create

Creates an experiment, for an App Store version (--version-id) or with --v2 for an app and platform.

Flag What it does Default
--name Experiment name. Required. —
--traffic-proportion Share of traffic in the experiment, a whole number. Required. —
--version-id App Store version ID (v1). —
--v2 Use v2 experiments. false
--app App Store Connect app ID (v2). —
--platform IOS, MAC_OS, TV_OS, VISION_OS (v2). —
Terminal window
asc product-pages experiments create --v2 --app "APP_ID" --platform IOS --name "Icon Test" --traffic-proportion 25

experiments update

Renames an experiment, changes its traffic proportion, or starts or stops it.

Flag What it does Default
--experiment-id Experiment ID. Required. —
--name New name. —
--traffic-proportion New traffic proportion, a whole number. —
--started true starts the experiment, false stops it. —
--v2 Use v2 experiments. false
Terminal window
asc product-pages experiments update --experiment-id "EXPERIMENT_ID" --started true

experiments delete

Deletes an experiment.

Flag What it does Default
--experiment-id Experiment ID. Required. —
--confirm Confirm the deletion. Required. false
--v2 Use v2 experiments. false
Terminal window
asc product-pages experiments delete --experiment-id "EXPERIMENT_ID" --confirm

experiments treatments list

Lists the treatments of an experiment.

Flag What it does Default
--experiment-id Experiment ID. Required. —
--v2 Use v2 experiments. false
Terminal window
asc product-pages experiments treatments list --experiment-id "EXPERIMENT_ID"

experiments treatments view

Shows one treatment.

Flag What it does Default
--treatment-id Treatment ID. Required. —
Terminal window
asc product-pages experiments treatments view --treatment-id "TREATMENT_ID"

experiments treatments create

Adds a treatment to an experiment. Pass --v2 when the experiment was created with --v2.

Flag What it does Default
--experiment-id Experiment ID. Required. —
--name Treatment name. Required. —
--app-icon-name Name of the alternate app icon asset the treatment shows. —
--v2 The experiment is a v2 experiment. false
Terminal window
asc product-pages experiments treatments create --experiment-id "EXPERIMENT_ID" --name "Variant A" --app-icon-name "Icon A"

experiments treatments update

Renames a treatment or changes its app icon.

Flag What it does Default
--treatment-id Treatment ID. Required. —
--name New name. —
--app-icon-name New app icon asset name. —
Terminal window
asc product-pages experiments treatments update --treatment-id "TREATMENT_ID" --app-icon-name "Icon B"

experiments treatments delete

Deletes a treatment.

Flag What it does Default
--treatment-id Treatment ID. Required. —
--confirm Confirm the deletion. Required. false
Terminal window
asc product-pages experiments treatments delete --treatment-id "TREATMENT_ID" --confirm

experiments treatments localizations list

Lists the localizations of a treatment.

Flag What it does Default
--treatment-id Treatment ID. Required. —
--include Include related resources, comma-separated: appStoreVersionExperimentTreatment, appScreenshotSets, appPreviewSets, placements. —
--placements-limit Maximum included placements (1–50); needs --include placements. —
Terminal window
asc product-pages experiments treatments localizations list --treatment-id "TREATMENT_ID" --include placements --placements-limit 50

experiments treatments localizations view

Shows one treatment localization.

Flag What it does Default
--localization-id Treatment localization ID. Required. —
--include Include related resources, comma-separated: appStoreVersionExperimentTreatment, appScreenshotSets, appPreviewSets, placements. —
--placements-limit Maximum included placements (1–50); needs --include placements. —
Terminal window
asc product-pages experiments treatments localizations view --localization-id "LOCALIZATION_ID"

experiments treatments localizations create

Adds a locale to a treatment.

Flag What it does Default
--treatment-id Treatment ID. Required. —
--locale Locale, e.g. en-US. Required. —
Terminal window
asc product-pages experiments treatments localizations create --treatment-id "TREATMENT_ID" --locale "en-US"

experiments treatments localizations delete

Deletes a treatment localization.

Flag What it does Default
--localization-id Treatment localization ID. Required. —
--confirm Confirm the deletion. Required. false
Terminal window
asc product-pages experiments treatments localizations delete --localization-id "LOCALIZATION_ID" --confirm

experiments treatments localizations screenshot-sets list

Lists the screenshot sets of a treatment localization.

Flag What it does Default
--localization-id The treatment localization ID. Required. —
--include-screenshots Include screenshot IDs and metadata for each set (needs --paginate). false
Terminal window
asc product-pages experiments treatments localizations screenshot-sets list --localization-id "LOCALIZATION_ID" --include-screenshots --paginate

experiments treatments localizations screenshot-sets upload

Uploads screenshots from a file or folder to a treatment localization.

Flag What it does Default
--localization-id The treatment localization ID. Required. —
--path Screenshot file or folder. Required. —
--device-type Device type, e.g. IPHONE_65. Required. —
Terminal window
asc product-pages experiments treatments localizations screenshot-sets upload --localization-id "LOCALIZATION_ID" --path "./screenshots" --device-type "IPHONE_65"

experiments treatments localizations screenshot-sets sync

Replaces the screenshots in the set for that display type with the files from --path: existing screenshots in the set are deleted before the upload.

Flag What it does Default
--localization-id The treatment localization ID. Required. —
--path Screenshot file or folder. Required. —
--device-type Device type, e.g. IPHONE_65. Required. —
--confirm Confirm the sync. Required. false
Terminal window
asc product-pages experiments treatments localizations screenshot-sets sync --localization-id "LOCALIZATION_ID" --path "./screenshots" --device-type "IPHONE_65" --confirm

experiments treatments localizations preview-sets list

Lists the app preview sets of a treatment localization.

Flag What it does Default
--localization-id The treatment localization ID. Required. —
Terminal window
asc product-pages experiments treatments localizations preview-sets list --localization-id "LOCALIZATION_ID"

experiments treatments localizations preview-sets upload

Uploads app previews from a file or folder to a treatment localization.

Flag What it does Default
--localization-id The treatment localization ID. Required. —
--path Preview file or folder. Required. —
--device-type Device type, e.g. IPHONE_65. Required. —
Terminal window
asc product-pages experiments treatments localizations preview-sets upload --localization-id "LOCALIZATION_ID" --path "./previews" --device-type "IPHONE_65"

Asset Library placements put images and videos from the app’s Asset Library (see asc asset-library) on a treatment localization. Wherever a flag takes an ID, an API self-link works as well. None of these commands submits anything for review or publishes it.

experiments treatments localizations placements list

Lists the asset placements of a treatment localization. Empty data means no matching asset is placed. JSON keeps Apple’s full response, including included media. Filter and sort flags can’t be combined with --next.

Flag What it does Default
--localization-id The treatment localization ID. —
--placement-type Filter by placement types, comma-separated: PRODUCT_PAGE_HEADER_ASSET, APP_STORE_SEARCH_RESULTS_ASSET, APP_SCREENSHOT, APP_PREVIEW, IMESSAGE_APP_SCREENSHOT, EVENT_CARD_ASSET, EVENT_DETAILS_PAGE_ASSET, SEARCH_RESULTS_ADS_ASSET, TODAY_TAB_ADS_ASSET. —
--placement-group Filter by placement group IDs, comma-separated. —
--placement-id Filter by placement IDs, comma-separated. —
--state Filter by placement states, comma-separated (Apple checks the values). —
--image-id Filter by library image IDs, comma-separated. —
--video-id Filter by library video IDs, comma-separated. —
--version-localization Filter by version localization IDs, comma-separated. —
--custom-page-localization Filter by custom product page localization IDs, comma-separated. —
--event-localization Filter by in-app event localization IDs, comma-separated. —
--include Include related resources, comma-separated: image, video, appEventLocalization, appStoreVersionLocalization, appCustomProductPageLocalization, appStoreVersionExperimentTreatmentLocalization, retentionMessageVersion. —
--sort createdDate, lastModifiedDate or placementGroupPosition; prefix - for descending. —
Terminal window
asc product-pages experiments treatments localizations placements list --localization-id ID --state FAILED --sort -lastModifiedDate

experiments treatments localizations placements view

Reads one asset placement. The command doesn’t check that the placement belongs to this kind of localization; the ID decides.

Flag What it does Default
--id Placement ID. Required. —
--include Include related resources, comma-separated: image, video, appEventLocalization, appStoreVersionLocalization, appCustomProductPageLocalization, appStoreVersionExperimentTreatmentLocalization, retentionMessageVersion. —
Terminal window
asc product-pages experiments treatments localizations placements view --id PLACEMENT_ID --include image,video

experiments treatments localizations placements create

Places an existing Asset Library image or video on a treatment localization. Give exactly one of --image-id or --video-id. Screenshots need images and previews need videos, with a device placement group such as IPHONE_DUO_PROFILE; header, search and event creative assets use DEFAULT_PROFILE. Apple checks that the media fits and a slot is free. No existing placement is removed.

Flag What it does Default
--localization-id The treatment localization ID. Required. —
--image-id Asset Library image ID. —
--video-id Asset Library video ID. —
--placement-type PRODUCT_PAGE_HEADER_ASSET, APP_STORE_SEARCH_RESULTS_ASSET, APP_SCREENSHOT, APP_PREVIEW. Required. —
--placement-group Device placement group for screenshots and previews. DEFAULT_PROFILE for creative assets
Terminal window
asc product-pages experiments treatments localizations placements create --localization-id ID --image-id IMAGE_ID --placement-type PRODUCT_PAGE_HEADER_ASSET

experiments treatments localizations placements reorder

Sets the order of existing placements within one placement group. Give each placement ID once, in the order you want. Apple checks that they belong to the localization and group and that it can still be edited. Nothing is deleted.

Flag What it does Default
--localization-id The treatment localization ID. Required. —
--placement-group The placement group to order. Required. —
--placement-ids Placement IDs in the new order, comma-separated. Required. —
Terminal window
asc product-pages experiments treatments localizations placements reorder --localization-id ID --placement-group IPHONE_DUO_PROFILE --placement-ids FIRST_ID,SECOND_ID

experiments treatments localizations placements swap

Replaces an existing placement with another Asset Library image or video in one request. Give exactly one of --image-id or --video-id, of the same media type as the placement it replaces (screenshots take images, previews take videos). The new placement keeps the old one’s placement group. If the request fails, nothing is removed.

Flag What it does Default
--localization-id The treatment localization ID. Required. —
--placement-id The placement to replace. Required. —
--image-id Asset Library image ID. —
--video-id Asset Library video ID. —
--placement-type PRODUCT_PAGE_HEADER_ASSET, APP_STORE_SEARCH_RESULTS_ASSET, APP_SCREENSHOT, APP_PREVIEW. Required. —
--confirm Confirm the replacement. Required. false
Terminal window
asc product-pages experiments treatments localizations placements swap --localization-id ID --image-id IMAGE_ID --placement-type PRODUCT_PAGE_HEADER_ASSET --placement-id OLD_PLACEMENT_ID --confirm

experiments treatments localizations placements delete

Removes placements; the media stays in the Asset Library for reuse. Give exactly one of --id or --placement-ids. Several IDs are removed one at a time and not as a unit: on the first error the command stops, prints the IDs it removed and the one that failed, and exits with an error; earlier removals stay. The command doesn’t check which localization or type a placement belongs to, so list placements before retrying after an unclear failure.

Flag What it does Default
--id One placement ID. —
--placement-ids Several placement IDs, comma-separated. —
--confirm Confirm the removal. Required. false
Terminal window
asc product-pages experiments treatments localizations placements delete --placement-ids FIRST_ID,SECOND_ID --confirm