A partire dall'8 settembre 2025, ogni nuovo elemento pubblicitario dovrà dichiarare se pubblicherà o meno annunci politici dell'Unione Europea (UE). I caricamenti di API Display & Video 360 e SDF che non forniscono dichiarazioni non andranno a buon fine. Consulta la nostra pagina dei ritiri per ulteriori dettagli su come aggiornare l'integrazione per effettuare questa dichiarazione.
Obbligatorio. L'ID del canale principale in cui verrà creato il sito.
Parametro unione owner. Obbligatorio. Identifica l'entità DV360 proprietaria del canale principale. Può essere un partner o un inserzionista. owner può essere solo uno dei seguenti:
L'ID dell'inserzionista proprietario del canale principale.
Parametri di query
Parametri
Parametro unione owner. Obbligatorio. Identifica l'entità DV360 proprietaria del canale principale. Può essere un partner o un inserzionista. owner può essere solo uno dei seguenti:
[null,null,["Ultimo aggiornamento 2025-07-26 UTC."],[[["\u003cp\u003eDisplay & Video 360 API v2 is sunset and this documentation details creating a new site within a channel using the API.\u003c/p\u003e\n"],["\u003cp\u003eThe API request utilizes an HTTP POST method with specific path and query parameters to define the location and ownership of the new site.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful API calls will return a response containing the details of the newly created site, formatted according to the Site object definition.\u003c/p\u003e\n"],["\u003cp\u003eUsers need to be authorized with the \u003ccode\u003ehttps://www.googleapis.com/auth/display-video\u003c/code\u003e OAuth scope to utilize this API functionality.\u003c/p\u003e\n"]]],["The provided content outlines the process for creating a site within a channel using the Display & Video 360 API. A `POST` request is sent to the specified URL, including the `advertiserId` and `channelId` as path parameters. The request requires one of the parameters to indicate the owner and a `site` object in the request body. Upon success, the response will include the newly created `site` object. Authorization via OAuth is mandatory using `display-video` scope.\n"],null,["# Method: advertisers.channels.sites.create\n\n| Display \\& Video 360 API v2 has sunset.\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nCreates a site in a channel.\n\n### HTTP request\n\n`POST https://displayvideo.googleapis.com/v2/advertisers/{advertiserId}/channels/{channelId}/sites`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `channelId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the parent channel in which the site will be created. |\n| Union parameter `owner`. Required. Identifies the DV360 entity that owns the parent channel. It can be either a partner or an advertiser. `owner` can be only one of the following: ||\n| `advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the advertiser that owns the parent channel. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|-----------------------------------------------------------------------------------------------------------------------------------------|\n| Union parameter `owner`. Required. Identifies the DV360 entity that owns the parent channel. It can be either a partner or an advertiser. `owner` can be only one of the following: ||\n| `partnerId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the partner that owns the parent channel. |\n\n### Request body\n\nThe request body contains an instance of [Site](/display-video/api/reference/rest/v2/advertisers.channels.sites#Site).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Site](/display-video/api/reference/rest/v2/advertisers.channels.sites#Site).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/display-video`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]