自
2025 年 9 月 8 日起,每個新委刊項都必須聲明是否會放送歐盟政治廣告。如果透過 Display & Video 360 API 和 SDF 上傳的檔案未提供聲明,系統就會失敗。如要進一步瞭解如何更新整合服務以進行這項聲明,請參閱
淘汰項目頁面。
NativeContentPosition
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
列舉 |
NATIVE_CONTENT_POSITION_UNSPECIFIED |
這個版本未指定原生內容位置。這個列舉是預設值的預留位置,並非代表實際的原生內容位置。 |
NATIVE_CONTENT_POSITION_UNKNOWN |
原生內容位置不明。 |
NATIVE_CONTENT_POSITION_IN_ARTICLE |
原生內容位置為「文章內」,也就是顯示在網頁段落之間的廣告。 |
NATIVE_CONTENT_POSITION_IN_FEED |
原生內容位置為動態內,也就是廣告會顯示在可捲動的串流內容中。動態饋給通常是社論 (例如一連串的文章或新聞) 或產品資訊 (一系列產品或服務)。 |
NATIVE_CONTENT_POSITION_PERIPHERAL |
原生內容位置是周邊位置,也就是顯示在網頁核心內容以外的位置,例如網頁的右側或左側。 |
NATIVE_CONTENT_POSITION_RECOMMENDATION |
原生內容位置為推薦,也就是說廣告會顯示在推薦內容的部分。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eNative content positions can be specified as in-article, in-feed, peripheral, or recommendation, defining where ads appear within the content.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNATIVE_CONTENT_POSITION_UNSPECIFIED\u003c/code\u003e and \u003ccode\u003eNATIVE_CONTENT_POSITION_UNKNOWN\u003c/code\u003e represent placeholder and unknown position values, respectively.\u003c/p\u003e\n"],["\u003cp\u003eIn-article positions place ads between paragraphs, in-feed positions within content streams, peripheral positions outside core content, and recommendation positions within recommended content sections.\u003c/p\u003e\n"]]],["The provided content outlines various native content positions for ads. These include: `UNSPECIFIED` (a placeholder), `UNKNOWN`, `IN_ARTICLE` (between page paragraphs), `IN_FEED` (within scrollable content streams), `PERIPHERAL` (outside core content, like sidebars), and `RECOMMENDATION` (within recommended content sections). Each position defines where ads appear relative to the main content on a page or within a feed.\n"],null,["# NativeContentPosition\n\n| Display \\& Video 360 API is deprecated and will sunset on **October 7, 2025** . Migrate to [Display \\& Video 360 API v4](/display-video/api/reference/rest/v4) before sunset to avoid an interruption in service.\nPossible native content position options.\n\n| Enums ||\n|------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `NATIVE_CONTENT_POSITION_UNSPECIFIED` | Native content position is not specified in this version. This enum is a place holder for a default value and does not represent a real native content position. |\n| `NATIVE_CONTENT_POSITION_UNKNOWN` | The native content position is unknown. |\n| `NATIVE_CONTENT_POSITION_IN_ARTICLE` | Native content position is in-article, i.e., ads appear between the paragraphs of pages. |\n| `NATIVE_CONTENT_POSITION_IN_FEED` | Native content position is in-feed, i.e., ads appear in a scrollable stream of content. A feed is typically editorial (e.g. a list of articles or news) or listings (e.g. a list of products or services). |\n| `NATIVE_CONTENT_POSITION_PERIPHERAL` | Native content position is peripheral, i.e., ads appear outside of core content on pages, such as the right- or left-hand side of the page. |\n| `NATIVE_CONTENT_POSITION_RECOMMENDATION` | Native content position is recommendation, i.e., ads appear in sections for recommended content. |"]]