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.
[[["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."],[[["\u003cp\u003eThe \u003ccode\u003eAdRuleDateError\u003c/code\u003e object provides information about errors related to ad rule start and end dates in Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from the \u003ccode\u003eApiError\u003c/code\u003e object, which offers details about the error's cause and location.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAdRuleDateError\u003c/code\u003e includes a \u003ccode\u003ereason\u003c/code\u003e field that specifies the type of date error encountered, with possible values like \u003ccode\u003eSTART_DATE_TIME_IS_IN_PAST\u003c/code\u003e or \u003ccode\u003eEND_DATE_TIME_NOT_AFTER_START_TIME\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis error is part of the Google Ad Manager API and is located within the \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize the \u003ccode\u003eAdRuleDateError\u003c/code\u003e information to troubleshoot and resolve date-related issues when working with ad rules in their applications.\u003c/p\u003e\n"]]],["The `AdRuleService` manages ad rule errors, including `AdRuleDateError`, which details issues with ad rule start and end dates. `AdRuleDateError` inherits from `ApiError` and includes `fieldPath`, `fieldPathElements`, `trigger`, and `errorString` data. Specific date-related errors include `START_DATE_TIME_IS_IN_PAST`, `END_DATE_TIME_IS_IN_PAST`, `END_DATE_TIME_NOT_AFTER_START_TIME`, and `END_DATE_TIME_TOO_LATE`. Other associated error types are also listed, like `AdRuleError`, `ApiVersionError`, and `QuotaError`.\n"],null,["**Service** \n**AdRuleService** **Inheritance** \n[ApiError](/ad-manager/api/reference/v202411/AdRuleService.ApiError) \n▼\n**AdRuleDateError** [AdRuleError](/ad-manager/api/reference/v202411/AdRuleService.AdRuleError) [AdRuleFrequencyCapError](/ad-manager/api/reference/v202411/AdRuleService.AdRuleFrequencyCapError) [AdRulePriorityError](/ad-manager/api/reference/v202411/AdRuleService.AdRulePriorityError) [AdRuleSlotError](/ad-manager/api/reference/v202411/AdRuleService.AdRuleSlotError) [AdRuleTargetingError](/ad-manager/api/reference/v202411/AdRuleService.AdRuleTargetingError) [ApiVersionError](/ad-manager/api/reference/v202411/AdRuleService.ApiVersionError) [AuthenticationError](/ad-manager/api/reference/v202411/AdRuleService.AuthenticationError) [CollectionSizeError](/ad-manager/api/reference/v202411/AdRuleService.CollectionSizeError) [CommonError](/ad-manager/api/reference/v202411/AdRuleService.CommonError) [CustomTargetingError](/ad-manager/api/reference/v202411/AdRuleService.CustomTargetingError) [FeatureError](/ad-manager/api/reference/v202411/AdRuleService.FeatureError) [GeoTargetingError](/ad-manager/api/reference/v202411/AdRuleService.GeoTargetingError) [InternalApiError](/ad-manager/api/reference/v202411/AdRuleService.InternalApiError) [InventoryTargetingError](/ad-manager/api/reference/v202411/AdRuleService.InventoryTargetingError) [NotNullError](/ad-manager/api/reference/v202411/AdRuleService.NotNullError) [ParseError](/ad-manager/api/reference/v202411/AdRuleService.ParseError) [PermissionError](/ad-manager/api/reference/v202411/AdRuleService.PermissionError) [PoddingError](/ad-manager/api/reference/v202411/AdRuleService.PoddingError) [PublisherQueryLanguageConte...](/ad-manager/api/reference/v202411/AdRuleService.PublisherQueryLanguageContextError \"PublisherQueryLanguageContextError\") [PublisherQueryLanguageSynta...](/ad-manager/api/reference/v202411/AdRuleService.PublisherQueryLanguageSyntaxError \"PublisherQueryLanguageSyntaxError\") [QuotaError](/ad-manager/api/reference/v202411/AdRuleService.QuotaError) [RequiredCollectionError](/ad-manager/api/reference/v202411/AdRuleService.RequiredCollectionError) [RequiredError](/ad-manager/api/reference/v202411/AdRuleService.RequiredError) [RequiredNumberError](/ad-manager/api/reference/v202411/AdRuleService.RequiredNumberError) [ServerError](/ad-manager/api/reference/v202411/AdRuleService.ServerError) [StatementError](/ad-manager/api/reference/v202411/AdRuleService.StatementError) [StringFormatError](/ad-manager/api/reference/v202411/AdRuleService.StringFormatError) [StringLengthError](/ad-manager/api/reference/v202411/AdRuleService.StringLengthError) [UniqueError](/ad-manager/api/reference/v202411/AdRuleService.UniqueError)\n\nLists all errors associated with ad rule start and end dates.\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` The OGNL field path to identify cause of error. |\n| `fieldPathElements` | ` `[FieldPathElement](/ad-manager/api/reference/v202411/AdRuleService.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| **`AdRuleDateError`** ||\n| `reason` | ` `[AdRuleDateError.Reason](/ad-manager/api/reference/v202411/AdRuleService.AdRuleDateError.Reason)` ` *** ** * ** *** **Enumerations** `START_DATE_TIME_IS_IN_PAST` : Cannot create a new ad rule with a start date in the past. `END_DATE_TIME_IS_IN_PAST` : Cannot update an existing ad rule that has already completely passed with a new end date that is still in the past. `END_DATE_TIME_NOT_AFTER_START_TIME` : End date must be after the start date. `END_DATE_TIME_TOO_LATE` : `DateTime`s after 1 January 2037 are not supported. `UNKNOWN` : The value returned if the actual value is not exposed by the requested API version. \u003cbr /\u003e |"]]