Method: sites.patch

  • Updates an existing site using patch semantics and requires a Site object in the request body.

  • The request needs dfatrafficking authorization scope and uses the HTTP PATCH method.

  • Site ID is a required query parameter and Profile ID is a required path parameter.

  • Successful responses will contain the updated Site object in the response body.

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