flagship variation-group
Manage your variation groups
flagship variation-group create
NAME
flagship variation-group create
- Create a variation group
SYNOPSIS
flagship variation-group create [--campaign-id = CAMPAIGN_ID] [-d DATA_RAW | --data-raw = DATA_RAW ]
DESCRIPTION
Create a variation group in your campaign
EXAMPLES
flagship variation-group create --campaign-id CAMPAIGN_ID -d DATA_RAW
flagship vg create --campaign-id="<CAMPAIGN_ID>" --data-raw "{\"name\":\"VARIATION_GROUP_NAME\",\"variations\":[{\"name\":\"VARIATION_NAME\",\"allocation\":50,\"reference\":true,\"modifications\":{\"value\":{\"color\":\"blue\"}}},{\"name\":\"VARIATION_NAME1\",\"allocation\":50,\"reference\":false,\"modifications\":{\"value\":{\"color\":\"red\"}}}],\"targeting\":{\"targeting_groups\":[{\"targetings\":[{\"operator\":\"CONTAINS\",\"key\":\"TARGETING_KEY\",\"value\":\"TARGETING_KEY_VALUE\"}]}]}}"
REQUIRED FLAGS
--campaign-id = _CAMPAIGN_ID_
The id of the campaign where you want to create your variation group
--data-raw = _DATA_RAW_
The raw data contains all the info to create your variation group, check the Remote Control API documentation for more details.
Raw data format
Note that you should insert data without spaces, line breaks, tabulation etc...
flagship variation-group list
NAME
flagship variation-group list
- List all variation groups
SYNOPSIS
flagship variation-group list [--campaign-id = CAMPAIGN_ID] \[--output-format = OUTPUT_FORMAT [table|json|json-pretty]]
DESCRIPTION
List all variation groups in your campaign
EXAMPLES
flagship variation-group list --campaign-id CAMPAIGN_ID
REQUIRED FLAGS
--campaign-id = _CAMPAIGN_ID_
The id of the campaign where you want to list your variation groups
FLAGS
--output-format = _OUTPUT_FORMAT_
The output format for printing command output resources. The default is table. The supported formats are: json-pretty, table, json.
flagship variation-group get
NAME
flagship variation-group get
- Get a variation group
SYNOPSIS
flagship variation-group get [--campaign-id = CAMPAIGN_ID] [-i VARIATION_GROUP_ID | --id = VARIATION_GROUP_ID]
DESCRIPTION
Get a variation group in your campaign
EXAMPLES
flagship variation-group get --campaign-id CAMPAIGN_ID -i VARIATION_GROUP_ID
REQUIRED FLAGS
--campaign-id = _CAMPAIGN_ID_
The id of the campaign where you want to get your variation group
--id = _VARIATION_GROUP_ID_
The id of the variation group you want to display
FLAGS
--output-format _OUTPUT_FORMAT_
The output format for printing command output resources. The default is table. The supported formats are: json-pretty, table, json.
flagship variation-group edit
NAME
flagship variation-group edit
- Edit a variation group
SYNOPSIS
flagship variation-group edit [--campaign-id = CAMPAIGN_ID] [-i VARIATION_GROUP_ID | --id = VARIATION_GROUP_ID] [-d DATA_RAW | --data-raw = DATA_RAW]
DESCRIPTION
Edit a variation group in your campaign
EXAMPLES
flagship variation-group edit --campaign-id CAMPAIGN_ID -i VARIATION_GROUP_ID -d DATA_RAW
REQUIRED FLAGS
--campaign-id = _CAMPAIGN_ID_
The id of the campaign where you want to edit your variation group
--id = _VARIATION_GROUP_ID_
The id of the variation group you want to edit
--data-raw = _DATA_RAW_
The raw data contains all the info to edit your variation group, check the Remote Control API documentation for details
Raw data format
Note that you should insert data without spaces, line breaks, tabulation etc...
flagship variation-group delete
NAME
flagship variation-group delete
- Delete a variation group
SYNOPSIS
flagship variation-group delete [--campaign-id = CAMPAIGN_ID] [-i VARIATION_GROUP_ID | --id = VARIATION_GROUP_ID]
DESCRIPTION
Delete a variation group in your campaign
EXAMPLES
flagship variation-group delete --campaign-id CAMPAIGN_ID -i VARIATION_GROUP_ID
REQUIRED FLAGS
--campaign-id = _CAMPAIGN_ID_
The id of the campaign where you want to delete your variation group
--id = _VARIATION_GROUP_ID_
The id of the variation group you want to delete
Updated 3 months ago