# SetGa4Property

> Choose the GA4 property a Google connection reports from. Admin access, integrations toolset, MCP tool set_ga4_property.

**Access:** [Admin](https://developer.missin.co.uk/get-started/authentication.md#access-levels)

## Variables

| Variable | Type | Required | Accepts | Description |
|---|---|---|---|---|
| `input` | `SetGa4PropertyInput!` | yes | Input object, below |  |

## Input types

### SetGa4PropertyInput

| Field | Type | Required | Accepts | Description |
|---|---|---|---|---|
| `connectionId` | `UUID!` | yes |  |  |
| `propertyId` | `String` | no |  | `properties/123456789`, or the bare numeric id. Null clears the pick. |

## Call it

```bash curl
curl https://api.missin.co.uk/graphql/v1 \
  -H "Authorization: Bearer $MISSIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"operationName":"SetGa4Property","variables":{"input":{"connectionId":"00000000-0000-0000-0000-000000000000"}},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"15366245431ad89555340439c9606809ed71eeab3455d09448dd93222790e16e"}}}'
```

## Document

```graphql
mutation SetGa4Property($input: SetGa4PropertyInput!) { __typename setGa4Property(input: $input) { __typename id userErrors { __typename code field message } } }
```

Source: https://developer.missin.co.uk/reference/integrations/set-ga4-property
