Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.AdManager.v202305.Targeting Class Reference

Contains targeting criteria for LineItem objects. See LineItem::targeting. More...

Properties

GeoTargeting geoTargeting [get, set]
 Specifies what geographical locations are targeted by the LineItem. This attribute is optional. More...
 
InventoryTargeting inventoryTargeting [get, set]
 Specifies what inventory is targeted by the LineItem. This attribute is required. The line item must target at least one ad unit or placement. More...
 
DayPartTargeting dayPartTargeting [get, set]
 Specifies the days of the week and times that are targeted by the LineItem. This attribute is optional. More...
 
DateTimeRange[] dateTimeRangeTargeting [get, set]
 Specifies the dates and time ranges that are targeted by the LineItem. This attribute is optional. More...
 
TechnologyTargeting technologyTargeting [get, set]
 Specifies the browsing technologies that are targeted by the LineItem. This attribute is optional. More...
 
CustomCriteriaSet customTargeting [get, set]
 Specifies the collection of custom criteria that is targeted by the LineItem. More...
 
UserDomainTargeting userDomainTargeting [get, set]
 Specifies the domains or subdomains that are targeted or excluded by the LineItem. Users visiting from an IP address associated with those domains will be targeted or excluded. This attribute is optional. More...
 
ContentTargeting contentTargeting [get, set]
 Specifies the video categories and individual videos targeted by the LineItem. More...
 
VideoPositionTargeting videoPositionTargeting [get, set]
 Specifies targeting against video position types. More...
 
MobileApplicationTargeting mobileApplicationTargeting [get, set]
 Specifies targeting against mobile applications. More...
 
BuyerUserListTargeting buyerUserListTargeting [get, set]
 Specifies whether buyer user lists are targeted on a programmatic LineItem or ProposalLineItem. This attribute is readonly and is populated by Google. More...
 
InventoryUrlTargeting inventoryUrlTargeting [get, set]
 Specifies the URLs that are targeted by the entity. This is currently only supported by YieldGroup. More...
 
RequestPlatformTargeting requestPlatformTargeting [get, set]
 Specifies the request platforms that are targeted by the LineItem. This attribute is required for video line items and for ProposalLineItem. More...
 
InventorySizeTargeting inventorySizeTargeting [get, set]
 Specifies the sizes that are targeted by the entity. This is currently only supported on YieldGroup and TrafficDataRequest. More...
 

Detailed Description

Contains targeting criteria for LineItem objects. See LineItem::targeting.

Property Documentation

BuyerUserListTargeting Google.Api.Ads.AdManager.v202305.Targeting.buyerUserListTargeting
getset

Specifies whether buyer user lists are targeted on a programmatic LineItem or ProposalLineItem. This attribute is readonly and is populated by Google.

ContentTargeting Google.Api.Ads.AdManager.v202305.Targeting.contentTargeting
getset

Specifies the video categories and individual videos targeted by the LineItem.

CustomCriteriaSet Google.Api.Ads.AdManager.v202305.Targeting.customTargeting
getset

Specifies the collection of custom criteria that is targeted by the LineItem.

Once the 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 object can only contain a CustomCriteriaSet.LogicalOperator::OR of all its children.

The second level of CustomCriteriaSet objects can only contain CustomCriteriaSet.LogicalOperator::AND of all their children. If a CustomCriteria is placed on this level, the server will wrap it in a CustomCriteriaSet.

The third level can only comprise of CustomCriteria objects.

The resulting custom targeting tree would be of the form:

DateTimeRange [] Google.Api.Ads.AdManager.v202305.Targeting.dateTimeRangeTargeting
getset

Specifies the dates and time ranges that are targeted by the LineItem. This attribute is optional.

DayPartTargeting Google.Api.Ads.AdManager.v202305.Targeting.dayPartTargeting
getset

Specifies the days of the week and times that are targeted by the LineItem. This attribute is optional.

GeoTargeting Google.Api.Ads.AdManager.v202305.Targeting.geoTargeting
getset

Specifies what geographical locations are targeted by the LineItem. This attribute is optional.

InventorySizeTargeting Google.Api.Ads.AdManager.v202305.Targeting.inventorySizeTargeting
getset

Specifies the sizes that are targeted by the entity. This is currently only supported on YieldGroup and TrafficDataRequest.

InventoryTargeting Google.Api.Ads.AdManager.v202305.Targeting.inventoryTargeting
getset

Specifies what inventory is targeted by the LineItem. This attribute is required. The line item must target at least one ad unit or placement.

InventoryUrlTargeting Google.Api.Ads.AdManager.v202305.Targeting.inventoryUrlTargeting
getset

Specifies the URLs that are targeted by the entity. This is currently only supported by YieldGroup.

MobileApplicationTargeting Google.Api.Ads.AdManager.v202305.Targeting.mobileApplicationTargeting
getset

Specifies targeting against mobile applications.

RequestPlatformTargeting Google.Api.Ads.AdManager.v202305.Targeting.requestPlatformTargeting
getset

Specifies the request platforms that are targeted by the LineItem. This attribute is required for video line items and for 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.

TechnologyTargeting Google.Api.Ads.AdManager.v202305.Targeting.technologyTargeting
getset

Specifies the browsing technologies that are targeted by the LineItem. This attribute is optional.

UserDomainTargeting Google.Api.Ads.AdManager.v202305.Targeting.userDomainTargeting
getset

Specifies the domains or subdomains that are targeted or excluded by the LineItem. Users visiting from an IP address associated with those domains will be targeted or excluded. This attribute is optional.

VideoPositionTargeting Google.Api.Ads.AdManager.v202305.Targeting.videoPositionTargeting
getset

Specifies targeting against video position types.


The documentation for this class was generated from the following file: