Class: Google::Apis::DfareportingV5::CreativeClickThroughUrl
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV5::CreativeClickThroughUrl
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v5/classes.rb,
lib/google/apis/dfareporting_v5/representations.rb,
lib/google/apis/dfareporting_v5/representations.rb
Overview
Click-through URL
Instance Attribute Summary collapse
-
#computed_click_through_url ⇒ String
Read-only convenience field representing the actual URL that will be used for this click-through.
-
#custom_click_through_url ⇒ String
Custom click-through URL.
-
#landing_page_id ⇒ Fixnum
ID of the landing page for the click-through URL.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreativeClickThroughUrl
constructor
A new instance of CreativeClickThroughUrl.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreativeClickThroughUrl
Returns a new instance of CreativeClickThroughUrl.
4510 4511 4512 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 4510 def initialize(**args) update!(**args) end |
Instance Attribute Details
#computed_click_through_url ⇒ String
Read-only convenience field representing the actual URL that will be used for
this click-through. The URL is computed as follows: - If landingPageId is
specified then that landing page's URL is assigned to this field. - Otherwise,
the customClickThroughUrl is assigned to this field.
Corresponds to the JSON property computedClickThroughUrl
4498 4499 4500 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 4498 def computed_click_through_url @computed_click_through_url end |
#custom_click_through_url ⇒ String
Custom click-through URL. Applicable if the landingPageId field is left unset.
Corresponds to the JSON property customClickThroughUrl
4503 4504 4505 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 4503 def custom_click_through_url @custom_click_through_url end |
#landing_page_id ⇒ Fixnum
ID of the landing page for the click-through URL.
Corresponds to the JSON property landingPageId
4508 4509 4510 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 4508 def landing_page_id @landing_page_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4515 4516 4517 4518 4519 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 4515 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) @landing_page_id = args[:landing_page_id] if args.key?(:landing_page_id) end |