Class: Google::Apis::DfareportingV3_3::DefaultClickThroughEventTagProperties

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v3_3/classes.rb,
generated/google/apis/dfareporting_v3_3/representations.rb,
generated/google/apis/dfareporting_v3_3/representations.rb

Overview

Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further.

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

Returns a new instance of DefaultClickThroughEventTagProperties.



4862
4863
4864
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 4862

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

Instance Attribute Details

#default_click_through_event_tag_idFixnum

ID of the click-through event tag to apply to all ads in this entity's scope. Corresponds to the JSON property defaultClickThroughEventTagId

Returns:

  • (Fixnum)


4853
4854
4855
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 4853

def default_click_through_event_tag_id
  @default_click_through_event_tag_id
end

#override_inherited_event_tagBoolean Also known as: override_inherited_event_tag?

Whether this entity should override the inherited default click-through event tag with its own defined value. Corresponds to the JSON property overrideInheritedEventTag

Returns:

  • (Boolean)


4859
4860
4861
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 4859

def override_inherited_event_tag
  @override_inherited_event_tag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4867
4868
4869
4870
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 4867

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