AI-generated Key Takeaways
-
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/dfatraffickingOAuth scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
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 |
User profile ID associated with this request. |
Query parameters
| Parameters | |
|---|---|
id |
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