Class RepricingRuleEligibleOfferMatcher
Matcher that specifies eligible offers. When the USE_FEED_ATTRIBUTE option is selected, only the repricing_rule_id attribute on the product feed is used to specify offer-rule mapping. When the CUSTOM_FILTER option is selected, only the *_matcher fields are used to filter the offers for offer-rule mapping. If the CUSTOM_FILTER option is selected, an offer needs to satisfy each custom filter matcher to be eligible for a rule. Size limit: the sum of the number of entries in all the matchers should not exceed 20. For example, there can be 15 product ids and 5 brands, but not 10 product ids and 11 brands.
Implements
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1.Data
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class RepricingRuleEligibleOfferMatcher : IDirectResponseSchema
Properties
BrandMatcher
Filter by the brand.
Declaration
[JsonProperty("brandMatcher")]
public virtual RepricingRuleEligibleOfferMatcherStringMatcher BrandMatcher { get; set; }
Property Value
Type | Description |
---|---|
RepricingRuleEligibleOfferMatcherStringMatcher |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ItemGroupIdMatcher
Filter by the item group id.
Declaration
[JsonProperty("itemGroupIdMatcher")]
public virtual RepricingRuleEligibleOfferMatcherStringMatcher ItemGroupIdMatcher { get; set; }
Property Value
Type | Description |
---|---|
RepricingRuleEligibleOfferMatcherStringMatcher |
MatcherOption
Determines whether to use the custom matchers or the product feed attribute "repricing_rule_id" to specify offer-rule mapping.
Declaration
[JsonProperty("matcherOption")]
public virtual string MatcherOption { get; set; }
Property Value
Type | Description |
---|---|
string |
OfferIdMatcher
Filter by the offer id.
Declaration
[JsonProperty("offerIdMatcher")]
public virtual RepricingRuleEligibleOfferMatcherStringMatcher OfferIdMatcher { get; set; }
Property Value
Type | Description |
---|---|
RepricingRuleEligibleOfferMatcherStringMatcher |
SkipWhenOnPromotion
When true, the rule won't be applied to offers with active promotions.
Declaration
[JsonProperty("skipWhenOnPromotion")]
public virtual bool? SkipWhenOnPromotion { get; set; }
Property Value
Type | Description |
---|---|
bool? |