Method: sites.patch

  • The PATCH method is used to update an existing site.

  • The request requires a profileId in the path and a site id as a query parameter.

  • The request and response bodies both contain an instance of a 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/v5/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
Design a Mobile Site
View Site in Mobile | Classic
Share by: