Skip to content

Latest commit

 

History

History
115 lines (97 loc) · 3.03 KB

adport.md

File metadata and controls

115 lines (97 loc) · 3.03 KB
layout title description aliasCode pbjs pbs pbs_app_supported biddercode userIds media_types schain_supported dchain_supported ortb_blocking_supported floors_supported multiformat_supported tcfeu_supported dsa_supported gvl_id usp_supported coppa_supported gpp_sids userId safeframes_ok deals_supported fpd_supported prebid_member privacy_sandbox sidebarType
bidder
AdPort
Prebid AdPort Bidder Adapter
adverxo
true
true
true
adport
banner, native, video
true
false
true
true
will-bid-on-any
false
false
none
false
false
none
false
false
true
true
false
false
1

Note

The AdPort Bidding adapter requires setup and approval before beginning. Please reach out to prebid@adport.com for more details.

Bid Params

{: .table .table-bordered .table-striped }

Name Scope Description Example Type
adUnitId required Unique identifier for the ad unit in AdPort platform. 1 integer
auth required Authentication token provided by AdPort platform for the AdUnit. '61336e75e414c77c367eq5c47c2599ce80a8032b' string

Setting First Party Data (FPD)

Publishers should use the ortb2 method of setting First Party Data. The following fields are supported:

  • ortb2.site.*
  • ortb2.app.*
  • ortb2.user.*

Example first party data:

pbjs.setConfig({
    ortb2: {
        site: {
            keywords: "kw1,kw2",
            content: {
                title: "title1",
                series: "series1"
            }
        },
        user: {
            keywords: "a,b",
            gender: "M",
            yob: 1984
        }
    }
});

ORTB Blocking

AdPort supports the next blocking parameters:

  • Blocked advertisers list (badv) is an array of domains as strings.
  • Blocked apps list (bapp) is an array of apps names as strings, for mobile apps in Google Play Store, these should be bundle or package names (e.g. com.foo.mygame). For apps in Apple App Store, these should be a numeric ID.
  • Blocked categories list (bcat) is an array of IAB categories as strings.
  • Blocked attributes list (battr) is an array of integers. Refer to section 5.3 of the IAB specification for a list of attributes.

Globally defined ORTB Blocking

pbjs.setConfig({
    ortb2: {
        badv: ["domain1.com", "domain2.com"],
        bapp: ["com.foo.mygame", "284708449"],
        bcat: ["IAB23-1", "IAB23-5", "IAB25-3", "IAB25-2"]
    }
});

ORTB Blocking specific only to the AdPort bidder

pbjs.setBidderConfig({
    bidders: ['adport'], // Or alias
    config: {
        ortb2: {
            badv: ["domain1.com", "domain2.com"],
            bapp: ["com.foo.mygame"],
            bcat: ["IAB23-1", "IAB23-5", "IAB25-3", "IAB25-2"]
        }
    }
});

Media Type defined ORTB Blocking

Additionally battr ORTB blocking param may be set on media types to specify blocked creative attributes. Refer to section 5.3 of the IAB specification for a list of attributes.