class Google::Apis::DfareportingV2_1::LandingPage

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

Attributes

default[RW]

Whether or not this landing page will be assigned to any ads or creatives that do not have a landing page assigned explicitly. Only one default landing page is allowed per campaign. Corresponds to the JSON property `default` @return [Boolean]

default?[RW]

Whether or not this landing page will be assigned to any ads or creatives that do not have a landing page assigned explicitly. Only one default landing page is allowed per campaign. Corresponds to the JSON property `default` @return [Boolean]

id[RW]

ID of this landing page. This is a read-only, auto-generated field. Corresponds to the JSON property `id` @return [String]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “ dfareporting#landingPage”. Corresponds to the JSON property `kind` @return [String]

name[RW]

Name of this landing page. This is a required field. It must be less than 256 characters long, and must be unique among landing pages of the same campaign. Corresponds to the JSON property `name` @return [String]

url[RW]

URL of this landing page. This is a required field. Corresponds to the JSON property `url` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 6082
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/dfareporting_v2_1/classes.rb, line 6087
def update!(**args)
  @default = args[:default] unless args[:default].nil?
  @id = args[:id] unless args[:id].nil?
  @kind = args[:kind] unless args[:kind].nil?
  @name = args[:name] unless args[:name].nil?
  @url = args[:url] unless args[:url].nil?
end