Method: accounts.campaigns.patch

Updates an existing campaign. The state of the campaign can only be changed using the state transition methods campaigns.activate and campaigns.pause.

HTTP request

PATCH https://ads.wazeapis.com/v1/{campaign.name=accounts/*/campaigns/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
campaign.name

string

The resource name of the campaign. Format: accounts/{account}/campaigns/{campaign}

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. The list of fields to update.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of Campaign.

Response body

If successful, the response body contains an instance of Campaign.