Class: Google::Apis::DfareportingV2_1::ClickThroughUrl

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

Overview

Click-through URL

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ClickThroughUrl

Returns a new instance of ClickThroughUrl.



1942
1943
1944
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1942

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

Instance Attribute Details

#custom_click_through_urlString

Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset. Corresponds to the JSON property customClickThroughUrl

Returns:

  • (String)


1928
1929
1930
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1928

def custom_click_through_url
  @custom_click_through_url
end

#default_landing_pageBoolean Also known as: default_landing_page?

Whether the campaign default landing page is used. Corresponds to the JSON property defaultLandingPage

Returns:

  • (Boolean)


1933
1934
1935
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1933

def default_landing_page
  @default_landing_page
end

#landing_page_idString

ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false. Corresponds to the JSON property landingPageId

Returns:

  • (String)


1940
1941
1942
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1940

def landing_page_id
  @landing_page_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1947
1948
1949
1950
1951
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1947

def update!(**args)
  @custom_click_through_url = args[:custom_click_through_url] unless args[:custom_click_through_url].nil?
  @default_landing_page = args[:default_landing_page] unless args[:default_landing_page].nil?
  @landing_page_id = args[:landing_page_id] unless args[:landing_page_id].nil?
end