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\u003eThis page documents the \u003ccode\u003eRequiredCollectionError\u003c/code\u003e in Google Ad Manager's API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRequiredCollectionError\u003c/code\u003e is used to validate the sizes of collections, ensuring they are neither too large nor too small.\u003c/p\u003e\n"],["\u003cp\u003eIt has a \u003ccode\u003ereason\u003c/code\u003e field that specifies why the error was triggered, which can be \u003ccode\u003eREQUIRED\u003c/code\u003e, \u003ccode\u003eTOO_LARGE\u003c/code\u003e, \u003ccode\u003eTOO_SMALL\u003c/code\u003e, or \u003ccode\u003eUNKNOWN\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe error inherits from \u003ccode\u003eApiError\u003c/code\u003e and provides additional context with fields such as \u003ccode\u003efieldPath\u003c/code\u003e, \u003ccode\u003efieldPathElements\u003c/code\u003e, \u003ccode\u003etrigger\u003c/code\u003e, and \u003ccode\u003eerrorString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize this error information to troubleshoot issues related to collection sizes in their Ad Manager API integrations.\u003c/p\u003e\n"]]],["The content details various services within an ad management system, including `AdRuleService`, `AdjustmentService`, and `CdnConfigurationService`, among others. It outlines error handling, particularly focusing on `RequiredCollectionError`. This error type, part of a broader `ApiError` inheritance, validates the size of collections. `RequiredCollectionError` specifies if a collection is missing, too large, or too small. It lists possible reasons: `REQUIRED`, `TOO_LARGE`, `TOO_SMALL`, and `UNKNOWN`.\n"],null,[]]