Repository navigation
feat: segments create/update and asa segments commands - #48
Merged
Merged
Conversation
mlnchk
approved these changes
Oct 12, 2026
mlnchk
requested changes
Oct 12, 2026
mlnchk
previously approved these changes
Oct 13, 2026
# Conflicts: # docs/agent/asa-management.md
mlnchk
approved these changes
Oct 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
adapty segments create|update— write Adapty segments through the Developer API with--filter field:OPERATOR:value[,value...];get/create/updatenow carryfilters,profile_count,refresh_in_progressand timestamps.adapty asa segments create|update|list— the Ads Manager "create segment" button as commands: resolves campaigns, ad groups or keywords from the ASA service, builds the attribution filter over their Apple ids and names the segment the way the dashboard does ([ASA] Campaign: <name>), so the dashboard recognises it.--keywordtakes one--ad-groupas the lookup scope;--appis required (the Adapty app the segment belongs to).Why
Segments built from Apple Search Ads campaigns could only be created in the dashboard. The Developer API now accepts
POST/PUT /apps/{app}/segments/; this is the CLI side.Notes
docs/agent/asa-management.md(new section + recipe), skill reference.pnpm check:agent-docspasses.