MatchingFunction
Stay organized with collections
Save and categorize content based on your preferences.
Matching function associated with a CustomerFeed, CampaignFeed, or AdGroupFeed. The matching function is used to filter the set of feed items selected.
Fields |
operator
|
MatchingFunctionOperator
Operator for a function.
|
left_operands[]
|
Operand
The operands on the left hand side of the equation. This is also the operand to be used for single operand expressions such as NOT.
|
right_operands[]
|
Operand
The operands on the right hand side of the equation.
|
function_string
|
string
String representation of the Function. Examples:
- IDENTITY(true) or IDENTITY(false). All or no feed items served.
- EQUALS(CONTEXT.DEVICE,"Mobile")
- IN(FEED_ITEM_ID,{1000001,1000002,1000003})
- CONTAINS_ANY(FeedAttribute[12345678,0],{"Mars cruise","Venus cruise"})
- AND(IN(FEED_ITEM_ID,{10001,10002}),EQUALS(CONTEXT.DEVICE,"Mobile"))
For more details, visit https://developers.google.com/google-ads/api/docs/extensions/feeds/matching-functions Note that because multiple strings may represent the same underlying function (whitespace and single versus double quotation marks, for example), the value returned may not be identical to the string sent in a mutate request.
|
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 2024-10-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 2024-10-12 UTC."],[[["Matching functions are used to filter feed items for Customer, Campaign, or AdGroup Feeds, dictating which items are selected."],["They employ operators, left and right operands (for equations) to define the filtering logic."],["Functions can be represented as strings, like `EQUALS(CONTEXT.DEVICE,\"Mobile\")`, with specific syntax and examples detailed in the provided documentation link."],["The string representation may vary slightly (whitespace, quotes) from user input when retrieved."]]],[]]