Class: Google::Apis::DfareportingV2_3::PlacementTag

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

Overview

Placement Tag

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

Returns a new instance of PlacementTag.


7872
7873
7874
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 7872

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

Instance Attribute Details

#placement_idString

Placement ID Corresponds to the JSON property placementId

Returns:

  • (String)

7865
7866
7867
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 7865

def placement_id
  @placement_id
end

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

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


7870
7871
7872
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 7870

def tag_datas
  @tag_datas
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


7877
7878
7879
7880
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 7877

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