Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions dev-docs/examples/custom-price-bucket.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ Same setup as in [Basic Example](/dev-docs/examples/basic-example.html). Check t
<div markdown="1">
#### Line 60 to 88: Customize ad server targeting keywords

In this example, the keywords sent to DFP are changed from the default `hb_pb` to `bid_price`. It also customized the bid price from default `pbMg` ([docs here](http://local/dev-docs/publisher-api-reference.html#bidResponse)) to custom logic. The logic is:
In this example, the keywords sent to DFP are changed from the default `hb_pb` to `custom_bid_price`. It also customized the bid price from default `pbMg` ([docs here](http://local/dev-docs/publisher-api-reference.html#bidResponse)) to custom logic. The logic is:

- Send $0.01 granularity price keywords when the bid price is between $0 to $3.
- Send $0.10 granularity price keywords when the bid price is between $3 to $5.
- Send $0.10 granularity price keywords when the bid price is between $5 to $20.
- Send $20 as the keyword value for any bids above $20.
- Send $0.01 granularity price when the bid price is between $0 to $3.
- Send $0.10 granularity price when the bid price is between $3 to $5.
- Send $0.50 granularity price when the bid price is between $5 to $20.
- Send $20.00 as the keyword value for any bids above $20.

This logic may be driven by the effort to reduce the number of line items while capturing the most accurate bid prices.

Expand Down Expand Up @@ -87,4 +87,4 @@ You can see the effect of this customization if you click into the Result tab of
{% endhighlight %}


</div>
</div>