強烈建議您使用選用的 impression_tracking_url 欄位,在 Google 記錄需要付費的事件時,擷取相關的曝光層級資料。對於 OpenRTB,這在 Google 通訊協定中會以 BidResponse.seatbid[].bid[].ext.impression_tracking_url 的形式顯示,在 Google 通訊協定中則顯示為 BidResponse.ad[].impression_tracking_url。
Google 需求差異解決方式 (Beta 版)
這項功能旨在確保廣告交易平台計費的曝光次數與 Google Display & Video 360 (DV360) 付費的曝光次數一致。
為確保 Google 廣告需求中的有效曝光數量相符,google_query_id 必須依從公開出價要求傳送至 Google 廣告需求平台。這是公開出價差異解決的先決條件。google_query_id 目前的預期長度約為 64 個位元組。
將資訊填入出價回應中的 third_party_buyer_token
如果 Google 廣告需求平台在競價中勝出,就必須透過公開出價曝光,按照出價回應中的方式推送 third_party_buyer_token 欄位。這可讓 Google 發布商平台判斷來自公開出價合作夥伴的得標出價,意指 Google 廣告需求代表相同曝光商機的出價。這個欄位目前的長度上限應為 150 個位元組。
按照出價回應中的方式傳遞 Google 廣告素材標記
為了確保差異解決方式能套用至來自 Google 廣告需求的出價,廣告交易平台必須傳播 Google 廣告素材標記,且不含任何包裝函式 (指令碼代碼、iframe 或 VAST 包裝函式)。由於差異解決方式,Google 可能會針對未由 Google 廣告需求平台計算的公開出價曝光,進行驗證,也不會產生月結單。Google 會定期檢查廣告素材標記,確認使用 third_party_buyer_token 的出價是代表 Google 廣告需求提交,而非其他買方。
HTML5 廣告素材
廣告交易平台必須依原樣提交 Google HTML 標記,包括系統通常會套用的廣告交易平台專屬巨集展開,並視情況新增廣告交易平台通常會新增的追蹤器像素或指令碼。
如果廣告交易平台將 Google HTML 廣告素材納入後來載入或轉譯 Google HTML 程式碼的代碼 (script、iframe 或其他技術),Google 就無法套用差異解決方式。
符合技術相關規定
在這個範例中,系統會逐字傳遞出價回應中的 Google (DV360) 廣告素材 HTML 程式碼,並在前面加上廣告交易平台專用的 HTML 程式碼。
<!-- START exchange-specific HTML header -->
<iframe src="https://exchange.example.com/impression?…" width="0" height="0" frameborder="0" scrolling="no" style="display:none;" marginheight="0" marginwidth="0"></iframe>
<!-- END exchange-specific HTML header -->
<!-- START HTML code as returned by Google in the bid response -->
<DIV STYLE="position: absolute; left: 0px; top: 0px; visibility: hidden;"><IMG SRC="https://pagead2.googlesyndication.com/pagead/gen_204?id=xbid&dbm_b=…" BORDER=0 WIDTH=1 HEIGHT=1 ALT="" STYLE="display:none"></DIV><iframe title="Blank" src="https://googleads.g.doubleclick.net/xbbe/pixel?d=…" style="display:none" aria-hidden="true"></iframe><div><div style="position:relative; display:inline-block;"><div class="GoogleActiveViewClass" id="DfaVisibilityIdentifier_…"><script>var url = 'https://googleads.g.doubleclick.net/dbm/ad?…';document.write('<script src="' + (window.rfl ? window.rfl(url) : url) + '"></s' + 'cript>');</script>…
<!-- END HTML code as returned by Google in the bid response -->
<!-- START exchange-specific HTML footer -->
<img src='https://exchange.example.com/track?…' width='0' height='0' style='display:none;'>
<!-- END exchange-specific HTML footer -->
不符合技術規定
在這個範例中,廣告素材 Google 傳回的 HTML 程式碼在廣告交易平台提供的出價回應中會經過模糊處理,而且不會顯示在出價回應中。Google 提供的 HTML 程式碼可能會透過瀏覽器中的廣告交易平台提供的包裝函式進行算繪。
<!-- START exchange ad tag that encodes / renders Google creative in the browser -->
<!-- Google creatives markup from the bid response (adm) is not present verbatim -->
<span class="ad"><script type='text/javascript' src='https://exchange.example.com/ad?p=%%WINNING_PRICE%%&m=n_ybbRoVpsLlXSo8gVHRn-W0tynBt-Hoe8t8m0qwKhLFiaF-0gB0U4w-5pjeB8IMIkg7PcRri5iCIjBMMKDqg
…'></script></span>
<!-- END exchange ad tag that encodes / renders Google creative in the browser -->
VAST 影片廣告素材
要採用差異解決方式,廣告交易平台必須使用下列其中一種方法在 VAST XML 回應中填入 VASTTagURI:
廣告交易平台可保留 VASTTagURI 元素的值,做為 Google 在 adm 欄位中傳回的 VAST XML 文件的一部分,同時保留通常適用廣告交易平台專用的巨集展開。
<!-- START exchange VAST tag referencing Google creative -->
<?xml version="1.0" encoding="UTF-8"?><VAST version="2.0"><Ad id="123456789"><Wrapper>
<!-- Google VAST URI from the bid response is present verbatim -->
<AdSystem>XBid</AdSystem><VASTAdTagURI><![CDATA[https://bid.g.doubleclick.net/dbm/vast?…]]></VASTAdTagURI>
<!-- START Exchange-specific event trackers -->
<Error><![CDATA[https://video.exchange.example.com/vast_error?error=[ERRORCODE]&…]]></Error><Impression><![CDATA[https://video.exchange.example.com/impression?price=%%WINNING_PRICE%%&…]]></Impression><Creatives><Creative id="1234567890" sequence="1"><Linear><TrackingEvents><Tracking event="creativeView"><![CDATA[https://video.exchange.example.com/track/view?…]]></Tracking><Tracking event="start"><![CDATA[https://video.exchange.example.com/track/start?…]]></Tracking><Tracking event="midpoint"><![CDATA[https://video.exchange.example.com/track/midpoint?…]]></Tracking></TrackingEvents><VideoClicks><ClickTracking><![CDATA[https://video.exchange.example.com/click?…]]></ClickTracking></VideoClicks>
<!-- END Exchange-specific event trackers -->
</Linear></Creative></Creatives></Wrapper></Ad></VAST>
<!-- END exchange VAST tag referencing Google creative -->
<!-- START exchange VAST tag that encodes or loads Google VAST creative subsequently -->
<!-- Google VAST URI or VAST document from the bid response is not present verbatim -->
<?xml version="1.0" encoding="UTF-8"?><VAST version="2.0"><Ad id="1234567890"><Wrapper><AdSystem version="0.1">VideoExchange</AdSystem><VASTAdTagURI><![CDATA[https://video.exchange.example.com/creative?…]]></VASTAdTagURI><Error><![CDATA[https://video.exchange.example.com/error?ec=[ERRORCODE]]]></Error><Impression><![CDATA[https://video.exchange.example.com/imp?…]]></Impression><Creatives><Creative></Creative></Creatives></Wrapper></Ad></VAST>
<!-- END exchange VAST tag that encodes or loads Google VAST creative subsequently -->
特惠
參與公開出價的廣告交易平台可以使用首選交易 (PD)、私下競價 (PA) 和公開出價。交易 ID 和類型必須按照下列方式指定:
欄位
說明
OpenRTB 通訊協定: BidResponse.seatbid[].bid[].dealid
Google 通訊協定: BidResponse.ad[].adslot[].exchange_deal_id