Class: Google::Apis::AdexchangebuyerV1_3::Creative::FilteringReasons::Reason

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/adexchangebuyer_v1_3/classes.rb,
generated/google/apis/adexchangebuyer_v1_3/representations.rb,
generated/google/apis/adexchangebuyer_v1_3/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Reason

Returns a new instance of Reason



532
533
534
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 532

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#filtering_countFixnum

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

Returns:

  • (Fixnum)


524
525
526
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 524

def filtering_count
  @filtering_count
end

#filtering_statusFixnum

The filtering status code. Please refer to the creative-status-codes.txt file for different statuses. Corresponds to the JSON property filteringStatus

Returns:

  • (Fixnum)


530
531
532
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 530

def filtering_status
  @filtering_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



537
538
539
540
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 537

def update!(**args)
  @filtering_count = args[:filtering_count] if args.key?(:filtering_count)
  @filtering_status = args[:filtering_status] if args.key?(:filtering_status)
end