ネイティブ広告

ネイティブ広告は、周囲のコンテンツやビジュアルに溶け込むようにフォーマットされた広告です ユーザーが閲覧してクリックする可能性が高まります。ネイティブ広告 モバイルアプリ、パソコン、モバイルサイトに表示されます。 ネイティブ広告について詳しくは、ネイティブ広告の概要 広告

ネイティブ広告は、認定バイヤーと Open Bidding

ネイティブ広告のワークフローは次のとおりです。

  1. Google に対してネイティブ広告の呼び出しが行われます。この呼び出しでは、 以下のネイティブ広告テンプレートの 1 つまたは両方。 ネイティブフィールド。
  2. Google は購入者に、入札する入札レスポンスのリストを含む 渡されます。
  3. 関心を持った購入者が、リクエストされたフィールドを返します。
  4. Google がオークションを実施して落札単価を選出し、 購入者から提供されたクリエイティブ アセットをパブリッシャーに配信します。
  5. パブリッシャーがアセットを組み合わせてネイティブ広告を作成し、スタイルを設定 サイトのデザインに合わせることができます

メッセージの形式

Google は をサポートしています。 OpenRTB 仕様を JSON と Protobuf の両方で使用する必要があります。

OpenRTB Protobuf ネイティブ広告の場合、以下のフィールドは仕様とは異なります。

JSON 仕様
(PROTOCOL_OPENRTB_2_4)
JSON 型 OpenRTB の実装
(PROTOCOL_OPENRTB_PROTOBUF_2_4)
OpenRTB タイプ
BidRequest.imp[].native.request string BidRequest.imp[].native.request_native NativeRequest
BidResponse.seatbid[].bid[].adm string BidResponse.seatbid[].bid[].adm_native NativeResponse

OpenRTB フィールドは、文字列ではなく Protobuf メッセージです。

OpenRTB Protobuf 実装を使用する場合、 BidRequest.imp[].native.request への応答が必要です。 BidResponse.seatbid[].bid[].adm_native。入札レスポンス: BidResponse.seatbid[].bid[].adm はフィルタされています。OpenRTB ではアセット ID は不要 Protobuf 入札レスポンス。

購入者の SDK を使用してネイティブ広告をレンダリングする場合は、 次の場合、declared_ad に画像 type を含める必要があります。 審査のためにクリエイティブを送信します。

ネイティブ広告テンプレート

Google では、動画以外と動画用のネイティブ広告の最も一般的な 2 つのテンプレートを 動画ネイティブ広告:

他のテンプレートも存在し、それらについては要件が異なる場合があります。 さまざまなフィールド、サイズ、サイズがあります。

アプリ インストール広告テンプレート

