class Google::Apis::DfareportingV2_3::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_3/classes.rb, line 6148
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_3/classes.rb, line 6153
def update!(**args)
  @default = args[:default] if args.key?(:default)
  @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