Class: Google::Apis::DfareportingV3_1::ClickThroughUrlSuffixProperties

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

Overview

Click Through URL Suffix 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) ⇒ ClickThroughUrlSuffixProperties

Returns a new instance of ClickThroughUrlSuffixProperties



2104
2105
2106
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 2104

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

Instance Attribute Details

#click_through_url_suffixString

Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long. Corresponds to the JSON property clickThroughUrlSuffix

Returns:

  • (String)


2095
2096
2097
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 2095

def click_through_url_suffix
  @click_through_url_suffix
end

#override_inherited_suffixBoolean Also known as: override_inherited_suffix?

Whether this entity should override the inherited click-through URL suffix with its own defined value. Corresponds to the JSON property overrideInheritedSuffix

Returns:

  • (Boolean)


2101
2102
2103
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 2101

def override_inherited_suffix
  @override_inherited_suffix
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2109
2110
2111
2112
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 2109

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