---
title: "Update campaign"
method: PATCH
path: "/marketing/v3/campaigns/{campaignGuid}"
tags: ["Basic"]
---

# Update campaign

`PATCH /marketing/v3/campaigns/{campaignGuid}`

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/marketing/v3/campaigns/{campaignGuid}`
- Auth: OAuth 2
  - Authorization code: `https://app.hubspot.com/oauth/authorize`
  - Token URL: `https://api.hubapi.com/oauth/v1/token` scopes: `marketing.campaigns.write`

Perform a partial update of a campaign identified by the specified campaignGuid. Provided property values will be overwritten. Read-only and non-existent properties will cause 400 error.
If an empty string is passed for any property in the Batch Update, it will reset that property's value.

## Path parameters

- `campaignGuid` string, required

## Request body

- PublicCampaignInput
  - `properties` object, required: A collection of key-value pairs representing the properties of the campaign. Each key is a property name, and the corresponding value is the property's value.

## Response `200`

successful operation

- PublicCampaign
  - `businessUnits` PublicBusinessUnit[], required: An array of business units associated with the campaign, each represented by a PublicBusinessUnit object.
    - `id` integer, required: The unique identifier for the business unit, represented as an integer.
  - `createdAt` string, date-time, required: The date and time when the campaign was created, formatted as a date-time string.
  - `id` string, required: The unique identifier for the campaign.
  - `properties` object, required: A collection of key-value pairs representing additional properties of the campaign.
  - `updatedAt` string, date-time, required: The date and time when the campaign was last updated, formatted as a date-time string.

## Other responses

- `default`: An error occurred.

## Changes

> 749 revisions in range; 11 not diffed.

- **2026-08-17** (v3) `d72436413d14`: 1 info
  - endpoint added
- **2026-07-13** (v3) `b6daafa307a3`: 1 breaking
  - api path removed without deprecation
- **2026-07-13** (v3) `bbabb550b117`: 1 info
  - endpoint added
- **2026-07-13** (v3) `888934953fff`: 1 breaking
  - api path removed without deprecation
- **2026-05-22** (v3) `abb310dc80b9`: 2 info
  - the security scope `marketing.campaigns.write` was added to the endpoint's security scheme `oauth2`
  - the security scope `campaigns-write` was removed from the endpoint's security scheme `oauth2`

[Operation history](https://skmtc.dev/hubspot/apis/marketing-campaigns-public-api/changes/marketing/v3/campaigns/:campaignGuid/patch.md)

---

[API](https://skmtc.dev/hubspot/apis/marketing-campaigns-public-api.md) - [All operations](https://skmtc.dev/hubspot/apis/marketing-campaigns-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hubspot/apis/marketing-campaigns-public-api/revisions/f31b87ae2953?raw)
