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

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

Overview

The filtering reasons for the creative. Read-only. This field should not be set in requests.

Defined Under Namespace

Classes: Reason

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) ⇒ FilteringReasons

Returns a new instance of FilteringReasons.


551
552
553
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 551

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

Instance Attribute Details

#dateString

The date in ISO 8601 format for the data. The data is collected from 00:00:00 to 23:59:59 in PST. Corresponds to the JSON property date

Returns:

  • (String)

544
545
546
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 544

def date
  @date
end

#reasonsArray<Google::Apis::AdexchangebuyerV1_3::Creative::FilteringReasons::Reason>

The filtering reasons. Corresponds to the JSON property reasons


549
550
551
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 549

def reasons
  @reasons
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


556
557
558
559
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 556

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