type NotNullError (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field
|
ApiError (inherited)
|
fieldPath
|
xsd:string
|
fieldPathElements
|
FieldPathElement[]
|
trigger
|
xsd:string
|
errorString
|
xsd:string
|
NotNullError
|
reason
|
NotNullError.Reason
Enumerations
-
ARG1_NULL
-
ARG2_NULL
-
ARG3_NULL
-
NULL
-
UNKNOWN
|
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 AdsTxtService allows publishers to manage and validate ads.txt entries for their network.\u003c/p\u003e\n"],["\u003cp\u003eThis service provides methods for retrieving, creating, updating, and deleting ads.txt entries.\u003c/p\u003e\n"],["\u003cp\u003eThe service enforces data integrity with validation rules like ensuring required fields are not null.\u003c/p\u003e\n"],["\u003cp\u003ePotential errors include common API errors and specific errors like \u003ccode\u003eNotNullError\u003c/code\u003e indicating required data is missing.\u003c/p\u003e\n"],["\u003cp\u003eAdsTxtService is part of the Google Ad Manager API and uses a namespace for organization.\u003c/p\u003e\n"]]],["This content outlines a variety of services and their associated errors within an ad management API, specifically version v202411. Services listed include AdRuleService, AdsTxtService, AdjustmentService, and many others, encompassing functionalities like managing content, creatives, forecasting, inventory, and targeting. Errors inherit from `ApiError`, and include types like `ApiVersionError`, `AuthenticationError`, and the highlighted `NotNullError`, which provides reasons for null value errors such as `ARG1_NULL`, `ARG2_NULL`, `NULL` etc. The namespace of this API is also provided.\n"],null,["# type NotNullError (v202411)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202411/AdRuleService.NotNullError) [AdjustmentService](/ad-manager/api/reference/v202411/AdjustmentService.NotNullError) **AdsTxtService** [AudienceSegmentService](/ad-manager/api/reference/v202411/AudienceSegmentService.NotNullError) [CdnConfigurationService](/ad-manager/api/reference/v202411/CdnConfigurationService.NotNullError) [CmsMetadataService](/ad-manager/api/reference/v202411/CmsMetadataService.NotNullError) [CompanyService](/ad-manager/api/reference/v202411/CompanyService.NotNullError) [ContactService](/ad-manager/api/reference/v202411/ContactService.NotNullError) [ContentBundleService](/ad-manager/api/reference/v202411/ContentBundleService.NotNullError) [ContentService](/ad-manager/api/reference/v202411/ContentService.NotNullError) [CreativeService](/ad-manager/api/reference/v202411/CreativeService.NotNullError) [CreativeSetService](/ad-manager/api/reference/v202411/CreativeSetService.NotNullError) [CreativeTemplateService](/ad-manager/api/reference/v202411/CreativeTemplateService.NotNullError) [CreativeWrapperService](/ad-manager/api/reference/v202411/CreativeWrapperService.NotNullError) [CustomFieldService](/ad-manager/api/reference/v202411/CustomFieldService.NotNullError) [CustomTargetingService](/ad-manager/api/reference/v202411/CustomTargetingService.NotNullError) [DaiAuthenticationKeyService](/ad-manager/api/reference/v202411/DaiAuthenticationKeyService.NotNullError) [DaiEncodingProfileService](/ad-manager/api/reference/v202411/DaiEncodingProfileService.NotNullError) [ForecastService](/ad-manager/api/reference/v202411/ForecastService.NotNullError) [InventoryService](/ad-manager/api/reference/v202411/InventoryService.NotNullError) [LabelService](/ad-manager/api/reference/v202411/LabelService.NotNullError) [LineItemCreativeAssociationService](/ad-manager/api/reference/v202411/LineItemCreativeAssociationService.NotNullError) [LineItemService](/ad-manager/api/reference/v202411/LineItemService.NotNullError) [LineItemTemplateService](/ad-manager/api/reference/v202411/LineItemTemplateService.NotNullError) [LiveStreamEventService](/ad-manager/api/reference/v202411/LiveStreamEventService.NotNullError) [MobileApplicationService](/ad-manager/api/reference/v202411/MobileApplicationService.NotNullError) [NativeStyleService](/ad-manager/api/reference/v202411/NativeStyleService.NotNullError) [NetworkService](/ad-manager/api/reference/v202411/NetworkService.NotNullError) [OrderService](/ad-manager/api/reference/v202411/OrderService.NotNullError) [PlacementService](/ad-manager/api/reference/v202411/PlacementService.NotNullError) [ProposalLineItemService](/ad-manager/api/reference/v202411/ProposalLineItemService.NotNullError) [ProposalService](/ad-manager/api/reference/v202411/ProposalService.NotNullError) [PublisherQueryLanguageService](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.NotNullError) [ReportService](/ad-manager/api/reference/v202411/ReportService.NotNullError) [SegmentPopulationService](/ad-manager/api/reference/v202411/SegmentPopulationService.NotNullError) [SiteService](/ad-manager/api/reference/v202411/SiteService.NotNullError) [StreamActivityMonitorService](/ad-manager/api/reference/v202411/StreamActivityMonitorService.NotNullError) [SuggestedAdUnitService](/ad-manager/api/reference/v202411/SuggestedAdUnitService.NotNullError) [TargetingPresetService](/ad-manager/api/reference/v202411/TargetingPresetService.NotNullError) [TeamService](/ad-manager/api/reference/v202411/TeamService.NotNullError) [UserService](/ad-manager/api/reference/v202411/UserService.NotNullError) [UserTeamAssociationService](/ad-manager/api/reference/v202411/UserTeamAssociationService.NotNullError) [YieldGroupService](/ad-manager/api/reference/v202411/YieldGroupService.NotNullError) **Inheritance** \n[ApiError](/ad-manager/api/reference/v202411/AdsTxtService.ApiError) \n▼\n[ApiVersionError](/ad-manager/api/reference/v202411/AdsTxtService.ApiVersionError) [AuthenticationError](/ad-manager/api/reference/v202411/AdsTxtService.AuthenticationError) [CollectionSizeError](/ad-manager/api/reference/v202411/AdsTxtService.CollectionSizeError) [CommonError](/ad-manager/api/reference/v202411/AdsTxtService.CommonError) [FeatureError](/ad-manager/api/reference/v202411/AdsTxtService.FeatureError) [InternalApiError](/ad-manager/api/reference/v202411/AdsTxtService.InternalApiError) **NotNullError** [ParseError](/ad-manager/api/reference/v202411/AdsTxtService.ParseError) [PermissionError](/ad-manager/api/reference/v202411/AdsTxtService.PermissionError) [PublisherQueryLanguageConte...](/ad-manager/api/reference/v202411/AdsTxtService.PublisherQueryLanguageContextError \"PublisherQueryLanguageContextError\") [PublisherQueryLanguageSynta...](/ad-manager/api/reference/v202411/AdsTxtService.PublisherQueryLanguageSyntaxError \"PublisherQueryLanguageSyntaxError\") [QuotaError](/ad-manager/api/reference/v202411/AdsTxtService.QuotaError) [RequiredCollectionError](/ad-manager/api/reference/v202411/AdsTxtService.RequiredCollectionError) [RequiredError](/ad-manager/api/reference/v202411/AdsTxtService.RequiredError) [ServerError](/ad-manager/api/reference/v202411/AdsTxtService.ServerError) [StatementError](/ad-manager/api/reference/v202411/AdsTxtService.StatementError) [StringFormatError](/ad-manager/api/reference/v202411/AdsTxtService.StringFormatError) [StringLengthError](/ad-manager/api/reference/v202411/AdsTxtService.StringLengthError)\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **`ApiError` (inherited)** ||\n| ### `fieldPath` | ` `xsd:`string` \u003cbr /\u003e |\n| ### `fieldPathElements` | ` `[FieldPathElement](/ad-manager/api/reference/v202411/AdsTxtService.FieldPathElement)`[]` \u003cbr /\u003e |\n| ### `trigger` | ` `xsd:`string` \u003cbr /\u003e |\n| ### `errorString` | ` `xsd:`string` \u003cbr /\u003e |\n| **`NotNullError`** ||\n| ### `reason` | ` `[NotNullError.Reason](/ad-manager/api/reference/v202411/AdsTxtService.NotNullError.Reason)` ` *** ** * ** *** **Enumerations** `ARG1_NULL` : `ARG2_NULL` : `ARG3_NULL` : `NULL` : `UNKNOWN` : \u003cbr /\u003e |"]]