# type Targeting (v202511)

**Service** [AdRuleService](https://developers.google.com/ad-manager/api/reference/v202511/AdRuleService.Targeting) [AdjustmentService](https://developers.google.com/ad-manager/api/reference/v202511/AdjustmentService.Targeting) **ForecastService** [LineItemService](https://developers.google.com/ad-manager/api/reference/v202511/LineItemService.Targeting) [NativeStyleService](https://developers.google.com/ad-manager/api/reference/v202511/NativeStyleService.Targeting) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202511/ProposalLineItemService.Targeting) [ProposalService](https://developers.google.com/ad-manager/api/reference/v202511/ProposalService.Targeting) [PublisherQueryLanguageService](https://developers.google.com/ad-manager/api/reference/v202511/PublisherQueryLanguageService.Targeting) [TargetingPresetService](https://developers.google.com/ad-manager/api/reference/v202511/TargetingPresetService.Targeting) [YieldGroupService](https://developers.google.com/ad-manager/api/reference/v202511/YieldGroupService.Targeting) **Dependencies** [CreativeTargeting](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.CreativeTargeting) [ForecastBreakdownTarget](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.ForecastBreakdownTarget) [LineItem](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.LineItem) [ProposalLineItem](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.ProposalLineItem) [TrafficDataRequest](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.TrafficDataRequest) ▼ **Targeting**

Contains targeting criteria for [LineItem](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.LineItem) objects. See [LineItem.targeting](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.LineItem#targeting).

*** ** * ** ***

Namespace
:
    `https://www.google.com/apis/ads/publisher/v202511`

| ## Field ||
|---|---|
| ### `geoTargeting` | ` https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.GeoTargeting ` Specifies what geographical locations are targeted by the [LineItem](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.LineItem). This attribute is optional. |
| ### `inventoryTargeting` | ` https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.InventoryTargeting ` Specifies what inventory is targeted by the [LineItem](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.LineItem). This attribute is required. The line item must target at least one ad unit or placement. |
| ### `dayPartTargeting` | ` https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.DayPartTargeting ` Specifies the days of the week and times that are targeted by the [LineItem](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.LineItem). This attribute is optional. |
| ### `dateTimeRangeTargeting` | ` https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.DateTimeRangeTargeting ` Specifies the dates and time ranges that are targeted by the [LineItem](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.LineItem). This attribute is optional. |
| ### `technologyTargeting` | ` https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.TechnologyTargeting ` Specifies the browsing technologies that are targeted by the [LineItem](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.LineItem). This attribute is optional. |
| ### `customTargeting` | ` https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.CustomCriteriaSet ` Specifies the collection of custom criteria that is targeted by the [LineItem](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.LineItem). Once the [LineItem](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.LineItem) is updated or modified with custom targeting, the server may return a normalized, but equivalent representation of the custom targeting expression. `customTargeting` will have up to three levels of expressions including itself. The top level `CustomCriteriaSet` i.e. the `customTargeting` object can only contain a [CustomCriteriaSet.LogicalOperator.OR](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.CustomCriteriaSet.LogicalOperator#OR) of all its children. The second level of `CustomCriteriaSet` objects can only contain [CustomCriteriaSet.LogicalOperator.AND](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.CustomCriteriaSet.LogicalOperator#AND) of all their children. If a [CustomCriteria](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.CustomCriteria) is placed on this level, the server will wrap it in a [CustomCriteriaSet](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.CustomCriteriaSet). The third level can only comprise of [CustomCriteria](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.CustomCriteria) objects. The resulting custom targeting tree would be of the form: ![](https://chart.apis.google.com/chart?cht=gv&chl=digraph%7BcustomTargeting_LogicalOperator_OR-%3ECustomCriteriaSet_LogicalOperator_AND_1-%3ECustomCriteria_1;CustomCriteriaSet_LogicalOperator_AND_1-%3Eellipsis1;customTargeting_LogicalOperator_OR-%3Eellipsis2;ellipsis1%5Blabel%3D%22...%22,shape%3Dnone,fontsize%3D32%5D;ellipsis2%5Blabel%3D%22...%22,shape%3Dnone,fontsize%3D32%5D%7D&chs=450x200) <br /> |
| ### `userDomainTargeting` | ` https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.UserDomainTargeting ` Specifies the domains or subdomains that are targeted or excluded by the [LineItem](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.LineItem). Users visiting from an IP address associated with those domains will be targeted or excluded. This attribute is optional. |
| ### `contentTargeting` | ` https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.ContentTargeting ` Specifies the video categories and individual videos targeted by the [LineItem](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.LineItem). |
| ### `videoPositionTargeting` | ` https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.VideoPositionTargeting ` Specifies targeting against video position types. |
| ### `mobileApplicationTargeting` | ` https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.MobileApplicationTargeting ` Specifies targeting against mobile applications. |
| ### `buyerUserListTargeting` | ` https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.BuyerUserListTargeting ` Specifies whether buyer user lists are targeted on a programmatic [LineItem](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.LineItem) or [ProposalLineItem](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.ProposalLineItem). This attribute is readonly and is populated by Google. |
| ### `inventoryUrlTargeting` | ` https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.InventoryUrlTargeting ` Specifies the URLs that are targeted by the entity. This is currently only supported by [YieldGroup](https://developers.google.com/ad-manager/api/reference/v202511/YieldGroupService.YieldGroup). |
| ### `verticalTargeting` | ` https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.VerticalTargeting ` Specifies the verticals that are targeted by the entity. The IDs listed here correspond to the IDs in the AD_CATEGORY table of type VERTICAL. |
| ### `contentLabelTargeting` | ` https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.ContentLabelTargeting ` Specifies the content labels that are excluded by the entity. The IDs listed here correspond to the IDs in the CONTENT_LABEL table. |
| ### `requestPlatformTargeting` | ` https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.RequestPlatformTargeting ` Specifies the request platforms that are targeted by the [LineItem](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.LineItem). This attribute is required for video line items and for [ProposalLineItem](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.ProposalLineItem). This value is modifiable for video line items, but read-only for non-video line items. This value is read-only for video line items generated from proposal line items. <br /> |
| ### `inventorySizeTargeting` | ` https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.InventorySizeTargeting ` Specifies the sizes that are targeted by the entity. This is currently only supported on [YieldGroup](https://developers.google.com/ad-manager/api/reference/v202511/YieldGroupService.YieldGroup) and [TrafficDataRequest](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.TrafficDataRequest). |
| ### `publisherProvidedSignalsTargeting` | ` https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.PublisherProvidedSignalsTargeting ` <br /> |