type TargetingPreset (v202411)
Service
TargetingPresetService
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-19 UTC.
[null,null,["Last updated 2024-11-19 UTC."],[[["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."]]],["The content details the `TargetingPresetService`, which allows managing user-defined targeting criteria. Key actions include creating and updating `TargetingPresets` via `createTargetingPresets()` and `updateTargetingPresets()`. A `TargetingPreset` requires a unique `name` (up to 255 characters) and `targeting` criteria. Each preset is assigned a read-only `id`. The `TargetingPresetPage` is also listed as a dependency, which likely contains the data associated with multiple presets.\n"]]