## Add New Game to List of Games in Campaign

This endpoint allows you to add a new game to a campaign.

A game cannot be added if any of the following conditions are met:

* the campaign is ended or disabled
* the game has already been added to the campaign


**API Call Sample:**

**Request Schema:**

```json
{
  "$ref": "#/components/schemas/UpdateGameRequest",
  "components": {
    "schemas": {
      "UpdateGameRequest": {
        "type": "object",
        "properties": {
          "gameId": {
            "type": "string",
            "description": "Game ID.",
            "example": "rp_140",
            "minLength": 1
          }
        },
        "required": [
          "gameId"
        ]
      }
    }
  }
}
```

**Response Schema:**

```json
{
  "$ref": "#/components/schemas/GameDto",
  "components": {
    "schemas": {
      "GameDto": {
        "type": "object",
        "properties": {
          "gameId": {
            "type": "string",
            "deprecated": true,
            "description": "Unique identifier of the game in RubyPlay's system",
            "example": "rp_140"
          }
        }
      }
    }
  }
}
```