Platform.io
Note:
This adapter is not available in current versions of Prebid.js. Reason: not ported to 5.xFeatures
| Bidder Code | platformio | Prebid.org Member | no | 
|---|---|---|---|
| Media Types | display, video, native | GDPR TCF Support | yes | 
| User IDs | none | USP/CCPA Support | no | 
| Supply Chain Support | no | COPPA Support | no | 
| Demand Chain Support | no | Safeframes OK | check with bidder | 
| Supports Deals | check with bidder | Prebid.js Adapter | yes | 
| IAB GVL ID | check with bidder | Prebid Server Adapter | no | 
| Floors Module Support | no | First Party Data Support | check with bidder | 
| Multi Format Support | check with bidder | ORTB Blocking Support | check with bidder | 
"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_platformio | hb_bidder_platformio | hb_adid_platformio | 
| hb_size_platformio | hb_source_platformio | hb_format_platformio | 
| hb_cache_host_platfo | hb_cache_id_platform | hb_uuid_platformio | 
| hb_cache_path_platfo | hb_deal_platformio | 
Disclosure
This bidder sets adId on the bid response and hasn’t responded to the Prebid.js team to confirm uniqueness
of this value. See Issue 6381.
Bid Params
| Name | Scope | Description | Example | Type | 
|---|---|---|---|---|
| pubId | required | The publisher account ID | '28082' | string | 
| siteId | required | The publisher site ID | '26047' | 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',
          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',
                  bidFloor: '0.001', // optional
                  ifa: 'XXX-XXX', // optional
                  latitude: '40.712775', // optional
                  longitude: '-74.005973', // optional
              }
          }]
      },
      {
          code: 'dfp-banner-div',
          mediaTypes: {
              banner: {
                  sizes: [
                      [300, 250],[300,600]
                  ],
              }
          },
          bids: [{
              bidder: 'platformio',
              params: {
                  pubId: '29521',
                  siteId: '26049',
                  placementId: '123',
              }
          }]
      },
      {
          code: 'dfp-video-div',
          mediaTypes: {
              video: {
                  playerSize: [[640, 480]],
                  context: "instream"
              }
          },
          bids: [{
              bidder: 'platformio',
              params: {
                  pubId: '29521',
                  siteId: '26049',
                  placementId: '123',
                  video: {
                      skippable: true,
                  }
              }
          }]
      }
  ];