Class: Google::Apis::Adexchangebuyer2V2beta1::Reason
- Inherits:
-
Object
- Object
- Google::Apis::Adexchangebuyer2V2beta1::Reason
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer2_v2beta1/classes.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb
Overview
A specific filtering status and how many times it occurred.
Instance Attribute Summary collapse
-
#count ⇒ Fixnum
The number of times the creative was filtered for the status.
-
#status ⇒ Fixnum
The filtering status code.
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
1188 1189 1190 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1188 def initialize(**args) update!(**args) end |
Instance Attribute Details
#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 count
1186 1187 1188 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1186 def count @count end |
#status ⇒ Fixnum
The filtering status code. Please refer to the
creative-status-codes.txt
file for different statuses.
Corresponds to the JSON property status
1180 1181 1182 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1180 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1193 1194 1195 1196 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1193 def update!(**args) @status = args[:status] if args.key?(:status) @count = args[:count] if args.key?(:count) end |