myTarget

Bidder Code

mytarget

Send All Bids Ad Server Keys

hb_pb_mytarget hb_adid_mytarget hb_size_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'
   }
});