Method: campaigns.update

  • This page provides details on how to update an existing campaign using a PUT HTTP request.

  • The request requires a path parameter for the user's profile ID and a request body containing the updated campaign information.

  • A successful request will return a response body containing the updated campaign instance.

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

Updates an existing campaign.

HTTP request

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

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