הפונקציה יוצרת פריט חדש עם הגדרות (כולל טירגוט) שעברו בירושה מההזמנה להצגת מודעות ועם ENTITY_STATUS_DRAFTentityStatus. הפונקציה מחזירה את פריט העלויות החדש שנוצר, אם הפעולה בוצעה בהצלחה. יש ערכי ברירת מחדל שמבוססים על שלושת השדות:
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-02-25 (שעון UTC)."],[[["Creates a new line item with settings inherited from the insertion order and an `ENTITY_STATUS_DRAFT` entity status."],["YouTube & Partners line items cannot be created or updated using the API."],["The request requires specifying the advertiser ID, insertion order ID, display name, and line item type."],["A successful response returns the created line item."],["Requires authorization with the `https://www.googleapis.com/auth/display-video` scope."]]],["This outlines how to create a new line item by sending a POST request to `https://displayvideo.googleapis.com/v3/advertisers/{advertiserId}/lineItems:generateDefault`. The request body requires the `insertionOrderId`, `displayName`, and `lineItemType`. The advertiser ID is specified in the path. Optionally `mobileApp` object can be included. Default settings are derived from the insertion order's type and automation type and specified `lineItemType`. The response returns the newly created line item, with `ENTITY_STATUS_DRAFT`, upon success.\n"]]