AI-generated Key Takeaways
-
The
PATCHmethod is used to update an existing site. -
The request requires a
profileIdin the path and a siteidas a query parameter. -
The request and response bodies both contain an instance of a Site.
-
Authorization 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 site. This method supports patch semantics.
HTTP request
PATCH https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{profileId}/sites
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
profileId |
User profile ID associated with this request. |
Query parameters
| Parameters | |
|---|---|
id |
Required. Site ID. |
Request body
The request body contains an instance of Site.
Response body
If successful, the response body contains an instance of Site.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/dfatrafficking