Class: Google::Apis::DfareportingV3_1::LandingPage

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LandingPage

Returns a new instance of LandingPage



6970
6971
6972
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 6970

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)


6935
6936
6937
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 6935

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)


6940
6941
6942
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 6940

def archived
  @archived
end

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



6946
6947
6948
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 6946

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)


6951
6952
6953
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 6951

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)


6957
6958
6959
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 6957

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)


6963
6964
6965
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 6963

def name
  @name
end

#urlString

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

Returns:

  • (String)


6968
6969
6970
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 6968

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6975
6976
6977
6978
6979
6980
6981
6982
6983
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 6975

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