Class: Google::Apis::DfareportingV2_3::TagSettings

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

Dynamic and Image 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) ⇒ TagSettings

Returns a new instance of TagSettings.


10196
10197
10198
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10196

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

Instance Attribute Details

#dynamic_tag_enabledBoolean Also known as: dynamic_tag_enabled?

Whether dynamic floodlight tags are enabled. Corresponds to the JSON property dynamicTagEnabled

Returns:

  • (Boolean)

10187
10188
10189
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10187

def dynamic_tag_enabled
  @dynamic_tag_enabled
end

#image_tag_enabledBoolean Also known as: image_tag_enabled?

Whether image tags are enabled. Corresponds to the JSON property imageTagEnabled

Returns:

  • (Boolean)

10193
10194
10195
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10193

def image_tag_enabled
  @image_tag_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


10201
10202
10203
10204
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10201

def update!(**args)
  @dynamic_tag_enabled = args[:dynamic_tag_enabled] if args.key?(:dynamic_tag_enabled)
  @image_tag_enabled = args[:image_tag_enabled] if args.key?(:image_tag_enabled)
end