AI-generated Key Takeaways
-
The API allows for updating a
Site
object using aPATCH
HTTP request to the specified resource name. -
The
site.name
path parameter is a required string identifier formatted asnetworks/{networkCode}/sites/{site_id}
. -
The
updateMask
query parameter is required and specifies the fields to update using a comma-separated list in FieldMask format. -
The request and response bodies contain instances of the
Site
object. -
Authorization requires the
https://www.googleapis.com/auth/admanager
OAuth scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
API to update a Site
object.
HTTP request
PATCH https://admanager.googleapis.com/v1/{site.name}
Path parameters
Parameters | |
---|---|
site.name |
Identifier. The resource name of the |
Query parameters
Parameters | |
---|---|
updateMask |
Required. The list of fields to update. This is a comma-separated list of fully qualified names of fields. Example: |
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/admanager
For more information, see the OAuth 2.0 Overview.