Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table Plus

Field

Field Type

Description

Default

value

text

The bid value. If the tree model is bid price, the bid is expressed in the currency set for this advertiser. If the tree model is bid modifier, the bid is a float or an integer. Possible values are:

  • compute(input_field, multiplier, offset, min_value, max_value)
  • no_bid
  • a static value (number)

Specifying compute calculates a value based on one of the input fields below. To omit a calculation (multiplier, offset, minimum value, or maximum value), use an underscore (_) for the omitted value. 

Warning

Do not use compute() expressions that evaluate to negative numbers or to zero (0). These values are not supported and may provide unexpected results.  It is best to specify no_bid explicitly.


 

leaf_name

string(7)

An optional string value that will be passed through to logs and reporting to aid with debugging and performance analysis. leaf_name is wrapped in double quotation marks, may be up to seven ASCII (7-bit) characters and is not required to be unique.

Warning

Because leaf_name is a string, the value must be wrapped in enclosed by double quotation marks (").

 
Show If
groupAppNexus Employee
Info

This note is only visible to AppNexus employees.

Internal-only fields

id text

 ID used to mimic campaigns for splitter bidder models.

 

Removed from the table above because this may not be supported for augmented line items:

is_learn

boolean

If True, this bid is a learn bid and should count against the learn budget.

False
 

...

Toggle Cloak
Example bid price with estimated average price. One leaf has a minimum allowable bid price but no limit on the maximum.

Cloak

Lines beginning with # are comments to help you understand the logic of this tree.

pytrue

 

Toggle Cloak
Example bid price tree with estimated clearing price, no bid, and static value smart leaves.

Cloak

Lines beginning with # are comments to help you understand the logic of this tree.

pytrue

Smart leaf notation is backward compatible with older leaf notation. Thus, because the last else expression specifies a static value, you can also write it more simply as:

Note, though, that you can't specify a leaf name if you use the simpler notation.

 

Toggle Cloak
Example bid modifier tree with estimated IAB viewthrough rate smart leaves. 

Cloak

Lines beginning with # are comments to help you understand the logic of this tree.

pytrue

Smart leaf notation is backward compatible with older leaf notation. Thus, because the last else expression specifies a static value, you can also write it more simply as:

Note, though, that you can't specify a leaf name if you use the simpler notation.

Toggle Cloak
Example bid based on segment value

Cloak

Lines beginning with # are comments to help you understand the logic of this tree.

pytrue

Toggle Cloak
Example bid based on segment age

Cloak

Lines beginning with # are comments to help you understand the logic of this tree.

py

This might replace or supplement segment age targeting.  The above example could provide a more continuous value than targeting like the following:

pytrue

Instead of being the same value for all segments aged between 10 and 20, then dropping 50%, the bid value would gradually decline in step with the segment age.

Toggle Cloak
Example bid based on daily frequency

Cloak

Lines beginning with # are comments to help you understand the logic of this tree.

py

This might replace or supplement frequency targeting.  The above example could provide a more continuous value than targeting like the following:

pytrue

Instead of being the same value for all segments with a daily frequency between 1 and 5, then dropping 25%, the bid value would gradually decline in step with the frequency.

Toggle Cloak
Example bid based on lifetime frequency

Cloak

Lines beginning with # are comments to help you understand the logic of this tree.

py

This might replace or supplement frequency targeting.  The above example could provide a more continuous value than targeting like the following:

pytrue

Instead of being the same value for all segments with a lifetime frequency between 1 and 5, then dropping 33%, the bid value would gradually decline in step with the frequency.

Toggle Cloak
Example bid based on recency

Cloak

Lines beginning with # are comments to help you understand the logic of this tree.

py

This might replace or supplement recency targeting.  The above example could provide a more continuous value than targeting like the following:

pytrue

Instead of being the same value for all segments with a recency less than 10, then dropping 33%, the bid value would gradually decline in step with the recency.

 

...