Update campaigns overview

Learn when to use PUT or PATCH to update Onsite Display campaigns.

Overview

Use the Campaign Update APIs to modify existing Onsite Display campaigns.

Two update methods are supported:

Note: Campaign attribute update eligibility

Update eligibility of campaign attributes remains the same regardless of which method is used.

  • PUT replaces the full campaign object with the version included in the request
  • PATCH updates only specific attributes included in the request payload

Choosing the correct method helps prevent unintended configuration changes and reduces update complexity.

This guide explains:

  • When to use PUT versus PATCH
  • Campaign update rules and constraints
  • Configuration inheritance considerations
  • Batch update behavior
  • How campaign updates differ from status updates

Availability

Supported for Onsite Display only.


How campaign updates work

Campaign update requests are synchronous.

Updates are validated and applied immediately when the request is accepted.

Key update behaviors include:

  • Lifecycle state determines which fields remain editable
  • Budget, schedule, and delivery settings must remain configured at the same level after campaign creation

Choosing an update method


Campaign update rules

  • PUT overwrites all eligible existing campaign values
  • PATCH updates only specific eligible attributes
  • Budget, schedule, and delivery settings must remain configured at the same level
  • Some fields become immutable after scheduling or activation
  • Batch requests support up to 10 campaign objects
  • Batch requests require a consistent advertiserId

Common campaign updates

Campaign updates typically involve:

  • Campaign metadata
  • Budget updates
  • Scheduling updates
  • Delivery speed updates
  • Objective-related configuration changes
  • Operational campaign management

Not all fields remain editable throughout the campaign lifecycle.


Campaign updates vs campaign status updates

Campaign configuration updates and campaign lifecycle updates are separate workflows.

Campaign Updates

  • Modify configuration
  • Update budget settings
  • Update schedules
  • Update metadata
  • Use PUT or PATCH

Campaign Status Updates

  • Pause campaigns
  • Resume campaigns
  • Archive campaigns
  • Unarchive campaigns
  • Use Status APIs

Related pages




Did this page help you?