Class: Google::Apis::DfareportingV3_4::LandingPage

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v3_4/classes.rb,
generated/google/apis/dfareporting_v3_4/representations.rb,
generated/google/apis/dfareporting_v3_4/representations.rb

Overview

Contains information about where a user's browser is taken after the user clicks an ad.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LandingPage

Returns a new instance of LandingPage.



7348
7349
7350
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7348

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#advertiser_idFixnum

Advertiser ID of this landing page. This is a required field. Corresponds to the JSON property advertiserId

Returns:

  • (Fixnum)


7313
7314
7315
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7313

def advertiser_id
  @advertiser_id
end

#archivedBoolean Also known as: archived?

Whether this landing page has been archived. Corresponds to the JSON property archived

Returns:

  • (Boolean)


7318
7319
7320
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7318

def archived
  @archived
end

Links that will direct the user to a mobile app, if installed. Corresponds to the JSON property deepLinks



7324
7325
7326
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7324

def deep_links
  @deep_links
end

#idFixnum

ID of this landing page. This is a read-only, auto-generated field. Corresponds to the JSON property id

Returns:

  • (Fixnum)


7329
7330
7331
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7329

def id
  @id
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#landingPage". Corresponds to the JSON property kind

Returns:

  • (String)


7335
7336
7337
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7335

def kind
  @kind
end

#nameString

Name of this landing page. This is a required field. It must be less than 256 characters long. Corresponds to the JSON property name

Returns:

  • (String)


7341
7342
7343
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7341

def name
  @name
end

#urlString

URL of this landing page. This is a required field. Corresponds to the JSON property url

Returns:

  • (String)


7346
7347
7348
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7346

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7353
7354
7355
7356
7357
7358
7359
7360
7361
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7353

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