Method: accounts.platforms.childAccounts.sites.patch

  • This endpoint is used to update a specific Platform Child Site resource.

  • The PATCH HTTP method is used, and the request URL includes a required path parameter to identify the resource to be updated.

  • Updating the resource is done through the updateMask query parameter.

  • The request body should be an instance of PlatformChildSite, and if the update is successful, the response body will also be an instance of PlatformChildSite.

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

Update a Platform Child Site.

HTTP request

PATCH https://adsenseplatform.googleapis.com/v1alpha/{platformChildSite.name=accounts/*/platforms/*/childAccounts/*/sites/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
platformChildSite.name

string

Identifier. Format: accounts/{account}/platforms/{platform}/childAccounts/{child_account}/sites/{platformChildSite}

Query parameters

Parameters
updateMask

string (FieldMask format)

Optional. The list of fields to update - currently only supports updating the platformGroup field.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of PlatformChildSite.

Response body

If successful, the response body contains an instance of PlatformChildSite.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/adsense