# Campaign

Learn about the type that represents a marketing campaign.

A campaign identifies the marketing effort that drove the user to the application, based on [UTM parameters](https://en.wikipedia.org/wiki/UTM_parameters) widely used in digital marketing for tracking and analytics purposes.

## Properties

These are the available properties:

- `name`: `string` (optional)

  A unique identifier for the campaign. It is usually a short string, such as "summer-sale" or "new-product-launch".

- `source`: `string` (optional)

  The advertiser, site, or publication generating the traffic. For example, "google", "facebook", or "newsletter".

- `medium`: `string` (optional)

  The advertising or marketing channel used to reach the user. For example, "email", "video", or "social".

- `content`: `string` (optional)

  An identification of the specific ad or content the user interacted with. For example, "main-banner" or "newsletter-cta".

- `term`: `string` (optional)

  The keyword or term that triggered the ad. For example, "running shoes" or "tennis racket".

## Payload examples

Below is a payload example for this type:

**Payload**

```json
{
  "name": "winter-sale",
  "source": "google",
  "medium": "search",
  "content": "shoes",
  "term": "black shoes"
}
```

## Explore

- [Analytics](/reference/analytics): Learn how to analyze your dashboards.
- [CQL](/explanation/audience/examples/marketing-campaign): Learn how to create audiences based on the marketing campaign.
