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.



35721
35722
35723
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35721

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)


35704
35705
35706
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35704

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)


35711
35712
35713
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35711

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)


35719
35720
35721
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35719

def target_impression_share_micros
  @target_impression_share_micros
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35726
35727
35728
35729
35730
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35726

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