Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestTargetImpressionShareInfo

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

Current Target Impression Share information of the campaign.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestTargetImpressionShareInfo

Returns a new instance of GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestTargetImpressionShareInfo.



35514
35515
35516
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35514

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

Instance Attribute Details

#locationString

Required. The targeted location on the search results page. This is required for campaigns where the AdvertisingChannelType is SEARCH and the bidding strategy type is TARGET_IMPRESSION_SHARE. Corresponds to the JSON property location

Returns:

  • (String)


35497
35498
35499
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35497

def location
  @location
end

#max_cpc_bid_ceilingFixnum

Optional. Ceiling of max CPC bids in micros set by automated bidders. This is optional for campaigns with an AdvertisingChannelType of SEARCH and a bidding strategy type of TARGET_IMPRESSION_SHARE. Corresponds to the JSON property maxCpcBidCeiling

Returns:

  • (Fixnum)


35504
35505
35506
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35504

def max_cpc_bid_ceiling
  @max_cpc_bid_ceiling
end

#target_impression_share_microsFixnum

Required. The chosen fraction of targeted impression share in micros. For example, 1% equals 10,000. It must be a value between 1 and 1,000,000. This is required for campaigns with an AdvertisingChannelType of SEARCH and a bidding strategy type of TARGET_IMPRESSION_SHARE. Corresponds to the JSON property targetImpressionShareMicros

Returns:

  • (Fixnum)


35512
35513
35514
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35512

def target_impression_share_micros
  @target_impression_share_micros
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35519
35520
35521
35522
35523
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35519

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