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.



35649
35650
35651
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35649

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)


35632
35633
35634
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35632

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)


35639
35640
35641
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35639

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)


35647
35648
35649
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35647

def target_impression_share_micros
  @target_impression_share_micros
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35654
35655
35656
35657
35658
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35654

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