Class: Google::Apis::AdexchangebuyerV1_4::Creative::FilteringReasons::Reason
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_4::Creative::FilteringReasons::Reason
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer_v1_4/classes.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb
Instance Attribute Summary collapse
-
#filtering_count ⇒ Fixnum
The number of times the creative was filtered for the status.
-
#filtering_status ⇒ Fixnum
The filtering status code as defined in creative-status-codes.txt.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Reason
constructor
A new instance of Reason.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Reason
Returns a new instance of Reason
825 826 827 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 825 def initialize(**args) update!(**args) end |
Instance Attribute Details
#filtering_count ⇒ Fixnum
The number of times the creative was filtered for the status. The count is
aggregated across all publishers on the exchange.
Corresponds to the JSON property filteringCount
818 819 820 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 818 def filtering_count @filtering_count end |
#filtering_status ⇒ Fixnum
The filtering status code as defined in creative-status-codes.txt.
Corresponds to the JSON property filteringStatus
823 824 825 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 823 def filtering_status @filtering_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
830 831 832 833 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 830 def update!(**args) @filtering_count = args[:filtering_count] if args.key?(:filtering_count) @filtering_status = args[:filtering_status] if args.key?(:filtering_status) end |