Class: Google::Apis::DfareportingV2_1::PlacementTag

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

Placement Tag

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ PlacementTag

Returns a new instance of PlacementTag.



7791
7792
7793
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7791

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

Instance Attribute Details

#placement_idString

Placement ID Corresponds to the JSON property placementId

Returns:

  • (String)


7784
7785
7786
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7784

def placement_id
  @placement_id
end

#tag_datasArray<Google::Apis::DfareportingV2_1::TagData>

Tags generated for this placement. Corresponds to the JSON property tagDatas



7789
7790
7791
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7789

def tag_datas
  @tag_datas
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7796
7797
7798
7799
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 7796

def update!(**args)
  @placement_id = args[:placement_id] unless args[:placement_id].nil?
  @tag_datas = args[:tag_datas] unless args[:tag_datas].nil?
end