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-11-25 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-11-25 UTC."],[[["MatchingFunction is used with Customer, Campaign, or AdGroup Feeds to filter feed items."],["It uses operators, left and right operands, and a function string to define the filtering logic."],["The `function_string` field provides a flexible way to create complex matching rules using various operators and operands."],["You can find more information on Matching Functions and their syntax in the provided documentation link."]]],[]]