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.



8990
8991
8992
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8990

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)


8988
8989
8990
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8988

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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