Class: Google::Apis::DfareportingV3_4::TagData
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_4::TagData
- 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
Placement Tag Data
Instance Attribute Summary collapse
-
#ad_id ⇒ Fixnum
Ad associated with this placement tag.
-
#click_tag ⇒ String
Tag string to record a click.
-
#creative_id ⇒ Fixnum
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.
Constructor Details
#initialize(**args) ⇒ TagData
Returns a new instance of TagData.
12041 12042 12043 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 12041 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad_id ⇒ Fixnum
Ad associated with this placement tag. Applicable only when format is
PLACEMENT_TAG_TRACKING.
Corresponds to the JSON property adId
12018 12019 12020 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 12018 def ad_id @ad_id end |
#click_tag ⇒ String
Tag string to record a click.
Corresponds to the JSON property clickTag
12023 12024 12025 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 12023 def click_tag @click_tag end |
#creative_id ⇒ Fixnum
Creative associated with this placement tag. Applicable only when format is
PLACEMENT_TAG_TRACKING.
Corresponds to the JSON property creativeId
12029 12030 12031 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 12029 def creative_id @creative_id end |
#format ⇒ String
TagData tag format of this tag.
Corresponds to the JSON property format
12034 12035 12036 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 12034 def format @format end |
#impression_tag ⇒ String
Tag string for serving an ad.
Corresponds to the JSON property impressionTag
12039 12040 12041 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 12039 def impression_tag @impression_tag end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12046 12047 12048 12049 12050 12051 12052 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 12046 def update!(**args) @ad_id = args[:ad_id] if args.key?(:ad_id) @click_tag = args[:click_tag] if args.key?(:click_tag) @creative_id = args[:creative_id] if args.key?(:creative_id) @format = args[:format] if args.key?(:format) @impression_tag = args[:impression_tag] if args.key?(:impression_tag) end |