Class: Google::Apis::DfareportingV2_1::ClickThroughUrl
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::ClickThroughUrl
- 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
-
#custom_click_through_url ⇒ String
Custom click-through URL.
-
#default_landing_page ⇒ Boolean
(also: #default_landing_page?)
Whether the campaign default landing page is used.
-
#landing_page_id ⇒ String
ID of the landing page for the click-through URL.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClickThroughUrl
constructor
A new instance of ClickThroughUrl.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
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_url ⇒ String
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
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_page ⇒ Boolean Also known as: default_landing_page?
Whether the campaign default landing page is used.
Corresponds to the JSON property defaultLandingPage
1933 1934 1935 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1933 def default_landing_page @default_landing_page end |
#landing_page_id ⇒ String
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
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 |