Method: campaigns.update

  • An existing campaign can be updated using a PUT request to the specified URL.

  • The request requires a profileId as a path parameter.

  • The request body should contain an instance of a Campaign.

  • A successful response body will also contain an instance of a Campaign.

  • The update operation requires the https://www.googleapis.com/auth/dfatrafficking authorization scope.

Updates an existing campaign.

HTTP request

PUT 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.

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