> [!WARNING]
> Display \& Video 360 API v5 is currently in beta.

- [JSON representation](https://developers.google.com/display-video/api/reference/rest/v5/TargetingExpansionConfig#SCHEMA_REPRESENTATION)

Settings that control the [optimized targeting](https://support.google.com/displayvideo/answer/12060859) settings of the line item.

| JSON representation |
|---|
| ``` { "enableOptimizedTargeting": boolean, "excludeDemographicExpansion": boolean } ``` |

| Fields ||
|---|---|
| `enableOptimizedTargeting` | `boolean` Required. Whether to enable Optimized Targeting for the line item. Optimized targeting is not compatible with all bid strategies. Attempting to set this field to `true` for a line item using the `https://developers.google.com/display-video/api/reference/rest/v5/BiddingStrategy` field `https://developers.google.com/display-video/api/reference/rest/v5/BiddingStrategy#FIELDS.fixed_bid` or one of the following combinations of `https://developers.google.com/display-video/api/reference/rest/v5/BiddingStrategy` fields and `https://developers.google.com/display-video/api/reference/rest/v5/BiddingStrategy#BiddingStrategyPerformanceGoalType` will result in an error: `https://developers.google.com/display-video/api/reference/rest/v5/BiddingStrategy#FIELDS.maximize_spend_auto_bid`: - `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA` - `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN` - `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED` `https://developers.google.com/display-video/api/reference/rest/v5/BiddingStrategy#FIELDS.performance_goal_auto_bid`: - `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM` This also applies if the line item inherits one of the above bid strategies from the parent insertion order. Bid strategies set at the insertion order-level will be inherited by their line items if the `InsertionOrder` budget field `https://developers.google.com/display-video/api/reference/rest/v5/advertisers.insertionOrders#InsertionOrderBudget.FIELDS.automation_type` is set to `INSERTION_ORDER_AUTOMATION_TYPE_BUDGET` or `INSERTION_ORDER_AUTOMATION_TYPE_BID_BUDGET`. |
| `excludeDemographicExpansion` | `boolean` Optional. Whether to exclude demographic expansion for Optimized Targeting. This field can only be set for Demand Gen ad groups. |