type ApiVersionError (v202502)Stay organized with collectionsSave and categorize content based on your preferences.
Page Summary
ApiVersionError indicates errors related to the usage of API versions.
ApiVersionError includes fields inherited from ApiError such as fieldPath and trigger.
The reason for an ApiVersionError can be that the operation is not allowed in the requested API version or the value is unknown to the requested API version.
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."],[],["This document outlines various services within an ad management API, including `AdRuleService`, `CreativeService`, `ForecastService`, and `ReportService`. It details functionalities like managing ads, content, forecasts, and reporting. Additionally, it lists associated error types, such as `ApiError`, `AuthenticationError`, and `QuotaError`. The document also defines `ApiVersionError`, which indicates version-related issues with the API, specifically highlighting the `UPDATE_TO_NEWER_VERSION` and `UNKNOWN` reasons.\n"]]