Platform.io

Features

Bidder CodeplatformioPrebid.org Memberno
Media Typesdisplay, video, nativeGDPR Supportyes
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_platformiohb_bidder_platformiohb_adid_platformio
hb_size_platformiohb_source_platformiohb_format_platformio
hb_cache_host_platfohb_cache_id_platformhb_uuid_platformio

"Deal ID" Ad Server Key

hb_deal_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,
                  }
              }
          }]
      }
  ];