# campaign-global-code

## abtasty-cli web-experimentation campaign-global-code push

#### NAME

`abtasty-cli web-experimentation campaign-global-code push` - Push campaign global code

#### SYNOPSIS

`abtasty-cli web-experimentation campaign-global-code push [-i CAMPAIGN_ID> | --id CAMPAIGN_ID] [-c CODE | --code=CODE][--file FILE]`

#### DESCRIPTION

Push campaign global code

#### EXAMPLES

```shell
abtasty-cli web-experimentation campaign-global-code push -i CAMPAIGN_ID --code CODE
```

#### REQUIRED FLAGS

`--id = _CAMPAIGN_ID_`

The ID of the campaign

#### FLAGS

`--code = _CODE_`

The new code to push into the campaign

`--file = _FILE_`

The file that contains new code to push in the campaign

{\`

***

\`}

## abtasty-cli web-experimentation campaign-global-code get

#### NAME

`abtasty-cli web-experimentation campaign-global-code get` - Get campaign global code

#### SYNOPSIS

`abtasty-cli web-experimentation campaign-global-code get [--output-format = OUTPUT_FORMAT [table|json|json-pretty]]`

#### DESCRIPTION

Get campaign global code

#### EXAMPLES

```shell
abtasty-cli web-experimentation campaign-global-code get --id CAMPAIGN_ID
```

#### REQUIRED FLAGS

`--id = _CAMPAIGN_ID_`

The ID of the campaign 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.

`--create-file = _CREATE_FILE_`

Create a file that contains the campaign global code extracted

`--override = _OVERRIDE_`

Override existing campaign global code file

`--create-subfiles = _CREATE_SUBFILE_`

Create a file that contains the campaign, variation global code and modification code(Element JS) extracted


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.abtasty.com/server-side/command-line-interface/ab-tasty-cli-reference-v1xx/web-experimentation/web-experimentation-campaign-global-code.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
