Platform.io

Bidder Code

platformio

Send All Bids Ad Server Keys

hb_pb_platformio hb_adid_platformio hb_size_platformio

bid params

Name Scope Description Example Type
pubId required The publisher account ID '28082' string
siteId required The publisher site ID '26047' string
size required Ad size identifier '300X250' string
placementId required Identifies specific ad placement '17394' string
bidFloor optional The bid floor '0.001' string
ifa optional IFA ID 'XXX-XXX' string
latitude optional Latitude '40.712775' string
longitude optional Longitude '-74.005973' string

test params

  var adUnits = [{
          code: 'dfp-native-div',
          mediaType: 'native',
          mediaTypes: {
              native: {
                  title: {
                      required: true,
                      len: 75
                  },
                  image: {
                      required: true
                  },
                  body: {
                      len: 200
                  },
                  icon: {
                      required: false
                  }
              }
          },
          bids: [{
              bidder: 'platformio',
              params: {
                  pubId: '29521',
                  siteId: '26048',
                  placementId: '123',
              }
          }]
      },
      {
          code: 'dfp-banner-div',
          mediaTypes: {
              banner: {
                  sizes: [
                      [300, 250]
                  ],
              }
          },
          bids: [{
              bidder: 'platformio',
              params: {
                  pubId: '29521',
                  siteId: '26049',
                  size: '300X250',
                  placementId: '123',
              }
          }]
      },
      {
          code: 'dfp-video-div',
          sizes: [640, 480],
          mediaTypes: {
              video: {
                  context: "instream"
              }
          },
          bids: [{
              bidder: 'platformio',
              params: {
                  pubId: '29521',
                  siteId: '26049',
                  size: '640X480',
                  placementId: '123',
                  video: {
                      skippable: true,
                  }
              }
          }]
      }
  ];