Class: Google::Apis::DfareportingV2_1::ProgrammaticSetting

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

Overview

Programmatic Setting

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ProgrammaticSetting

Returns a new instance of ProgrammaticSetting.


8283
8284
8285
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8283

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

Instance Attribute Details

#adx_deal_idsArray<String>

Adx deal IDs assigned to the placement. Corresponds to the JSON property adxDealIds

Returns:

  • (Array<String>)

8254
8255
8256
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8254

def adx_deal_ids
  @adx_deal_ids
end

#insertion_order_idString

Insertion order ID. Corresponds to the JSON property insertionOrderId

Returns:

  • (String)

8259
8260
8261
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8259

def insertion_order_id
  @insertion_order_id
end

#insertion_order_id_statusBoolean Also known as: insertion_order_id_status?

Whether insertion order ID has been placed in DFP. This is a read-only field. Corresponds to the JSON property insertionOrderIdStatus

Returns:

  • (Boolean)

8264
8265
8266
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8264

def insertion_order_id_status
  @insertion_order_id_status
end

#media_cost_nanosString

Media cost for the programmatic placement. Corresponds to the JSON property mediaCostNanos

Returns:

  • (String)

8270
8271
8272
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8270

def media_cost_nanos
  @media_cost_nanos
end

#programmaticBoolean Also known as: programmatic?

Whether programmatic is enabled. Corresponds to the JSON property programmatic

Returns:

  • (Boolean)

8275
8276
8277
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8275

def programmatic
  @programmatic
end

#trafficker_emailsArray<String>

Trafficker emails assigned to the placement. Corresponds to the JSON property traffickerEmails

Returns:

  • (Array<String>)

8281
8282
8283
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8281

def trafficker_emails
  @trafficker_emails
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


8288
8289
8290
8291
8292
8293
8294
8295
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8288

def update!(**args)
  @adx_deal_ids = args[:adx_deal_ids] unless args[:adx_deal_ids].nil?
  @insertion_order_id = args[:insertion_order_id] unless args[:insertion_order_id].nil?
  @insertion_order_id_status = args[:insertion_order_id_status] unless args[:insertion_order_id_status].nil?
  @media_cost_nanos = args[:media_cost_nanos] unless args[:media_cost_nanos].nil?
  @programmatic = args[:programmatic] unless args[:programmatic].nil?
  @trafficker_emails = args[:trafficker_emails] unless args[:trafficker_emails].nil?
end