[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[],["The `TargetingPresetService` manages user-defined targeting criteria presets. Key actions include creating and updating targeting presets using `createTargetingPresets()` and `updateTargetingPresets()`. Each preset, identified by a unique ID, includes a name (up to 255 characters) and a `Targeting` attribute specifying the preset's criteria. These presets are defined within the namespace `https://www.google.com/apis/ads/publisher/v202502` and the `TargetingPresetPage` provides the relevant content.\n"],null,["**Service** \n**TargetingPresetService** **Dependencies** \n[TargetingPresetPage](/ad-manager/api/reference/v202502/TargetingPresetService.TargetingPresetPage) [createTargetingPresets()](/ad-manager/api/reference/v202502/TargetingPresetService#createTargetingPresets) [updateTargetingPresets()](/ad-manager/api/reference/v202502/TargetingPresetService#updateTargetingPresets) \n▼\n**TargetingPreset**\n\nUser-defined preset targeting criteria.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Field ||\n|-------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `id` | ` `xsd:`long` The unique ID of the `TargetingPreset`. This value is readonly and is assigned by Google. |\n| `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. |\n| `targeting` | ` `[Targeting](/ad-manager/api/reference/v202502/TargetingPresetService.Targeting)` ` Contains the targeting criteria for the `TargetingPreset`. This attribute is required. |"]]