type TargetingPreset (v202402)
Service
TargetingPresetService
User-defined preset targeting criteria.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202402
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-02-13 UTC.
[null,null,["Last updated 2024-02-13 UTC."],[[["TargetingPresetService allows you to define and manage user-defined targeting criteria presets."],["Each TargetingPreset has a unique ID, a required name (up to 255 characters), and targeting criteria."],["The Targeting attribute within TargetingPreset defines the specific targeting criteria for the preset."]]],["The core content defines the `TargetingPreset` within the `TargetingPresetService`. A `TargetingPreset` is a user-defined set of targeting criteria. Key fields include: `id` (a read-only unique identifier), `name` (a required string with a 255-character limit), and `targeting` (the required targeting criteria). The service is part of a specific namespace, and `TargetingPresetPage` is a dependency. The targeting criteria are within the `Targeting` attribute.\n"]]