type UpdateResult (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Represents the result of performing an action on objects.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Field
|
numChanges
|
xsd:int
The number of objects that were changed as a result of performing the
action.
|
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\u003eThis page provides information on the \u003ccode\u003eUpdateResult\u003c/code\u003e object in the Google Ad Manager API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUpdateResult\u003c/code\u003e is used to represent the outcome of actions performed on objects within the system.\u003c/p\u003e\n"],["\u003cp\u003eThe key property of \u003ccode\u003eUpdateResult\u003c/code\u003e is \u003ccode\u003enumChanges\u003c/code\u003e, which indicates how many objects were modified by the action.\u003c/p\u003e\n"],["\u003cp\u003eIt is a part of the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e and is relevant to services like \u003ccode\u003eCustomTargetingService\u003c/code\u003e.\u003c/p\u003e\n"]]],["The document outlines various services, including AdRule, Adjustment, AudienceSegment, and others, each with an `UpdateResult`. The `CustomTargetingService` has dependencies: `performCustomTargetingKeyAction` and `performCustomTargetingValueAction`. The `UpdateResult` indicates the success of actions across these services. It specifies `numChanges`, which is an integer representing the number of objects altered by an action. The namespace for these services is `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,["# type UpdateResult (v202408)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202408/AdRuleService.UpdateResult) [AdjustmentService](/ad-manager/api/reference/v202408/AdjustmentService.UpdateResult) [AudienceSegmentService](/ad-manager/api/reference/v202408/AudienceSegmentService.UpdateResult) [CdnConfigurationService](/ad-manager/api/reference/v202408/CdnConfigurationService.UpdateResult) [CmsMetadataService](/ad-manager/api/reference/v202408/CmsMetadataService.UpdateResult) [CompanyService](/ad-manager/api/reference/v202408/CompanyService.UpdateResult) [ContentBundleService](/ad-manager/api/reference/v202408/ContentBundleService.UpdateResult) [CreativeService](/ad-manager/api/reference/v202408/CreativeService.UpdateResult) [CreativeWrapperService](/ad-manager/api/reference/v202408/CreativeWrapperService.UpdateResult) [CustomFieldService](/ad-manager/api/reference/v202408/CustomFieldService.UpdateResult) **CustomTargetingService** [DaiAuthenticationKeyService](/ad-manager/api/reference/v202408/DaiAuthenticationKeyService.UpdateResult) [DaiEncodingProfileService](/ad-manager/api/reference/v202408/DaiEncodingProfileService.UpdateResult) [InventoryService](/ad-manager/api/reference/v202408/InventoryService.UpdateResult) [LabelService](/ad-manager/api/reference/v202408/LabelService.UpdateResult) [LineItemCreativeAssociationService](/ad-manager/api/reference/v202408/LineItemCreativeAssociationService.UpdateResult) [LineItemService](/ad-manager/api/reference/v202408/LineItemService.UpdateResult) [LiveStreamEventService](/ad-manager/api/reference/v202408/LiveStreamEventService.UpdateResult) [MobileApplicationService](/ad-manager/api/reference/v202408/MobileApplicationService.UpdateResult) [NativeStyleService](/ad-manager/api/reference/v202408/NativeStyleService.UpdateResult) [OrderService](/ad-manager/api/reference/v202408/OrderService.UpdateResult) [PlacementService](/ad-manager/api/reference/v202408/PlacementService.UpdateResult) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.UpdateResult) [ProposalService](/ad-manager/api/reference/v202408/ProposalService.UpdateResult) [SegmentPopulationService](/ad-manager/api/reference/v202408/SegmentPopulationService.UpdateResult) [SiteService](/ad-manager/api/reference/v202408/SiteService.UpdateResult) [TargetingPresetService](/ad-manager/api/reference/v202408/TargetingPresetService.UpdateResult) [TeamService](/ad-manager/api/reference/v202408/TeamService.UpdateResult) [UserService](/ad-manager/api/reference/v202408/UserService.UpdateResult) [UserTeamAssociationService](/ad-manager/api/reference/v202408/UserTeamAssociationService.UpdateResult) **Dependencies** \n[performCustomTargetingKeyAc...](/ad-manager/api/reference/v202408/CustomTargetingService#performCustomTargetingKeyAction \"performCustomTargetingKeyAction()\") [performCustomTargetingValue...](/ad-manager/api/reference/v202408/CustomTargetingService#performCustomTargetingValueAction \"performCustomTargetingValueAction()\") \n▼\n**UpdateResult**\n\nRepresents the result of performing an action on objects.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|------------------|--------------------------------------------------------------------------------------------|\n| ### `numChanges` | ` `xsd:`int` The number of objects that were changed as a result of performing the action. |"]]