Prebid.js (client-side) → GAM
Bu sayfa neyi test eder: pbjs.requestBids → pbjs.setTargetingForGPTAsync → googletag.pubads().refresh
akışı, failsafe zaman aşımı ve Prebid teklifinin GAM line item'ıyla (hb_pb) eşleşmesi.
What this page tests: the pbjs.requestBids → pbjs.setTargetingForGPTAsync → googletag.pubads().refresh
flow, the failsafe timeout and how a Prebid bid matches a GAM line item (hb_pb).
vendor/prebid.js) ve aynı
test teklifleri, iki sayfada: bu sayfada açık artırmayı sayfanın kendi scripti çalıştırır,
Prebid (reklam sunucusu) sayfasında ReklamUp reklam scripti. Teklifler sahtedir: Prebid'in
debugging modülü üretir, hiçbir bidder'a istek gitmez.vendor/prebid.js) and the
same test bids, on two pages: on this page the page's own script runs the auction, on the
Prebid (ad server) page the ReklamUp ad script does. The bids are fake: Prebid's debugging
module makes them up, and no request goes to any bidder.Test adımlarıTest steps
- Tabloda her ad unit için gelen sahte teklifleri, kazananı ve
hb_pb / hb_bidder / hb_adiddeğerlerini kontrol edin.In the table, check the fake bids that came in for each ad unit, the winner and thehb_pb / hb_bidder / hb_adidvalues. - “GPT slotunda” sütunu, değerlerin gerçekten GAM isteğine giden slot hedeflemesine aktarıldığını gösterir.The “On the GPT slot” column shows that the values really reached the slot targeting sent in the GAM request.
- GAM sütunu dönen
lineItemId'yi gösterir. Prebid kazandığı halde Prebid creative'i serve edilmediyse satır uyarı verir.The GAM column shows thelineItemIdthat came back. If Prebid won but its creative was not served, the row warns. - “Bidder'ı boz”: sahte bidder Prebid timeout'undan geç cevap verir; açık artırma timeout ile kapanır
(
auctionEnd: 0 teklif, debug panelinde “bidsBackHandler (timeout)”). GAM yine çağrılmalı. Gerçek bidder'larda ayrıcabidTimeoutolayı gelir; debugging modülünün geciktirdiği sahte tekliflerde gelmez.“Break the bidder”: the fake bidder answers after the Prebid timeout; the auction ends on the timeout (auctionEnd: 0 bids, “bidsBackHandler (timeout)” in the debug panel). GAM should still be called. Real bidders also fire abidTimeoutevent; fake bids delayed by the debugging module do not. - “Prebid takıldı”:
bidsBackHandleryok sayılır; GAM'i failsafe (“Prebid hangs”:bidsBackHandleris ignored; the failsafe ( ms) çağırmalı. ms) should call GAM.
Senaryo ve ayarlarScenario and settings
Aktif senaryo:Active scenario:
Teklif ↔ GAM eşleşme tablosuBid ↔ GAM match table
Açık artırma bekleniyor…Waiting for the auction…
SlotlarSlots
…Bekleniyor…Waiting…
…Bekleniyor…Waiting…
…Bekleniyor…Waiting…
Prebid creative önizlemesi (GAM'siz)Prebid creative preview (without GAM)
Güvenli modda Google örnek ağında Prebid line item'ı yoktur; GAM Prebid creative'ini serve etmez. Bu buton kazanan
teklifin creative'ini pbjs.renderAd ile ayrı bir iframe'de çizer (yalnızca render yolunu doğrular).
In safe mode Google's sample network has no Prebid line item, so GAM does not serve the Prebid creative. This button
draws the winning bid's creative with pbjs.renderAd in a separate iframe (it checks the render path only).