AI-generated Key Takeaways
- 
          Display & Video 360 API v2 has sunset. 
- 
          The TargetingExpansionConfigsettings control the optimized targeting for a line item.
- 
          The targetingExpansionLevelfield is required and determines if optimized targeting is on or off, withNO_EXPANSIONbeing the default.
- 
          The excludeFirstPartyAudiencefield is deprecated and will be set tofalse.
Settings that control the optimized targeting settings of the line item.
| JSON representation | 
|---|
| {
  "targetingExpansionLevel": enum ( | 
| Fields | |
|---|---|
| targetingExpansionLevel | 
 Required. Whether optimized targeting is turned on. This field supports the following values: 
 If this field is set to any other value, it will automatically be set to  
 | 
| excludeFirstPartyAudience | 
 Whether to exclude first-party audiences from use in targeting expansion. This field was deprecated with the launch of optimized targeting. This field will be set to  | 
TargetingExpansionLevel
The Optimized targeting setting.
| Enums | |
|---|---|
| TARGETING_EXPANSION_LEVEL_UNSPECIFIED | The optimized targeting setting is not specified or is unknown in this version. | 
| NO_EXPANSION | Optimized targeting is off. | 
| LEAST_EXPANSION | Optimized targeting is on. | 
| SOME_EXPANSION | If used, will automatically be set to  | 
| BALANCED_EXPANSION | If used, will automatically be set to  | 
| MORE_EXPANSION | If used, will automatically be set to  | 
| MOST_EXPANSION | If used, will automatically be set to  |