Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 783 Bytes

File metadata and controls

30 lines (22 loc) · 783 Bytes
layout api_prebidjs
title pbjs.getAdserverTargetingForAdUnitCode([adunitCode])
description getAdserverTargetingForAdUnitCode API
sidebarType 1

This function returns the query string targeting parameters available at this moment for a given ad unit. For full documentation see function pbjs.getAdserverTargeting().

Kind: static method of pbjs

Returns: object - returnObj return bids

Request Params:

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

Param Type Description
[adunitCode] string adUnitCode to get the bid responses for

Returned Object Example:

{
  "hb_bidder": "rubicon",
  "hb_adid": "13f44b0d3c",
  "hb_pb": "0.50"
}