החל מ-
8 בספטמבר 2025, בכל פריט חדש צריך להצהיר אם הוא יציג מודעות פוליטיות באיחוד האירופי (EU) או לא. העלאות של קובצי SDF ושל Display & Video 360 API שלא כוללות הצהרות ייכשלו. מידע נוסף על אופן העדכון של האינטגרציה כדי להוסיף את ההצהרה הזו זמין ב
דף ההוצאה משימוש.
Method: advertisers.creatives.create
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
יצירת נכס קריאייטיב חדש. הפונקציה מחזירה את הקריאייטיב החדש שנוצר, אם הפעולה בוצעה בהצלחה.
כדי לשלוח את הבקשה הזו, צריך תפקיד משתמש 'רגיל' או תפקיד גבוה יותר בחשבון המפרסם או השותף ברמה האב.
בקשת HTTP
POST https://displayvideo.googleapis.com/v4/advertisers/{creative.advertiserId}/creatives
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
creative.advertiserId |
string (int64 format)
פלט בלבד. המזהה הייחודי של המפרסם שהקריאייטיב שייך אליו.
|
גוף הבקשה
גוף הבקשה מכיל מופע של Creative
.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכיל מופע חדש של Creative
.
היקפי הרשאה
נדרשת הרשאת OAuth ברמה הבאה:
https://www.googleapis.com/auth/display-video
מידע נוסף זמין בOAuth 2.0 Overview.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 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)."]]