Class: Google::Apis::DfareportingV2_1::TagData

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 Data

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TagData

Returns a new instance of TagData.


10078
10079
10080
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10078

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

Instance Attribute Details

#ad_idString

Ad associated with this placement tag. Corresponds to the JSON property adId

Returns:

  • (String)

10056
10057
10058
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10056

def ad_id
  @ad_id
end

#click_tagString

Tag string to record a click. Corresponds to the JSON property clickTag

Returns:

  • (String)

10061
10062
10063
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10061

def click_tag
  @click_tag
end

#creative_idString

Creative associated with this placement tag. Corresponds to the JSON property creativeId

Returns:

  • (String)

10066
10067
10068
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10066

def creative_id
  @creative_id
end

#formatString

TagData tag format of this tag. Corresponds to the JSON property format

Returns:

  • (String)

10071
10072
10073
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10071

def format
  @format
end

#impression_tagString

Tag string for serving an ad. Corresponds to the JSON property impressionTag

Returns:

  • (String)

10076
10077
10078
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10076

def impression_tag
  @impression_tag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


10083
10084
10085
10086
10087
10088
10089
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10083

def update!(**args)
  @ad_id = args[:ad_id] unless args[:ad_id].nil?
  @click_tag = args[:click_tag] unless args[:click_tag].nil?
  @creative_id = args[:creative_id] unless args[:creative_id].nil?
  @format = args[:format] unless args[:format].nil?
  @impression_tag = args[:impression_tag] unless args[:impression_tag].nil?
end