Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonPlacementInfo

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 placement criterion. This can be used to modify bids for sites when targeting the content network.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonPlacementInfo

Returns a new instance of GoogleAdsSearchads360V23CommonPlacementInfo.



8998
8999
9000
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8998

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

Instance Attribute Details

#urlString

URL of the placement. For example, "http://www.domain.com". Corresponds to the JSON property url

Returns:

  • (String)


8996
8997
8998
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8996

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9003
9004
9005
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9003

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