class Google::Apis::DfareportingV2_3::ClickThroughUrl
Click-through URL
Attributes
Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows:
-
If defaultLandingPage is enabled then the campaign's default landing page
URL is assigned to this field.
-
If defaultLandingPage is not enabled and a landingPageId is specified then
that landing page's URL is assigned to this field.
-
If neither of the above cases apply, then the customClickThroughUrl is
assigned to this field. Corresponds to the JSON property `computedClickThroughUrl` @return [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` @return [String]
Whether the campaign default landing page is used. Corresponds to the JSON property `defaultLandingPage` @return [Boolean]
Whether the campaign default landing page is used. Corresponds to the JSON property `defaultLandingPage` @return [Boolean]
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` @return [String]
Public Class Methods
# File generated/google/apis/dfareporting_v2_3/classes.rb, line 1969 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/dfareporting_v2_3/classes.rb, line 1974 def update!(**args) @computed_click_through_url = args[:computed_click_through_url] if args.key?(:computed_click_through_url) @custom_click_through_url = args[:custom_click_through_url] if args.key?(:custom_click_through_url) @default_landing_page = args[:default_landing_page] if args.key?(:default_landing_page) @landing_page_id = args[:landing_page_id] if args.key?(:landing_page_id) end