Method: sites.insert

  • A new site is inserted using an HTTP POST request to a specific URL with a user profile ID.

  • The request requires a profileId path parameter and a request body containing a Site instance.

  • A successful response returns a newly created Site instance in the response body.

  • The request must be authorized with the https://www.googleapis.com/auth/dfatrafficking OAuth scope.

Inserts a new site.

HTTP request

POST 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.

Request body

The request body contains an instance of Site .

Response body

If successful, the response body contains a newly created 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: