Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonUnifiedPageFeedAsset

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

Overview

A Unified Page Feed asset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonUnifiedPageFeedAsset

Returns a new instance of GoogleAdsSearchads360V23CommonUnifiedPageFeedAsset.



12281
12282
12283
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12281

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

Instance Attribute Details

#labelsArray<String>

Labels used to group the page urls. Corresponds to the JSON property labels

Returns:

  • (Array<String>)


12274
12275
12276
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12274

def labels
  @labels
end

#page_urlString

The webpage that advertisers want to target. Corresponds to the JSON property pageUrl

Returns:

  • (String)


12279
12280
12281
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12279

def page_url
  @page_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12286
12287
12288
12289
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12286

def update!(**args)
  @labels = args[:labels] if args.key?(:labels)
  @page_url = args[:page_url] if args.key?(:page_url)
end