Class: Google::Apis::DfareportingV2_3::TagSetting

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

Tag Settings

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

Returns a new instance of TagSetting.



10167
10168
10169
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10167

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

Instance Attribute Details

#additional_key_valuesString

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

Returns:

  • (String)


10145
10146
10147
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10145

def additional_key_values
  @additional_key_values
end

#include_click_through_urlsBoolean 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

Returns:

  • (Boolean)


10151
10152
10153
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10151

def include_click_through_urls
  @include_click_through_urls
end

#include_click_trackingBoolean Also known as: include_click_tracking?

Whether click-tracking string should be included in the tags. Corresponds to the JSON property includeClickTracking

Returns:

  • (Boolean)


10157
10158
10159
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10157

def include_click_tracking
  @include_click_tracking
end

#keyword_optionString

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

Returns:

  • (String)


10165
10166
10167
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10165

def keyword_option
  @keyword_option
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10172
10173
10174
10175
10176
10177
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10172

def update!(**args)
  @additional_key_values = args[:additional_key_values] if args.key?(:additional_key_values)
  @include_click_through_urls = args[:include_click_through_urls] if args.key?(:include_click_through_urls)
  @include_click_tracking = args[:include_click_tracking] if args.key?(:include_click_tracking)
  @keyword_option = args[:keyword_option] if args.key?(:keyword_option)
end