GoogleApi.Content.V21.Model.RepricingRuleEligibleOfferMatcher (google_api_content v0.58.1) View Source

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.

Attributes

  • brandMatcher (type: GoogleApi.Content.V21.Model.RepricingRuleEligibleOfferMatcherStringMatcher.t, default: nil) - Filter by the brand.
  • itemGroupIdMatcher (type: GoogleApi.Content.V21.Model.RepricingRuleEligibleOfferMatcherStringMatcher.t, default: nil) - Filter by the item group id.
  • matcherOption (type: String.t, default: nil) - Determines whether to use the custom matchers or the product feed attribute "repricing_rule_id" to specify offer-rule mapping.
  • offerIdMatcher (type: GoogleApi.Content.V21.Model.RepricingRuleEligibleOfferMatcherStringMatcher.t, default: nil) - Filter by the offer id.
  • skipWhenOnPromotion (type: boolean(), default: nil) - When true, the rule won't be applied to offers with active promotions.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Content.V21.Model.RepricingRuleEligibleOfferMatcher{
  brandMatcher:
    GoogleApi.Content.V21.Model.RepricingRuleEligibleOfferMatcherStringMatcher.t()
    | nil,
  itemGroupIdMatcher:
    GoogleApi.Content.V21.Model.RepricingRuleEligibleOfferMatcherStringMatcher.t()
    | nil,
  matcherOption: String.t() | nil,
  offerIdMatcher:
    GoogleApi.Content.V21.Model.RepricingRuleEligibleOfferMatcherStringMatcher.t()
    | nil,
  skipWhenOnPromotion: boolean() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.