Google Ad Managerにおける広告申込情報の設定

Media Owners
Last Updated: 4月 23, 2026

Before you begin: The following instructions only apply to Media Owners that manage their own integrations. If Index manages your integrations, you can skip this task.

  1. Google Ad Managerにサインインします。
  2. 以下の推奨事項を参考に、必要な広告申込情報を作成してください。Google Ad Managerで広告申込情報を作成する方法は、Google Ad Managerの広告申込情報をご確認ください。
    • インベントリサイズ:広告申込情報に使用したいクリエイティブのインベントリサイズを入力します。そのサイズは、キーバリューで使用されているサイズと一致する必要があります。
    • タイプ:広告申込情報に適切なタイプを設定します。APMIDをターゲットにした広告申込情報は、一般的に他の広告申込情報よりも優先度が高くなります。
    • ターゲティングの追加:AMPトラフィックと、それぞれの広告申込情報に対応するキーバリューを受け入れるようにターゲティングを設定します。
      • 広告ユニット:対応する広告申込情報を有効化するターゲット広告ユニットに設定します。
      • キーバリュー:適切なキーバリューを設定します。
        バリュー

        例1

        広告申込情報:IX AMP 300x250 $4.51

        キーターゲティング:AOM (AOM) は300x250_451

        例2

        広告申込情報:IX AMP 320x50 $15.01

        キーターゲティング:APM (APM) は320x50_1501

        例3

        広告申込情報:IX AMP 320x50 $15.01

        キーターゲティング:APMID (APMID) は300x50_deal1

    • 広告申込情報ごとにクリエイティブを作成:各広告申込情報には、サードパーティのクリエイティブタイプを関連付ける必要があります。SafeFrameで配信するチェックボックスが選択解除されていることと、クリエイティブコードのサイズが、広告申込情報とクリエイティブオブジェクトのサイズと一致していることを確認してください。

      Add the following script to the Code snippet area in Google Ad Manager:

    • <script>
      var request = new XMLHttpRequest();
      // Note replace <width> and <height> with appropriate values
      request.open('GET', '%%PATTERN:asPath%%?unk2=%%PATTERN:<width>x<height>_unk2%%');
      request.onload = function(e) {
      	var node = document.createElement('script');
      	node.type = 'text/javascript';
      	node.innerHTML = request.response;
      
      	var iframe = document.createElement('iframe');
      	iframe.appendChild(node);
      	document.head.appendChild(iframe);
      }
      request.send();
      </script>
      					

      Here's an example of a creative script:

      <script>
      var request=new XMLHttpRequest();
      request.open('GET','%%PATTERN:asPath%%?unk2=%%PATTERN:300x250_unk2%%');
      request.onload=function(e){
      	var node=document.createElement('script');
      	node.type='text/javascript';
      	node.innerHTML=request.response;
      	var iframe=document.createElement('iframe');
      	iframe.appendChild(node);
      	document.head.appendChild(iframe);
      };
      request.send();
      </script>