type UserDomainTargeting (v202411)

  • UserDomainTargeting allows line items to target or exclude users based on the domains they visit.

  • Targeting can be applied to specific domains or subdomains, with a maximum length of 67 characters per domain.

  • Advertisers can choose to either target or exclude users from the specified domains.

  • The domains field is required for UserDomainTargeting, while the targeted field is optional and defaults to true.

Provides line items the ability to target or exclude users visiting their websites from a list of domains or subdomains.


Namespace
https://www.google.com/apis/ads/publisher/v202411

Field

domains

xsd:string[]

The domains or subdomains that are being targeted or excluded by the LineItem. This attribute is required and the maximum length of each domain is 67 characters.

targeted

xsd:boolean

Indicates whether domains should be targeted or excluded. This attribute is optional and defaults to true.