Class: Google::Apis::DfareportingV2_5::TagSettings

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v2_5/classes.rb,
generated/google/apis/dfareporting_v2_5/representations.rb,
generated/google/apis/dfareporting_v2_5/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.


10582
10583
10584
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 10582

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)

10573
10574
10575
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 10573

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)

10579
10580
10581
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 10579

def image_tag_enabled
  @image_tag_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


10587
10588
10589
10590
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 10587

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