Class: Google::Apis::DfareportingV2_8::ClickThroughUrlSuffixProperties

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



2066
2067
2068
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 2066

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)


2057
2058
2059
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 2057

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)


2063
2064
2065
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 2063

def override_inherited_suffix
  @override_inherited_suffix
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2071
2072
2073
2074
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 2071

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