Class: Google::Apis::DfareportingV4::LandingPage
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::LandingPage
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/representations.rb
Overview
Contains information about where a user's browser is taken after the user clicks an ad.
Instance Attribute Summary collapse
-
#advertiser_id ⇒ Fixnum
Advertiser ID of this landing page.
-
#archived ⇒ Boolean
(also: #archived?)
Whether this landing page has been archived.
-
#deep_links ⇒ Array<Google::Apis::DfareportingV4::DeepLink>
Links that will direct the user to a mobile app, if installed.
-
#id ⇒ Fixnum
ID of this landing page.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#name ⇒ String
Name of this landing page.
-
#url ⇒ String
URL of this landing page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LandingPage
constructor
A new instance of LandingPage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LandingPage
Returns a new instance of LandingPage.
7465 7466 7467 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7465 def initialize(**args) update!(**args) end |
Instance Attribute Details
#advertiser_id ⇒ Fixnum
Advertiser ID of this landing page. This is a required field.
Corresponds to the JSON property advertiserId
7430 7431 7432 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7430 def advertiser_id @advertiser_id end |
#archived ⇒ Boolean Also known as: archived?
Whether this landing page has been archived.
Corresponds to the JSON property archived
7435 7436 7437 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7435 def archived @archived end |
#deep_links ⇒ Array<Google::Apis::DfareportingV4::DeepLink>
Links that will direct the user to a mobile app, if installed.
Corresponds to the JSON property deepLinks
7441 7442 7443 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7441 def deep_links @deep_links end |
#id ⇒ Fixnum
ID of this landing page. This is a read-only, auto-generated field.
Corresponds to the JSON property id
7446 7447 7448 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7446 def id @id end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#landingPage".
Corresponds to the JSON property kind
7452 7453 7454 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7452 def kind @kind end |
#name ⇒ String
Name of this landing page. This is a required field. It must be less than 256
characters long.
Corresponds to the JSON property name
7458 7459 7460 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7458 def name @name end |
#url ⇒ String
URL of this landing page. This is a required field.
Corresponds to the JSON property url
7463 7464 7465 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7463 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7470 7471 7472 7473 7474 7475 7476 7477 7478 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7470 def update!(**args) @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) @archived = args[:archived] if args.key?(:archived) @deep_links = args[:deep_links] if args.key?(:deep_links) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @url = args[:url] if args.key?(:url) end |