Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetImpressionShare

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

An automated bidding strategy that sets bids so that a certain percentage of search ads are shown at the top of the first page (or other targeted location).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetImpressionShare

Returns a new instance of GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetImpressionShare.



3314
3315
3316
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3314

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

Instance Attribute Details

#cpc_bid_ceiling_microsFixnum

Output only. The highest CPC bid the automated bidding system is permitted to specify. This is a required field entered by the advertiser that sets the ceiling and specified in local micros. Corresponds to the JSON property cpcBidCeilingMicros

Returns:

  • (Fixnum)


3301
3302
3303
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3301

def cpc_bid_ceiling_micros
  @cpc_bid_ceiling_micros
end

#locationString

Output only. The targeted location on the search results page. Corresponds to the JSON property location

Returns:

  • (String)


3306
3307
3308
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3306

def location
  @location
end

#location_fraction_microsFixnum

The chosen fraction of ads to be shown in the targeted location in micros. For example, 1% equals 10,000. Corresponds to the JSON property locationFractionMicros

Returns:

  • (Fixnum)


3312
3313
3314
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3312

def location_fraction_micros
  @location_fraction_micros
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3319
3320
3321
3322
3323
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3319

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