The TargetingRule data object represents the (inventory) attributes and values that can or must be targeted by a buyer.
| Element | Data Type | Description |
|---|---|---|
| accountID | string | The ID of the account. |
| createTimestamp | dateTime | The date the targeting rule was created. |
| ID | long | The ID of the booking limit. |
|
targetingAttributes AllowedInOrders |
TargetingAttribute Descriptor[] |
The targeting attribute types that are allowed in orders. If necessary, use getAllowedTargetingAttributeTypes operation to retrieve the targeting attribute types that can be allowed in an order. Note: You must allow, disable, or preset targeting attribute types in a targeting rule. |
|
targetingAttributes PresetInOrders |
TargetingAttribute Descriptor[] |
The targeting attribute types that are preset for orders. If necessary, use getPresetTargetingAttributeTypes operation to retrieve the targeting attribute types that can be preset in an order. Note: You must allow, disable, or preset targeting attribute types in a targeting rule. |
|
targetingAttribute TypesDisabledInOrders |
TargetingAttribute Type[] |
The targeting attribute types that are disabled in orders. If necessary, use getDisabledTargetingAttributeTypes operation to retrieve the targeting attribute types that can be disabled in an order. Note: You must allow, disable, or preset targeting attribute types in a targeting rule. |
| lastUpdateTimestamp | dateTime | The date the targeting rule was last updated. |
| partnerRuleID | long | The ID of the partner rule. |