Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonUnifiedPageFeedAsset

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

Overview

A Unified Page Feed asset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonUnifiedPageFeedAsset

Returns a new instance of GoogleAdsSearchads360V0CommonUnifiedPageFeedAsset.



1867
1868
1869
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1867

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


1860
1861
1862
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1860

def labels
  @labels
end

#page_urlString

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

Returns:

  • (String)


1865
1866
1867
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1865

def page_url
  @page_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1872
1873
1874
1875
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1872

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