type SetValue (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Contains a set of Values. May not contain duplicates.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
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 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eThe DaiEncodingProfileService allows for management of encoding profiles for Dynamic Ad Insertion (DAI).\u003c/p\u003e\n"],["\u003cp\u003eIt utilizes a \u003ccode\u003eSetValue\u003c/code\u003e object to manage a collection of values, which can be of various types like Boolean, DateTime, Date, Number, or Text.\u003c/p\u003e\n"],["\u003cp\u003eThese values must be of the same type within a \u003ccode\u003eSetValue\u003c/code\u003e and cannot contain duplicates.\u003c/p\u003e\n"],["\u003cp\u003eThe service operates within the \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e namespace.\u003c/p\u003e\n"]]],["The content details various services and their associated actions within the Ad Manager API (v202411). It lists services like AdRule, Adjustment, AudienceSegment, and more, each using `SetValue`. The `SetValue` contains a collection of `Value` types, including Boolean, DateTime, Date, Number, Object, and Text values, ensuring they are of the same type and not duplicated. These values are managed within the `DaiEncodingProfileService`.\n"],null,["# type SetValue (v202411)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202411/AdRuleService.SetValue) [AdjustmentService](/ad-manager/api/reference/v202411/AdjustmentService.SetValue) [AudienceSegmentService](/ad-manager/api/reference/v202411/AudienceSegmentService.SetValue) [CdnConfigurationService](/ad-manager/api/reference/v202411/CdnConfigurationService.SetValue) [CmsMetadataService](/ad-manager/api/reference/v202411/CmsMetadataService.SetValue) [CompanyService](/ad-manager/api/reference/v202411/CompanyService.SetValue) [ContactService](/ad-manager/api/reference/v202411/ContactService.SetValue) [ContentBundleService](/ad-manager/api/reference/v202411/ContentBundleService.SetValue) [ContentService](/ad-manager/api/reference/v202411/ContentService.SetValue) [CreativeService](/ad-manager/api/reference/v202411/CreativeService.SetValue) [CreativeSetService](/ad-manager/api/reference/v202411/CreativeSetService.SetValue) [CreativeTemplateService](/ad-manager/api/reference/v202411/CreativeTemplateService.SetValue) [CreativeWrapperService](/ad-manager/api/reference/v202411/CreativeWrapperService.SetValue) [CustomFieldService](/ad-manager/api/reference/v202411/CustomFieldService.SetValue) [CustomTargetingService](/ad-manager/api/reference/v202411/CustomTargetingService.SetValue) [DaiAuthenticationKeyService](/ad-manager/api/reference/v202411/DaiAuthenticationKeyService.SetValue) **DaiEncodingProfileService** [ForecastService](/ad-manager/api/reference/v202411/ForecastService.SetValue) [InventoryService](/ad-manager/api/reference/v202411/InventoryService.SetValue) [LabelService](/ad-manager/api/reference/v202411/LabelService.SetValue) [LineItemCreativeAssociationService](/ad-manager/api/reference/v202411/LineItemCreativeAssociationService.SetValue) [LineItemService](/ad-manager/api/reference/v202411/LineItemService.SetValue) [LineItemTemplateService](/ad-manager/api/reference/v202411/LineItemTemplateService.SetValue) [LiveStreamEventService](/ad-manager/api/reference/v202411/LiveStreamEventService.SetValue) [MobileApplicationService](/ad-manager/api/reference/v202411/MobileApplicationService.SetValue) [NativeStyleService](/ad-manager/api/reference/v202411/NativeStyleService.SetValue) [OrderService](/ad-manager/api/reference/v202411/OrderService.SetValue) [PlacementService](/ad-manager/api/reference/v202411/PlacementService.SetValue) [ProposalLineItemService](/ad-manager/api/reference/v202411/ProposalLineItemService.SetValue) [ProposalService](/ad-manager/api/reference/v202411/ProposalService.SetValue) [PublisherQueryLanguageService](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.SetValue) [ReportService](/ad-manager/api/reference/v202411/ReportService.SetValue) [SiteService](/ad-manager/api/reference/v202411/SiteService.SetValue) [StreamActivityMonitorService](/ad-manager/api/reference/v202411/StreamActivityMonitorService.SetValue) [SuggestedAdUnitService](/ad-manager/api/reference/v202411/SuggestedAdUnitService.SetValue) [TargetingPresetService](/ad-manager/api/reference/v202411/TargetingPresetService.SetValue) [TeamService](/ad-manager/api/reference/v202411/TeamService.SetValue) [UserService](/ad-manager/api/reference/v202411/UserService.SetValue) [UserTeamAssociationService](/ad-manager/api/reference/v202411/UserTeamAssociationService.SetValue) [YieldGroupService](/ad-manager/api/reference/v202411/YieldGroupService.SetValue) **Inheritance** \n[Value](/ad-manager/api/reference/v202411/DaiEncodingProfileService.Value) \n▼\n[BooleanValue](/ad-manager/api/reference/v202411/DaiEncodingProfileService.BooleanValue) [DateTimeValue](/ad-manager/api/reference/v202411/DaiEncodingProfileService.DateTimeValue) [DateValue](/ad-manager/api/reference/v202411/DaiEncodingProfileService.DateValue) [NumberValue](/ad-manager/api/reference/v202411/DaiEncodingProfileService.NumberValue) [ObjectValue](/ad-manager/api/reference/v202411/DaiEncodingProfileService.ObjectValue) **SetValue** [TextValue](/ad-manager/api/reference/v202411/DaiEncodingProfileService.TextValue)\n\nContains a set of [Values](/ad-manager/api/reference/v202411/DaiEncodingProfileService.Value). May not contain duplicates.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|--------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **`Value` (inherited)** ||\n| **`SetValue`** ||\n| ### `values` | 1. ` `[Value](/ad-manager/api/reference/v202411/DaiEncodingProfileService.Value)`[]` 1. ` `[ObjectValue](/ad-manager/api/reference/v202411/DaiEncodingProfileService.ObjectValue)` ` 2. ` `[BooleanValue](/ad-manager/api/reference/v202411/DaiEncodingProfileService.BooleanValue)` ` 3. ` `[DateTimeValue](/ad-manager/api/reference/v202411/DaiEncodingProfileService.DateTimeValue)` ` 4. ` `[DateValue](/ad-manager/api/reference/v202411/DaiEncodingProfileService.DateValue)` ` 5. ` `[NumberValue](/ad-manager/api/reference/v202411/DaiEncodingProfileService.NumberValue)` ` 6. ` `[SetValue](/ad-manager/api/reference/v202411/DaiEncodingProfileService.SetValue)` ` 7. ` `[TextValue](/ad-manager/api/reference/v202411/DaiEncodingProfileService.TextValue)` ` \u003cbr /\u003e The values. They must all be the same type of `Value` and not contain duplicates. |"]]