Class: Google::Apis::DfareportingV2_1::ProgrammaticSetting
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::ProgrammaticSetting
- 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
-
#adx_deal_ids ⇒ Array<String>
Adx deal IDs assigned to the placement.
-
#insertion_order_id ⇒ String
Insertion order ID.
-
#insertion_order_id_status ⇒ Boolean
(also: #insertion_order_id_status?)
Whether insertion order ID has been placed in DFP.
-
#media_cost_nanos ⇒ String
Media cost for the programmatic placement.
-
#programmatic ⇒ Boolean
(also: #programmatic?)
Whether programmatic is enabled.
-
#trafficker_emails ⇒ Array<String>
Trafficker emails assigned to the placement.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProgrammaticSetting
constructor
A new instance of ProgrammaticSetting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
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_ids ⇒ Array<String>
Adx deal IDs assigned to the placement.
Corresponds to the JSON property adxDealIds
8254 8255 8256 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8254 def adx_deal_ids @adx_deal_ids end |
#insertion_order_id ⇒ String
Insertion order ID.
Corresponds to the JSON property insertionOrderId
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_status ⇒ Boolean 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
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_nanos ⇒ String
Media cost for the programmatic placement.
Corresponds to the JSON property mediaCostNanos
8270 8271 8272 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8270 def media_cost_nanos @media_cost_nanos end |
#programmatic ⇒ Boolean Also known as: programmatic?
Whether programmatic is enabled.
Corresponds to the JSON property programmatic
8275 8276 8277 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8275 def programmatic @programmatic end |
#trafficker_emails ⇒ Array<String>
Trafficker emails assigned to the placement.
Corresponds to the JSON property traffickerEmails
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 |