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-04-02。
[null,null,["最后更新时间 (UTC):2025-04-02。"],[[["Native content positions can be specified as in-article, in-feed, peripheral, or recommendation, defining where ads appear within the content."],["`NATIVE_CONTENT_POSITION_UNSPECIFIED` and `NATIVE_CONTENT_POSITION_UNKNOWN` represent placeholder and unknown position values, respectively."],["In-article positions place ads between paragraphs, in-feed positions within content streams, peripheral positions outside core content, and recommendation positions within recommended content sections."]]],["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"]]