Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonPageFeedAsset

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 Page Feed asset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonPageFeedAsset

Returns a new instance of GoogleAdsSearchads360V23CommonPageFeedAsset.



8816
8817
8818
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8816

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>)


8809
8810
8811
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8809

def labels
  @labels
end

#page_urlString

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

Returns:

  • (String)


8814
8815
8816
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8814

def page_url
  @page_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8821
8822
8823
8824
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8821

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