Prebid.js icon indicating copy to clipboard operation
Prebid.js copied to clipboard

Can Pubmatic Adapter's 'AdSlot' param be given as their 'Ad Tag ID'?

Open tomraa opened this issue 9 years ago • 1 comments

Type of issue

Question

Description

When the Pubmatic adapter is initiated, it requires an 'AdSlot' param. In some legacy code we have, this works currently by the value being a DFP Ad Slot name, like "/12345678/setup/12345/0@300x250". So the request to gads.pubmatic.com/AdServer/AdCallAggregator ends up with a param like this: adslots: [/12345678/setup/12345/0@300x250] Pubmatic recognise this as a placement they've set up for us because they map the DFP Ad Slot name we give them each time we create a new placement.

Does anyone know if it is possible just to initialise the Pubmatic adapter with the 'AdSlot' param as the native Ad Tag ID that Pubmatic placements initially have before the mapping to another name is done? (usually a 7-digit number like "1234567"). Would they recognise the format given in the prebid docs by default? adslots: [1234567@300x250]

Platform details

Prebid.js 0.29.0

Other information

Pubmatic documentation: http://developer.pubmatic.com/sites/default/files/Decision%20Manager%20Standard%202.4%20Technical%20Integration%20Guide_1.pdf

tomraa avatar Oct 18 '17 11:10 tomraa

Pubmatic have confirmed for us that using the default Ad Tag IDs in "adslots" will not work unless they map the placements to be recognised as those names at their end. Currently there will always need to be a mapping step for Ad Tags to be recognised as what is sent in "adslots".

tomraa avatar Nov 03 '17 13:11 tomraa