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.



3021
3022
3023
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3021

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

Instance Attribute Details

#cost_microsFixnum

Projected cost in micros. Corresponds to the JSON property costMicros

Returns:

  • (Fixnum)


3004
3005
3006
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3004

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)


3009
3010
3011
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3009

def cpv_bid_micros
  @cpv_bid_micros
end

#impressionsFixnum

Projected number of impressions. Corresponds to the JSON property impressions

Returns:

  • (Fixnum)


3014
3015
3016
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3014

def impressions
  @impressions
end

#viewsFixnum

Projected number of views. Corresponds to the JSON property views

Returns:

  • (Fixnum)


3019
3020
3021
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3019

def views
  @views
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3026
3027
3028
3029
3030
3031
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3026

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