自
2025 年 9 月 8 日起,每个新订单项都需要声明是否会投放欧盟 (EU) 政治广告。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 |
原生内容位置为推荐,即广告会在推荐内容版块中展示。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):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. |"]]