Class: Google::Apis::DfareportingV3_4::Dv3Ids

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

Overview

DV360 IDs related to the custom event.

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

Returns a new instance of Dv3Ids.


5153
5154
5155
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5153

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

Instance Attribute Details

#dv_campaign_idFixnum

Campaign ID for DV360. Corresponds to the JSON property dvCampaignId

Returns:

  • (Fixnum)

5125
5126
5127
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5125

def dv_campaign_id
  @dv_campaign_id
end

#dv_creative_idFixnum

Creative ID for DV360. Corresponds to the JSON property dvCreativeId

Returns:

  • (Fixnum)

5130
5131
5132
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5130

def dv_creative_id
  @dv_creative_id
end

#dv_insertion_order_idFixnum

Insertion Order ID for DV360. Corresponds to the JSON property dvInsertionOrderId

Returns:

  • (Fixnum)

5135
5136
5137
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5135

def dv_insertion_order_id
  @dv_insertion_order_id
end

#dv_line_item_idFixnum

Line Item ID for DV360. Corresponds to the JSON property dvLineItemId

Returns:

  • (Fixnum)

5140
5141
5142
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5140

def dv_line_item_id
  @dv_line_item_id
end

#dv_site_idFixnum

Site ID for DV360. Corresponds to the JSON property dvSiteId

Returns:

  • (Fixnum)

5145
5146
5147
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5145

def dv_site_id
  @dv_site_id
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#dV3Ids". Corresponds to the JSON property kind

Returns:

  • (String)

5151
5152
5153
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5151

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


5158
5159
5160
5161
5162
5163
5164
5165
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5158

def update!(**args)
  @dv_campaign_id = args[:dv_campaign_id] if args.key?(:dv_campaign_id)
  @dv_creative_id = args[:dv_creative_id] if args.key?(:dv_creative_id)
  @dv_insertion_order_id = args[:dv_insertion_order_id] if args.key?(:dv_insertion_order_id)
  @dv_line_item_id = args[:dv_line_item_id] if args.key?(:dv_line_item_id)
  @dv_site_id = args[:dv_site_id] if args.key?(:dv_site_id)
  @kind = args[:kind] if args.key?(:kind)
end