Class: Google::Apis::DfareportingV2_6::TagSettings

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


10813
10814
10815
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10813

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)

10804
10805
10806
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10804

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)

10810
10811
10812
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10810

def image_tag_enabled
  @image_tag_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


10818
10819
10820
10821
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10818

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