Class: Google::Apis::DfareportingV2_1::TagSetting
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::TagSetting
- 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
Tag Settings
Instance Attribute Summary collapse
-
#additional_key_values ⇒ String
Additional key-values to be included in tags.
-
#include_click_through_urls ⇒ Boolean
(also: #include_click_through_urls?)
Whether static landing page URLs should be included in the tags.
-
#include_click_tracking ⇒ Boolean
(also: #include_click_tracking?)
Whether click-tracking string should be included in the tags.
-
#keyword_option ⇒ String
Option specifying how keywords are embedded in ad tags.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TagSetting
constructor
A new instance of TagSetting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TagSetting
Returns a new instance of TagSetting.
10124 10125 10126 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10124 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additional_key_values ⇒ String
Additional key-values to be included in tags. Each key-value pair must be of
the form key=value, and pairs must be separated by a semicolon (;). Keys and
values must not contain commas. For example, id=2;color=red is a valid value
for this field.
Corresponds to the JSON property additionalKeyValues
10102 10103 10104 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10102 def additional_key_values @additional_key_values end |
#include_click_through_urls ⇒ Boolean Also known as: include_click_through_urls?
Whether static landing page URLs should be included in the tags. This setting
applies only to placements.
Corresponds to the JSON property includeClickThroughUrls
10108 10109 10110 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10108 def include_click_through_urls @include_click_through_urls end |
#include_click_tracking ⇒ Boolean Also known as: include_click_tracking?
Whether click-tracking string should be included in the tags.
Corresponds to the JSON property includeClickTracking
10114 10115 10116 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10114 def include_click_tracking @include_click_tracking end |
#keyword_option ⇒ String
Option specifying how keywords are embedded in ad tags. This setting can be
used to specify whether keyword placeholders are inserted in placement tags
for this site. Publishers can then add keywords to those placeholders.
Corresponds to the JSON property keywordOption
10122 10123 10124 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10122 def keyword_option @keyword_option end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10129 10130 10131 10132 10133 10134 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10129 def update!(**args) @additional_key_values = args[:additional_key_values] unless args[:additional_key_values].nil? @include_click_through_urls = args[:include_click_through_urls] unless args[:include_click_through_urls].nil? @include_click_tracking = args[:include_click_tracking] unless args[:include_click_tracking].nil? @keyword_option = args[:keyword_option] unless args[:keyword_option].nil? end |