Class: Google::Apis::DfareportingV3_1::LandingPage
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_1::LandingPage
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v3_1/classes.rb,
generated/google/apis/dfareporting_v3_1/representations.rb,
generated/google/apis/dfareporting_v3_1/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::DfareportingV3_1::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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LandingPage
Returns a new instance of LandingPage
6972 6973 6974 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 6972 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
6937 6938 6939 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 6937 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
6942 6943 6944 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 6942 def archived @archived end |
#deep_links ⇒ Array<Google::Apis::DfareportingV3_1::DeepLink>
Links that will direct the user to a mobile app, if installed.
Corresponds to the JSON property deepLinks
6948 6949 6950 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 6948 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
6953 6954 6955 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 6953 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
6959 6960 6961 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 6959 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
6965 6966 6967 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 6965 def name @name end |
#url ⇒ String
URL of this landing page. This is a required field.
Corresponds to the JSON property url
6970 6971 6972 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 6970 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6977 6978 6979 6980 6981 6982 6983 6984 6985 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 6977 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 |