AI-generated Key Takeaways
-
The page details how to insert a new site using a POST request to the specified URL.
-
The request uses a
profileIdas a path parameter, which is the user profile ID associated with the request. -
The request body should contain an instance of a Site object.
-
A successful response will contain a newly created instance of a Site object.
-
The request requires the
https://www.googleapis.com/auth/dfatraffickingOAuth scope for authorization.
Inserts a new site.
HTTP request
POST https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/sites
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
profileId |
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