2025 年 9 月 8 日以降、すべての新しい広告申込情報で、欧州連合(EU)の政治広告を配信するかどうかを宣言する必要があります。宣言が提供されていないディスプレイ&ビデオ 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 Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[[["\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. |"]]