type NotNullError (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
Caused by supplying a null value for an attribute that cannot be null.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Field
|
ApiError (inherited)
|
fieldPath
|
xsd:string
The OGNL field path to identify cause of error.
|
fieldPathElements
|
FieldPathElement[]
A parsed copy of the field path. For example, the field path "operations[1].operand"
corresponds to this list: {FieldPathElement(field = "operations", index = 1),
FieldPathElement(field = "operand", index = null)}.
|
trigger
|
xsd:string
The data that caused the error.
|
errorString
|
xsd:string
A simple string representation of the error and reason.
|
NotNullError
|
reason
|
NotNullError.Reason
The error reason represented by an enum.
Enumerations
-
ARG1_NULL
- Assuming that a method will not have more than 3 arguments, if it does,
return NULL
-
ARG2_NULL
-
ARG3_NULL
-
NULL
-
UNKNOWN
- The value returned if the actual value is not exposed by the requested API version.
|
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."],[],["The content details various services and their associated functionalities within an ad management system, specifically version v202502. These services include managing ad rules, adjustments, audience segments, content, creatives, forecasts, inventory, orders, and reports. It also outlines error handling, detailing the `NotNullError`, which occurs when a null value is supplied for a mandatory attribute. The `NotNullError` contains the `reason` which specifies the issue, and is associated with different enums such as `ARG1_NULL` and `NULL`.\n"],null,["# type NotNullError (v202502)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202502/AdRuleService.NotNullError) [AdjustmentService](/ad-manager/api/reference/v202502/AdjustmentService.NotNullError) [AdsTxtService](/ad-manager/api/reference/v202502/AdsTxtService.NotNullError) [AudienceSegmentService](/ad-manager/api/reference/v202502/AudienceSegmentService.NotNullError) [CdnConfigurationService](/ad-manager/api/reference/v202502/CdnConfigurationService.NotNullError) [CmsMetadataService](/ad-manager/api/reference/v202502/CmsMetadataService.NotNullError) [CompanyService](/ad-manager/api/reference/v202502/CompanyService.NotNullError) [ContactService](/ad-manager/api/reference/v202502/ContactService.NotNullError) [ContentBundleService](/ad-manager/api/reference/v202502/ContentBundleService.NotNullError) [ContentService](/ad-manager/api/reference/v202502/ContentService.NotNullError) [CreativeService](/ad-manager/api/reference/v202502/CreativeService.NotNullError) [CreativeSetService](/ad-manager/api/reference/v202502/CreativeSetService.NotNullError) [CreativeTemplateService](/ad-manager/api/reference/v202502/CreativeTemplateService.NotNullError) [CreativeWrapperService](/ad-manager/api/reference/v202502/CreativeWrapperService.NotNullError) [CustomFieldService](/ad-manager/api/reference/v202502/CustomFieldService.NotNullError) [CustomTargetingService](/ad-manager/api/reference/v202502/CustomTargetingService.NotNullError) [DaiAuthenticationKeyService](/ad-manager/api/reference/v202502/DaiAuthenticationKeyService.NotNullError) [DaiEncodingProfileService](/ad-manager/api/reference/v202502/DaiEncodingProfileService.NotNullError) [ForecastService](/ad-manager/api/reference/v202502/ForecastService.NotNullError) [InventoryService](/ad-manager/api/reference/v202502/InventoryService.NotNullError) [LabelService](/ad-manager/api/reference/v202502/LabelService.NotNullError) [LineItemCreativeAssociationService](/ad-manager/api/reference/v202502/LineItemCreativeAssociationService.NotNullError) [LineItemService](/ad-manager/api/reference/v202502/LineItemService.NotNullError) [LineItemTemplateService](/ad-manager/api/reference/v202502/LineItemTemplateService.NotNullError) [LiveStreamEventService](/ad-manager/api/reference/v202502/LiveStreamEventService.NotNullError) [MobileApplicationService](/ad-manager/api/reference/v202502/MobileApplicationService.NotNullError) [NativeStyleService](/ad-manager/api/reference/v202502/NativeStyleService.NotNullError) [NetworkService](/ad-manager/api/reference/v202502/NetworkService.NotNullError) [OrderService](/ad-manager/api/reference/v202502/OrderService.NotNullError) [PlacementService](/ad-manager/api/reference/v202502/PlacementService.NotNullError) [ProposalLineItemService](/ad-manager/api/reference/v202502/ProposalLineItemService.NotNullError) [ProposalService](/ad-manager/api/reference/v202502/ProposalService.NotNullError) [PublisherQueryLanguageService](/ad-manager/api/reference/v202502/PublisherQueryLanguageService.NotNullError) **ReportService** [SegmentPopulationService](/ad-manager/api/reference/v202502/SegmentPopulationService.NotNullError) [SiteService](/ad-manager/api/reference/v202502/SiteService.NotNullError) [StreamActivityMonitorService](/ad-manager/api/reference/v202502/StreamActivityMonitorService.NotNullError) [SuggestedAdUnitService](/ad-manager/api/reference/v202502/SuggestedAdUnitService.NotNullError) [TargetingPresetService](/ad-manager/api/reference/v202502/TargetingPresetService.NotNullError) [TeamService](/ad-manager/api/reference/v202502/TeamService.NotNullError) [UserService](/ad-manager/api/reference/v202502/UserService.NotNullError) [UserTeamAssociationService](/ad-manager/api/reference/v202502/UserTeamAssociationService.NotNullError) [YieldGroupService](/ad-manager/api/reference/v202502/YieldGroupService.NotNullError) **Inheritance** \n[ApiError](/ad-manager/api/reference/v202502/ReportService.ApiError) \n▼\n[ApiVersionError](/ad-manager/api/reference/v202502/ReportService.ApiVersionError) [AuthenticationError](/ad-manager/api/reference/v202502/ReportService.AuthenticationError) [CollectionSizeError](/ad-manager/api/reference/v202502/ReportService.CollectionSizeError) [CommonError](/ad-manager/api/reference/v202502/ReportService.CommonError) [CurrencyCodeError](/ad-manager/api/reference/v202502/ReportService.CurrencyCodeError) [FeatureError](/ad-manager/api/reference/v202502/ReportService.FeatureError) [InternalApiError](/ad-manager/api/reference/v202502/ReportService.InternalApiError) **NotNullError** [ParseError](/ad-manager/api/reference/v202502/ReportService.ParseError) [PermissionError](/ad-manager/api/reference/v202502/ReportService.PermissionError) [PublisherQueryLanguageConte...](/ad-manager/api/reference/v202502/ReportService.PublisherQueryLanguageContextError \"PublisherQueryLanguageContextError\") [PublisherQueryLanguageSynta...](/ad-manager/api/reference/v202502/ReportService.PublisherQueryLanguageSyntaxError \"PublisherQueryLanguageSyntaxError\") [QuotaError](/ad-manager/api/reference/v202502/ReportService.QuotaError) [ReportError](/ad-manager/api/reference/v202502/ReportService.ReportError) [RequiredCollectionError](/ad-manager/api/reference/v202502/ReportService.RequiredCollectionError) [RequiredError](/ad-manager/api/reference/v202502/ReportService.RequiredError) [ServerError](/ad-manager/api/reference/v202502/ReportService.ServerError) [StatementError](/ad-manager/api/reference/v202502/ReportService.StatementError) [StringFormatError](/ad-manager/api/reference/v202502/ReportService.StringFormatError) [StringLengthError](/ad-manager/api/reference/v202502/ReportService.StringLengthError)\n\nCaused by supplying a null value for an attribute that cannot be null.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Field ----- ||\n|-------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **`ApiError` (inherited)** ||\n| ### `fieldPath` | ` `xsd:`string` The OGNL field path to identify cause of error. |\n| ### `fieldPathElements` | ` `[FieldPathElement](/ad-manager/api/reference/v202502/ReportService.FieldPathElement)`[]` A parsed copy of the field path. For example, the field path \"operations\\[1\\].operand\" corresponds to this list: {FieldPathElement(field = \"operations\", index = 1), FieldPathElement(field = \"operand\", index = null)}. |\n| ### `trigger` | ` `xsd:`string` The data that caused the error. |\n| ### `errorString` | ` `xsd:`string` A simple string representation of the error and reason. |\n| **`NotNullError`** ||\n| ### `reason` | ` `[NotNullError.Reason](/ad-manager/api/reference/v202502/ReportService.NotNullError.Reason)` ` The error reason represented by an enum. *** ** * ** *** **Enumerations** `ARG1_NULL` : Assuming that a method will not have more than 3 arguments, if it does, return NULL `ARG2_NULL` : `ARG3_NULL` : `NULL` : `UNKNOWN` : The value returned if the actual value is not exposed by the requested API version. \u003cbr /\u003e |"]]