AI-generated Key Takeaways
-
A new site is inserted using an HTTP POST request to a specific URL with a user profile ID.
-
The request requires a
profileIdpath 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/dfatraffickingOAuth 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 |
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