Join us live on
Discord on the Google Advertising and Measurement Community server and on
YouTube on January 29th at 10:00 AM EST! We will discuss the new features added in v23 of the Google Ads API.
FunctionError
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
The document provides a list of possible errors that can occur when using functions.
These errors cover various issues, including invalid formats, data type mismatches, incorrect operands, and unsupported elements.
Specific errors relate to issues with function usage within placeholders and feeds.
Understanding these error types is crucial for debugging and correctly implementing functions.
Enums
DATA_TYPE_MISMATCH
Operand data types do not match.
INVALID_ATTRIBUTE_NAME
Invalid attribute name.
INVALID_CONJUNCTION_OPERANDS
The operands cannot be used together in a conjunction.
INVALID_CONSTANT_OPERAND_VALUE
The value of the constant operand is invalid.
The format of the function is not recognized as a supported function format.
INVALID_FUNCTION_FOR_CALL_PLACEHOLDER
The matching function is not allowed for call placeholders
INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA
The matching function is invalid for use with a feed with a fixed schema.
INVALID_FUNCTION_FOR_PLACEHOLDER
The matching function is not allowed for the specified placeholder
INVALID_NESTING
Invalid function nesting.
INVALID_NUMBER_OF_OPERANDS
Invalid numer of Operands.
INVALID_OPERAND
Invalid operand.
INVALID_OPERAND_TYPE
Operand Type not supported.
INVALID_OPERATOR
Operator not supported.
INVALID_REQUEST_CONTEXT_TYPE
Request context type not supported.
MISSING_CONSTANT_OPERAND_VALUE
Missing value for the constant operand.
MULTIPLE_FEED_IDS_NOT_SUPPORTED
The Feed ID was different from another Feed ID in the same function.
UNKNOWN
The received error code is not known in this version.
UNSPECIFIED
Enum unspecified.
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-12-12 UTC.
[[["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-12-12 UTC."],[],[]]