Class: Google::Apis::DfareportingV4::ClickThroughUrlSuffixProperties

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

Overview

Click Through URL Suffix settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ClickThroughUrlSuffixProperties

Returns a new instance of ClickThroughUrlSuffixProperties.



2488
2489
2490
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2488

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)


2479
2480
2481
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2479

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)


2485
2486
2487
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2485

def override_inherited_suffix
  @override_inherited_suffix
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2493
2494
2495
2496
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2493

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