以下の表に、「必須」または「推奨」のラベルが付いた項目を示します。 次のルールが適用されます。

  • [必須] のマークは入札者によって必須とされています。
  • [推奨] のマークが付いたフィールドはビッダーで必須ではなく、 オプション(例: スター 。
  • 行動を促すフレーズ(CTA)は常に [おすすめ] としてマークされます。これは、 デフォルトで割り当てられますが、常に 表示されます。

次の表に、アプリ インストール広告テンプレートのフィールドの一覧を示します。 モバイルアプリでは、このフィールドを使用してネイティブ アプリ インストール広告が作成されます。

フィールド 説明 必須 / 推奨 常に表示 推奨される画像サイズ/最大文字数
広告見出し アプリのタイトル 必須 25 文字 Flood-It!
画像 アプリのスクリーンショットまたは関連する別の画像 必須 いいえ 必要なアスペクト比に応じて 1,200 x 627 ピクセルまたは 600 x 600 ピクセル 指定することもできます <Flood-It! ゲームのスクリーンショット>
本文 アプリのメインテキスト 必須 いいえ 90 文字 シンプル 魅力的でやりがいのある = 魅力的で中毒性がある
アプリのアイコン アプリアイコン 必須 いいえ 128 x 128 ピクセル <ph type="x-smartling-void-element"><br></ph>アプリアイコン >
行動を促すフレーズ 優先するユーザー アクション 推奨 15 文字 インストール
評価 表す星の数(0 ~ 5) アプリストアでのアプリの評価 推奨 いいえ 0 ~ 5 4.5
価格 アプリの費用 推奨 いいえ 15 文字 無料

テキストの長さに関する注意事項

購入者が送信したテキスト アセット(本文など)が 文字数を超える場合は、テキストが切り捨てられ、 Google またはパブリッシャーにより省略されます。なお、 中国語、日本語、韓国語では 2 分の 1 のサイズです。たとえば、 広告見出しの上限は、英語では 90、中国語では 45 です。

画像サイズに関する注意事項

パブリッシャー様には次の要件を満たしていただく必要があります。

  • メイン画像を、縦または横方向に最大 20% ずつ、左右対称に切り抜く あります。
  • アスペクト比を変更せずに画像を拡大縮小します。
  • アスペクト比が暗示するものと大きく異なる画像 フィルタリングできます。

コンテンツ広告テンプレート

次の表に、コンテンツ広告テンプレートのフィールドを示します。ニュース メディア これらのフィールドを使用してネイティブ コンテンツ広告を作成します。

フィールド 説明 必須 / 推奨 常に表示 推奨される画像サイズ/最大文字数 *
広告見出し 広告ヘッダー 必須 25 文字 最低の住宅ローン金利
画像 広告のメイン画像 必須 いいえ 必要なアスペクト比に応じて 1,200 x 627 ピクセルまたは 600 x 600 ピクセル 指定することもできます <広告のメイン画像>
本文 広告内容 必須 いいえ 90 文字 ブルックリンの甘い家 - 思っていたより安く早く、
ロゴ 広告主様のロゴまたは関連する別の小さな画像 推奨 いいえ 128 x 128 ピクセル <NY Mortgage Inc. のロゴ>
行動を促すフレーズ ユーザーの操作 推奨 いいえ 15 文字 見積もりを依頼
広告主様 広告主またはブランドを識別するテキスト 必須 いいえ 25 文字 ニューヨーク モーゲージ株式会社

アプリ インストール動画広告テンプレート

フィールド 説明 必須 / 推奨 常に表示 推奨画像サイズ/最大文字数*
動画 動画広告の再生に必要なすべてのアセットを含む動画 VAST レスポンス。 必須 いいえ - Flood-It! を含む VAST XML への URL動画広告
広告見出し アプリのタイトル 必須 25 文字 Flood-It!
画像 動画広告がクリックされる前または読み込み中にプレーヤーに表示される画像(サムネイル)。 必須 いいえ 動画のアスペクト比と一致させる必要があります(例: 16x9 の動画は 1280x720、640x480 の動画は 4x3)。 Flood-It! ゲームのスクリーンショット動画内で確認することもできます。
本体 アプリのメインテキスト 必須 いいえ 90 文字 シンプル 魅力的でやりがいのある = 魅力的で中毒性がある
アプリアイコン アプリアイコン 必須 いいえ 128 x 128 ピクセル Flood-it!アプリアイコン
行動を促すフレーズ 優先するユーザー アクション 必須 15 文字 インストール
星評価 アプリストアでのアプリの評価を表す星の数(0 ~ 5) 推奨 いいえ 0 ~ 5 450
価格 アプリの費用 推奨 いいえ 15 文字 無料

制限事項

  • 動画: すべての動画は VAST URL 形式である必要があります または VAST タグがありますWebM、MP4 などの未加工の動画ファイルは指定できません

  • テキストの長さ: 購入者が レスポンスの中の body の値によって切り捨てられ、省略される場合があります。 Google またはパブリッシャー。切り捨ての上限は、 中国語、日本語、韓国語。たとえば、英語では広告見出しの上限は 90 文字です 中国語は 45 です。

  • 画像サイズ: パブリッシャーが許可できる画像サイズ:

    • メイン画像を、縦長の方向に最大 20% ずつ、対称的に切り抜く 指定します。
    • アスペクト比を変更せずに画像を拡大縮小します。

アプリ インストール広告の例

ネイティブ動画

動画コンテンツ広告テンプレート

フィールド 説明 必須 / 推奨 常に表示 推奨画像サイズ/最大文字数*
動画 動画広告の再生に必要なすべてのアセットを含む動画 VAST レスポンス。 必須 - Flood-It! を含む VAST XML への URL動画広告
広告見出し 広告ヘッダー 必須 25 文字 最低の住宅ローン金利
画像 動画広告がクリックされる前または読み込み中にプレーヤーに表示される画像(サムネイル)。 必須 いいえ 動画のアスペクト比と一致させる必要があります(例: 16x9 の動画は 1280x720、640x480 の動画は 4x3)。 動画のスクリーンショット
本体 広告コンテンツ 必須 いいえ 90 文字 ブルックリンの甘い家 - 思っていたより安く早く、
ロゴ 広告主様のロゴまたは関連する別の小さな画像 推奨 いいえ 128 x 128 ピクセル NY Mortgage Inc. のロゴ
行動を促すフレーズ ユーザーの操作 必須 いいえ 15 文字 見積もりを依頼
広告主 広告主またはブランドを識別するテキスト 必須 いいえ 25 文字 ニューヨーク モーゲージ株式会社

メタ フィールド

次のメタ フィールドは、サポートされているすべての広告テンプレートで共有されます。

承認済み 購入者のリアルタイム プロトコル バッファ 承認済み OpenRTB の同等の購入者 説明
NativeAd.click_link_url Link.url ユーザーが広告をクリックしたときにブラウザが呼び出す URL。 最終的に ランディングページに誘導できますネイティブ広告では、click_link_url を使用して広告を設定することをおすすめします。 ユーザーが最終的に到達する目的地を指定しますケースではこのフィールドを使用する必要があります 動的ランディングページ
Ad.click_through_url Bid.adomain

ビッダーが入札する場合に設定する必要があります。これが宛先のセットです スニペットの URL(ユーザーがアクセスする場合の URL を含む) 表示された広告をクリックし、表示された広告に表示される URL を確認します。 表示されます。関係のない広告サーバーへの中間呼び出しは含めないでください。 確認しましょうスニペットまたは動画広告を返す入札レスポンス click_through_url が破棄されないことが宣言されています。設定のみ html_snippetvideo_url、または native_ad が設定されました。このデータはリンク先 URL として使用されます。 の宣言(パブリッシャーがブロックしている URL や広告を事後的にフィルタする場合など) あります。ネイティブ広告を使用する場合は、上記のNativeAd.click_link_urlをご覧ください。

ネイティブ広告以外の広告では、クリック トラッキングやその他の広告には使用されません。 機能リンク先 URL の宣言としてのみ使用されます。

ネイティブ広告では、NativeAd.click_link_url が設定されていない場合、 最初の値 click_through_url を使用して、ユーザーを 表示されますまた、すべての値がリンク先 URL として使用されます。 宣言します(非ネイティブのケースと同様)。

NativeAd.click_tracking_urls Link.clicktrackers 省略可。広告主がユーザーのクリックをトラッキングできる追加の URL。 表示されます。
Ad.ad_choices_destination_url BidExt.ad_choices_destination_url 広告表示設定またはオプトアウト ページへのリンク。存在する場合、標準 AdChoices アイコンがネイティブ クリエイティブに追加され、この URL にリンクされます。この ネイティブ広告ではサポートされていますが、 。
Ad.impression_tracking_url NativeResponse.imptrackers ネイティブのインプレッションは 認定バイヤーのリアルタイム ビッダーで impression_tracking_url OpenRTB のネイティブ インプレッション トラッカー

required_fields recommended_fields はパブリッシャーが指定します。Google Cloud の これらのビット フィールドを変換して、フィールドが必須か、または 推奨されます。

ビットフィールドは、バイナリ値の各ビットを使用して、true または false を格納します。 次のような多くのブール値のシグナルを送信するのと同等です。 is_logo_requiredis_header_required など。ただし、すべて まとめられています。

この例では、required_fields の値を使用します。 1085

まず、同等のバイナリ値を見つけます。 10000111101

バイナリ値を取得したら、ビットを調べてフィールドが 必須(1)か必須ではない(0)です。

以下の表は、フィールドをバイナリ値の位置にマッピングしています。詳しくは、 2 進数を右から左に並べ、1 ビットが右端の桁に対応します。 バイナリ値で計算されます

フィールド バイナリ値の配置(右から左)
HEADLINE 1
BODY 2
CALL_TO_ACTION 4
ADVERTISER 8
IMAGE 16
LOGO 32
APP_ICON 64
STAR_RATING 128
PRICE 256
STORE 512
VIDEO 1024

バイナリ値 10000111101 の場合、1 ビットの (右端)は 1 で、必須の値を示します。「 テーブルでは、1 ビットが HEADLINE に対応します。

2 ビット(右から 2 番目の値)は 0 を示します。 必須ではありません。2 ビットは BODY に対応します。

この例では、解釈された必須フィールドがすべて示されています。

説明 必須
1 VIDEO
0 STORE ×
0 PRICE いいえ
0 STAR_RATING いいえ
0 APP_ICON ×
1 LOGO
1 IMAGE
1 ADVERTISER
1 CALL_TO_ACTION
0 BODY ×
1 HEADLINE

BILLINGTemplate メッセージ

ネイティブ広告枠を含む入札リクエストでは、 BidRequest.adSlot[].native_ad_template に値が入力されます。 NativeAdTemplate メッセージでは、次の仕様を指定します。

  • 必須または推奨のフィールドです。
  • 画像、ロゴ、アプリアイコンのサイズ。
  • 広告が表示されるスタイルの仕様。
で確認できます。
message BidRequest {
  //...
  message AdSlot {
    //...

    message NativeAdTemplate {
      // Defines the bits used in required_fields and recommended_fields.
      // There is one bit for each of the fields in BidResponse.Ad.NativeAd
      enum Fields {
        NO_FIELDS = 0x0;
        HEADLINE = 0x1;
        BODY = 0x2;
        CALL_TO_ACTION = 0x4;
        ADVERTISER = 0x8;
        IMAGE = 0x10;
        LOGO = 0x20;
        APP_ICON = 0x40;
        STAR_RATING = 0x80;
        PRICE = 0x100;
        DEPRECATED_STORE = 0x200;
        VIDEO = 0x400;
      }

      // Bitfield describing which fields are required by the publisher. Bid
      // responses with no value for these fields will be rejected. Click
      // and view tracking urls are always implicitly required.
      optional int64 required_fields = 1;

      // Bitfield describing which fields are recommended by the publisher.
      // All recommended field are supported, but not all recommended fields
      // are required.
      optional int64 recommended_fields = 2;

      // max_safe_length indicates the maximum number of Unicode characters that
      // are guaranteed to be shown without truncation. Longer strings may be
      // truncated and ellipsized by Ad Exchange or the publisher during
      // rendering.
      optional int32 headline_max_safe_length = 3;
      optional int32 body_max_safe_length = 4;
      optional int32 call_to_action_max_safe_length = 5;
      optional int32 advertiser_max_safe_length = 6;
      optional int32 price_max_safe_length = 15;

      // The width and height from which to calculate the required aspect ratio.
      // You can provide a larger image in the response. Images that have aspect
      // ratios substantially different than those implied by the height and
      // width may be filtered.
      optional int32 image_width = 7;
      optional int32 image_height = 8;
      optional int32 logo_width = 9;
      optional int32 logo_height = 10;
      optional int32 app_icon_width = 11;
      optional int32 app_icon_height = 12;

      // Globally distinct id for the specific style, HTML, and CSS with which
      // the native ad is rendered.
      optional int32 style_id = 16;

      // Type of style layout for each native ad template.
      enum LayoutType {
        PIXEL = 0;
        FLUID = 1;
      }
      optional LayoutType style_layout_type = 17 [default = PIXEL];

      // If the style_layout_type is Pixel, width and height of the
      // entire native ad after rendering. If the style_layout_type is
      // Fluid, the style_height and style_width may optionally
      // not be populated.
      optional int32 style_height = 18;
      optional int32 style_width = 19;
    }
    repeated NativeAdTemplate native_ad_template = 51;
  }

    // NativePlacementType describes placement of native ad slot with respect to
    // surrounding context.
    enum NativePlacementType {
      PLACEMENT_UNKNOWN = 0;
      // In the feed of content - for example as an item inside the organic
      // feed/grid/listing/carousel.
      PLACEMENT_IN_FEED = 1;
      // In the atomic unit of the content - for example, in the article page or single
      // image page.
      PLACEMENT_ATOMIC_UNIT = 2;
      // Outside the core content - for example in the ads section on the right
      // rail, as a banner-style placement near the content, etc.
      PLACEMENT_OUTSIDE = 3;
      // Recommendation widget, most commonly presented below the article
      // content.
      PLACEMENT_RECOMMENDATION = 4;
    }

    optional NativePlacementType native_placement_type = 45;

  // ...
}

BILLING メッセージ

ネイティブ広告枠に入札する際は BidResponse.ad[].native_ad 対応する BidRequest.adSlot[].native_ad_template で必須フィールドを宣言します。

message BidResponse {
  //...
  message Ad {
    //...

    message NativeAd {
      // A short title for the ad.
      optional string headline = 1;

      // A long description of the ad.
      optional string body = 2;

      // A label for the button that the user is supposed to click.
      optional string call_to_action = 3;

      // The name of the advertiser or sponsor, to be displayed in the ad
      // creative.
      optional string advertiser = 4;

      // Next tag to use: 4
      message Image {
        optional string url = 1;

        // Image width and height are specified in pixels. You may provide a
        // larger image than was requested, so long as the aspect ratio is
        // preserved.
        optional int32 width = 2;
        optional int32 height = 3;
      }

      // A large image.
      optional Image image = 5;

      // A smaller image, for the advertiser's logo.
      optional Image logo = 6;

      // The app icon, for app download ads.
      optional Image app_icon = 7;

      // The video file. Only set this field if the video field is requested.
      oneof video {
        // The URL to fetch a video ad. The URL should return an XML response
        // that conforms to VAST standards.
        string video_url = 13;

        // The VAST document to be returned.
        string video_vast_xml = 16;
      }

      // The app rating in the app store. Must be in the range [0-5].
      optional double star_rating = 8;

      // The URL that the browser/SDK will load when the user clicks the ad.
      // This can be the landing page directly, or the first step of a redirect
      // chain that eventually leads to it. For backward compatibility, if this
      // is not set, the first Ad.click_through_url is used.
      optional string click_link_url = 14;

      // The URL to use for click tracking. The SDK pings click tracking url on
      // a background thread. When resolving the url, HTTP 30x redirects are
      // followed. The SDK ignores the contents of the response; this URL
      // has no effect on the landing page for the user.
      // This field is planned to be deprecated and we are moving to the
      // repeated click_tracking_urls field.
      optional string click_tracking_url = 11;

      // The URLs to use for click tracking. This will be used throughout the
      // serving stack and will incorporate any URL in click_tracking_urls.
      repeated string click_tracking_urls = 15;

      // The price of the promoted app including the currency info.
      optional string price = 10;

    };
    optional NativeAd native_ad = 18;

    // The set of destination URLs for the snippet. This includes the URLs that
    // the user will go to if they click on the displayed ad, and any URLs that
    // are visible in the rendered ad. Do not include intermediate calls to the
    // adserver that are unrelated to the final landing page. A BidResponse that
    // returns a snippet or video ad but declares no click_through_url will be
    // discarded. Only set this field if html_snippet or video_url or native_ad
    // are set. This data is used as a destination URL declaration, for example
    // for post-filtering of publisher-blocked URLs or ad categorization.
    //
    // For non-native ads, it is not used for click tracking or any
    // other ad functionality; it is only used as a destination URL
    // declaration.
    //
    // For native ads, if NativeAd.click_link_url is not set, the first
    // value of click_through_url is used to direct the user to the landing
    // page. In addition, all values are used as destination
    // URL declarations (similar to the non-native case).
    repeated string click_through_url = 4;

    //...

    // The URLs to call when the impression is rendered. The SDK pings
    // impression urls on a background thread and ignores the contents
    // of the response.
    repeated string impression_tracking_url = 19;

    // Link to ad preferences page. This is only supported for native ads.
    // If present, a standard AdChoices icon is added to the native ad creative and
    // linked to this URL.
    optional string ad_choices_destination_url = 21;
    // ...
  }
}

入札リクエストの例

動画以外の入札リクエスト

Google

OpenRTB JSON

OpenRTB プロトコル バッファ

動画の入札リクエスト数

<ph type="x-smartling-placeholder">

入札レスポンスの例

なお、これらのレスポンスの値は、 上記の対応するリクエストをご覧ください。ただし、リクエスト内のテンプレートで必須/オプションが提案されている場合 レスポンスはこれらの要件を満たしています。

動画以外の入札レスポンス

Google

OpenRTB JSON

OpenRTB プロトコル バッファ

動画の入札レスポンス

<ph type="x-smartling-placeholder">