Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonCpvBidSimulationPoint

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

Projected metrics for a specific CPV bid amount.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonCpvBidSimulationPoint

Returns a new instance of GoogleAdsSearchads360V23CommonCpvBidSimulationPoint.



2961
2962
2963
# File 'lib/google/apis/searchads360_v23/classes.rb', line 2961

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

Instance Attribute Details

#cost_microsFixnum

Projected cost in micros. Corresponds to the JSON property costMicros

Returns:

  • (Fixnum)


2944
2945
2946
# File 'lib/google/apis/searchads360_v23/classes.rb', line 2944

def cost_micros
  @cost_micros
end

#cpv_bid_microsFixnum

The simulated CPV bid upon which projected metrics are based. Corresponds to the JSON property cpvBidMicros

Returns:

  • (Fixnum)


2949
2950
2951
# File 'lib/google/apis/searchads360_v23/classes.rb', line 2949

def cpv_bid_micros
  @cpv_bid_micros
end

#impressionsFixnum

Projected number of impressions. Corresponds to the JSON property impressions

Returns:

  • (Fixnum)


2954
2955
2956
# File 'lib/google/apis/searchads360_v23/classes.rb', line 2954

def impressions
  @impressions
end

#viewsFixnum

Projected number of views. Corresponds to the JSON property views

Returns:

  • (Fixnum)


2959
2960
2961
# File 'lib/google/apis/searchads360_v23/classes.rb', line 2959

def views
  @views
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2966
2967
2968
2969
2970
2971
# File 'lib/google/apis/searchads360_v23/classes.rb', line 2966

def update!(**args)
  @cost_micros = args[:cost_micros] if args.key?(:cost_micros)
  @cpv_bid_micros = args[:cpv_bid_micros] if args.key?(:cpv_bid_micros)
  @impressions = args[:impressions] if args.key?(:impressions)
  @views = args[:views] if args.key?(:views)
end