Class: Google::Apis::DfareportingV2_1::TagData
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::TagData
- 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
-
#ad_id ⇒ String
Ad associated with this placement tag.
-
#click_tag ⇒ String
Tag string to record a click.
-
#creative_id ⇒ String
Creative associated with this placement tag.
-
#format ⇒ String
TagData tag format of this tag.
-
#impression_tag ⇒ String
Tag string for serving an ad.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TagData
constructor
A new instance of TagData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
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_id ⇒ String
Ad associated with this placement tag.
Corresponds to the JSON property adId
10056 10057 10058 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10056 def ad_id @ad_id end |
#click_tag ⇒ String
Tag string to record a click.
Corresponds to the JSON property clickTag
10061 10062 10063 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10061 def click_tag @click_tag end |
#creative_id ⇒ String
Creative associated with this placement tag.
Corresponds to the JSON property creativeId
10066 10067 10068 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10066 def creative_id @creative_id end |
#format ⇒ String
TagData tag format of this tag.
Corresponds to the JSON property format
10071 10072 10073 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10071 def format @format end |
#impression_tag ⇒ String
Tag string for serving an ad.
Corresponds to the JSON property impressionTag
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 |