Class: Google::Apis::DfareportingV2_7::ClickThroughUrlSuffixProperties

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



2013
2014
2015
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 2013

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)


2004
2005
2006
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 2004

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)


2010
2011
2012
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 2010

def override_inherited_suffix
  @override_inherited_suffix
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2018
2019
2020
2021
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 2018

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