Outbrain
Features
Bidder Code | outbrain | Prebid.org Member | no |
---|---|---|---|
Media Types | display, native | GDPR Support | yes |
User IDs | none | COPPA Support | yes |
"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_outbrain |
hb_bidder_outbrain |
hb_adid_outbrain |
hb_size_outbrain |
hb_source_outbrain |
hb_format_outbrain |
hb_cache_host_outbra |
hb_cache_id_outbrain |
hb_uuid_outbrain |
"Deal ID" Ad Server Key
hb_deal_outbrain
Registration
The Outbrain Adapter requires setup before beginning. Please contact us at prebid.org@outbrain.com.
Configuration
Bidder and usersync URLs
The Outbrain adapter does not work without setting the correct bidder and usersync URLs. You will receive the URLs when contacting us.
Also note that the Outbrain adapter is an aliased adapter and for usersync to work you also need to enable it as shown below
on the usersync
config object.
pbjs.setConfig({
outbrain: {
bidderUrl: 'https://bidder-url.com',
usersyncUrl: 'https://usersync-url.com'
},
userSync: {
aliasSyncEnabled: true
}
});
Bid Params
Name | Scope | Description | Example | Type |
---|---|---|---|---|
publisher.id |
required | The publisher account ID | '2706' |
string |
publisher.name |
optional | The publisher name | 'Publisher Name' |
string |
publisher.domain |
optional | The publisher domain | 'publisher.com' |
string |
tagid |
optional | Identifier for specific ad placement or ad tag | 'tag-id' |
string |
Native example
var adUnits = [
code: '/19968336/prebid_native_example_1',
mediaTypes: {
native: {
image: {
required: false,
sizes: [100, 50]
},
title: {
required: false,
len: 140
},
sponsoredBy: {
required: false
},
clickUrl: {
required: false
},
body: {
required: false
},
icon: {
required: false,
sizes: [50, 50]
}
}
},
bids: [{
bidder: 'outbrain',
params: {
publisher: {
id: '2706',
name: 'Publishers Name',
domain: 'publisher.com'
},
tagid: 'tag-id'
}
}]
];
Banner example
var adUnits = [
code: '/19968336/prebid_display_example_1',
mediaTypes: {
banner: {
sizes: [[300, 250]]
}
},
bids: [{
bidder: 'outbrain',
params: {
publisher: {
id: '2706',
name: 'Publishers Name',
domain: 'publisher.com'
},
tagid: 'tag-id',
}
}]
];