Skip to content

Custom Targeting is concatenated for all Bids #12907

@evans-sam

Description

@evans-sam

Custom targeting values from multiple bids with the same key are concatenated and set with the ad server, with

{
  enableSendAllBids: false,
  targetingControls: {
    alwaysIncludeDeals: true
  },
  sendBidsControl: {
    bidLimit: 1
  }
}
bid1: {
  'cpm': 1.0,
  'adserverTargeting': {
    'foo': 'bar',
  },
},

bid2: {
  'cpm': 0.5,
  'adserverTargeting': {
    'foo': 'baz',
  },
},

I would say the expected result targeting would be foo: bar, however the resulting targeting is foo: bar,baz. The test assertions in targeting_spec.js seem to indicate this is not the intended behavior

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions