Method: sites.patch

  • The method PATCH https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/sites is used to update an existing site with patch semantics.

  • The profileId is a required path parameter, and the id is a required query parameter for this request.

  • The request and response bodies contain an instance of Site.

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

Updates an existing site. This method supports patch semantics.

HTTP request

PATCH https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/sites

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
profileId

string (int64 format)

User profile ID associated with this request.

Query parameters

Parameters
id

string (int64 format)

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