type TargetingPreset (v202411)

  • The TargetingPresetService allows for the creation and updating of TargetingPresets, which are user-defined targeting criteria.

  • Each TargetingPreset has a unique ID, a required name (up to 255 characters), and required targeting criteria.

  • TargetingPresets are identified by a unique ID assigned by Google and contain targeting criteria defined within the 'Targeting' attribute.

User-defined preset targeting criteria.


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

Field

id

xsd:long

The unique ID of the TargetingPreset. This value is readonly and is assigned by Google.

name

xsd:string

The name of the TargetingPreset. This value is required to create a targeting preset and has a maximum length of 255 characters.

targeting

Targeting

Contains the targeting criteria for the TargetingPreset. This attribute is required.