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.
Method: advertisers.creatives.create
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Crea una nuova creatività. Restituisce la creatività appena creata, se l'operazione è andata a buon fine.
Per effettuare questa richiesta è necessario un ruolo utente "Standard" o superiore per l'inserzionista o il partner principale.
Richiesta HTTP
POST https://displayvideo.googleapis.com/v4/advertisers/{creative.advertiserId}/creatives
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
creative.advertiserId |
string (int64 format)
Solo output. L'ID univoco dell'inserzionista a cui appartiene la creatività.
|
Corpo della richiesta
Il corpo della richiesta contiene un'istanza di Creative
.
Corpo della risposta
In caso di esito positivo, il corpo della risposta contiene un'istanza di Creative
appena creata.
Ambiti di autorizzazione
Richiede il seguente ambito OAuth:
https://www.googleapis.com/auth/display-video
Per ulteriori informazioni, consulta la sezione OAuth 2.0 Overview.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-25 UTC.
[null,null,["Ultimo aggiornamento 2025-07-25 UTC."],[],["The Display & Video 360 API v4, in beta, allows users with a \"Standard\" role or higher to create new creatives via a POST request to `https://displayvideo.googleapis.com/v4/advertisers/{creative.advertiserId}/creatives`. The request body must include a Creative instance. Successful creation returns the new Creative instance in the response body. This action requires the `https://www.googleapis.com/auth/display-video` OAuth scope, and `creative.advertiserId` path parameter is required.\n"],null,["# Method: advertisers.creatives.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_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 new creative. Returns the newly created creative if successful.\n\nA [\"Standard\" user role](//support.google.com/displayvideo/answer/2723011) or greater for the parent advertiser or partner is required to make this request.\n\n### HTTP request\n\n`POST https://displayvideo.googleapis.com/v4/advertisers/{creative.advertiserId}/creatives`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `creative.advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. The unique ID of the advertiser the creative belongs to. |\n\n### Request body\n\nThe request body contains an instance of [Creative](/display-video/api/reference/rest/v4/advertisers.creatives#Creative).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Creative](/display-video/api/reference/rest/v4/advertisers.creatives#Creative).\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](/identity/protocols/OAuth2)."]]