Skip to content

Commit c550653

Browse files
committed
Merge branch 'v_0_3_3' into more_params
2 parents 662d02c + 7553e69 commit c550653

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

dev-docs/publisher-api-reference/getBidResponses.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This function returns the bid responses at the given moment.
3030
| `responseTimestamp` | Integer | The time stamp when the bid response is received in milliseconds | 1444844944185 |
3131
| `timeToRespond` | Integer | The amount of time for the bidder to respond with the bid | 79 |
3232
| `adUnitCode` | String | adUnitCode to get the bid responses for | "/9968336/header-bid-tag-0" |
33-
| `creativeId` | Integer | Bidder-specific creative ID | 12345678 |
33+
| `creativeId` | String | Bidder-specific creative ID | `"12345678"` |
3434
| `mediaType` | String | One of: banner, native, video | `banner` |
3535
| `dealId` | String | (Optional) If the bid is [associated with a Deal]({{site.baseurl}}/adops/deals.html), this field contains the deal ID. | "ABC_123" |
3636
| `adserverTargeting` | Object | Contains all the adserver targeting parameters | `{ "hb_bidder": "appnexus", "hb_adid": "7a53a9d3" }` |
@@ -195,7 +195,7 @@ This function returns the bid responses at the given moment.
195195
"pbLg" : "5.00",
196196
"width" : 0,
197197
"requestTimestamp" : 1516315716062,
198-
"creativeId" : 81589325,
198+
"creativeId" : "81589325",
199199
"pbCg" : "",
200200
"adUnitCode" : "div-banner-outstream-native",
201201
"size" : "0x0",

prebid-server/endpoints/openrtb2/pbs-endpoint-auction.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -589,8 +589,8 @@ to set these params on the response at `response.seatbid[i].bid[j].ext.prebid.ta
589589
| mediatypepricegranularity.native | no | Defines how PBS quantizes bid prices into buckets for native. | (see below) | object |
590590
| mediatypepricegranularity.TYPE.precision | no | How many decimal places are there in price buckets. | Defaults to 2 | integer |
591591
| mediatypepricegranularity.TYPE.ranges | no | Same as pricegranularity.ranges | (see below) | array of objects |
592-
| includewinners | no | Whether to include targeting for the winning bids in response.seatbid[].bid[]. ext.prebid.targeting. Defaults to false. | true | boolean |
593-
| includebidderkeys | no | Whether to include targeting for the best bid from each bidder in response.seatbid[].bid[]. ext.prebid.targeting. Defaults to false. | true | boolean |
592+
| includewinners | no | Whether to include targeting for the winning bids in response.seatbid[].bid[]. ext.prebid.targeting. Defaults to true. | true | boolean |
593+
| includebidderkeys | no | Whether to include targeting for the best bid from each bidder in response.seatbid[].bid[]. ext.prebid.targeting. Defaults to true. | true | boolean |
594594
| includeformat | no | Whether to include the "hb_format" targeting key. Defaults to false. | false | boolean |
595595
| preferdeals | no | If targeting is returned and this is true, PBS will choose the highest value deal before choosing the highest value non-deal. Defaults to false. | true | boolean |
596596
| alwaysincludedeals | no | If true, generate hb_ATTR_BIDDER values for all bids that have a dealid | true | boolean |
@@ -611,10 +611,10 @@ to set these params on the response at `response.seatbid[i].bid[j].ext.prebid.ta
611611
// "pricegranularity": "medium"
612612
}]
613613
},
614-
"includewinners": true, // Optional param defaulting to false
615-
"includebidderkeys": false, // Optional param defaulting to false
614+
"includewinners": true, // Optional param defaulting to true
615+
"includebidderkeys": false, // Optional param defaulting to true
616616
"includeformat": false, // Optional param defaulting to false
617-
"preferdeals": true // Optional param defaulting to false
617+
"preferdeals": true, // Optional param defaulting to false
618618
"alwaysincludedeals": true // Optional param defaulting to false
619619
}
620620
}
@@ -626,7 +626,7 @@ The list of price granularity ranges must be given in order of increasing `max`
626626

627627
For backwards compatibility the following strings will also be allowed as price granularity definitions. There is no guarantee that these will be honored in the future. "One of ['low', 'med', 'high', 'auto', 'dense']" See [price granularity definitions](/adops/price-granularity.html).
628628

629-
One of "includewinners" or "includebidderkeys" should be true if you want targeting - both default to false if unset. If both are false, then no targeting keys will be set, which is better configured by omitting targeting altogether.
629+
One of "includewinners" or "includebidderkeys" should be true if you want targeting - both default to true if unset. If both are true, then all the targeting keys will be set, which is better configured by omitting targeting altogether.
630630

631631
The parameter "includeformat" indicates the type of the bid (banner, video, etc) for multiformat requests. It will add the key `hb_format` and/or `hb_format_{bidderName}` as per "includewinners" and "includebidderkeys" above.
632632

0 commit comments

Comments
 (0)