Method: campaigns.patch

  • The PATCH method is used to update an existing campaign.

  • The request URL uses gRPC Transcoding syntax.

  • The request requires a profileId in the path and a required id in the query parameters.

  • The request and response bodies contain an instance of Campaign.

  • The request requires the https://www.googleapis.com/auth/dfatrafficking OAuth scope for authorization.

Updates an existing campaign. This method supports patch semantics.

HTTP request

PATCH https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/campaigns

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
profileId

string (int64 format)

User profile ID associated with this request.

Query parameters

Parameters
id

string (int64 format)

Required. Campaign ID.

Request body

The request body contains an instance of Campaign.

Response body

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/dfatrafficking