Method: campaigns.patch

  • This webpage describes how to update an existing campaign using a PATCH HTTP request.

  • The request requires both path and query parameters, specifically the user profile ID and the campaign ID respectively.

  • The request and successful response bodies both contain an instance of a Campaign object.

  • Authorization for this method requires the https://www.googleapis.com/auth/dfatrafficking OAuth scope.

Updates an existing campaign. This method supports patch semantics.

HTTP request

PATCH https://dfareporting.googleapis.com/dfareporting/v5/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
Design a Mobile Site
View Site in Mobile | Classic
Share by: