Struct gapi_grpc::google::ads::googleads::v5::common::MatchingFunction [−][src]
Matching function associated with a CustomerFeed, CampaignFeed, or AdGroupFeed. The matching function is used to filter the set of feed items selected.
Fields
function_string: Option<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/adwords/api/docs/guides/feed-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.
operator: i32
Operator for a function.
left_operands: Vec<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: Vec<Operand>
The operands on the right hand side of the equation.
Implementations
impl MatchingFunction
[src][−]
pub fn operator(&self) -> MatchingFunctionOperator
[src][−]
Returns the enum value of operator
, or the default if the field is set to an invalid enum value.
pub fn set_operator(&mut self, value: MatchingFunctionOperator)
[src][−]
Sets operator
to the provided enum value.
Trait Implementations
impl Clone for MatchingFunction
[src][+]
impl Debug for MatchingFunction
[src][+]
impl Default for MatchingFunction
[src][+]
impl Message for MatchingFunction
[src][+]
impl PartialEq<MatchingFunction> for MatchingFunction
[src][+]
impl StructuralPartialEq for MatchingFunction
[src]
Auto Trait Implementations
impl RefUnwindSafe for MatchingFunction
impl Send for MatchingFunction
impl Sync for MatchingFunction
impl Unpin for MatchingFunction
impl UnwindSafe for MatchingFunction
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,