myTarget

Features

Bidder CodemytargetPrebid.org Memberno
Media TypesdisplayGDPR Supportno
User IDsnoneCOPPA Supportno

"Send All Bids" Ad Server Keys

These are the bidder-specific keys that would be targeted within GAM in a Send-All-Bids scenario. GAM truncates keys to 20 characters.
hb_pb_mytargethb_bidder_mytargethb_adid_mytarget
hb_size_mytargethb_source_mytargethb_format_mytarget
hb_cache_host_mytarghb_cache_id_mytargethb_uuid_mytarget

"Deal ID" Ad Server Key

hb_deal_mytarget

Bid params

Name Scope Description Example Type
placementId required The slot ID from myTarget. '379783' string
bidfloor optional Bid floor 10000 number
position optional Ad position on screen. See details below. 1 number
response optional Bid response type. 0 - ad url (default), 1 - ad markup. 1 number

Position

The following values are defined in the ORTB 2.5 spec.

  • 0 : Unknown
  • 1 : Above the Fold
  • 3 : Below the Fold
  • 4 : Header
  • 5 : Footer
  • 6 : Sidebar
  • 7 : Full Screen

Configuration

The myTarget ‘sitename’ could be set globally:

pbjs.setConfig({
   mytarget: {
     sitename: 'example.com'
   }
});