Class: Google::Apis::AuthorizedbuyersmarketplaceV1::RtbMetrics
- Inherits:
-
Object
- Object
- Google::Apis::AuthorizedbuyersmarketplaceV1::RtbMetrics
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb,
lib/google/apis/authorizedbuyersmarketplace_v1/representations.rb,
lib/google/apis/authorizedbuyersmarketplace_v1/representations.rb
Overview
Real-time bidding metrics. For what each metric means refer to Report metrics
Instance Attribute Summary collapse
-
#ad_impressions7_days ⇒ Fixnum
Ad impressions in last 7 days.
-
#bid_rate7_days ⇒ Float
Bid rate in last 7 days, calculated by (bids / bid requests).
-
#bid_requests7_days ⇒ Fixnum
Bid requests in last 7 days.
-
#bids7_days ⇒ Fixnum
Bids in last 7 days.
-
#filtered_bid_rate7_days ⇒ Float
Filtered bid rate in last 7 days, calculated by (filtered bids / bids).
-
#must_bid_rate_current_month ⇒ Float
Must bid rate for current month.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RtbMetrics
constructor
A new instance of RtbMetrics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RtbMetrics
Returns a new instance of RtbMetrics.
1973 1974 1975 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1973 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad_impressions7_days ⇒ Fixnum
Ad impressions in last 7 days.
Corresponds to the JSON property adImpressions7Days
1946 1947 1948 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1946 def ad_impressions7_days @ad_impressions7_days end |
#bid_rate7_days ⇒ Float
Bid rate in last 7 days, calculated by (bids / bid requests).
Corresponds to the JSON property bidRate7Days
1951 1952 1953 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1951 def bid_rate7_days @bid_rate7_days end |
#bid_requests7_days ⇒ Fixnum
Bid requests in last 7 days.
Corresponds to the JSON property bidRequests7Days
1956 1957 1958 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1956 def bid_requests7_days @bid_requests7_days end |
#bids7_days ⇒ Fixnum
Bids in last 7 days.
Corresponds to the JSON property bids7Days
1961 1962 1963 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1961 def bids7_days @bids7_days end |
#filtered_bid_rate7_days ⇒ Float
Filtered bid rate in last 7 days, calculated by (filtered bids / bids).
Corresponds to the JSON property filteredBidRate7Days
1966 1967 1968 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1966 def filtered_bid_rate7_days @filtered_bid_rate7_days end |
#must_bid_rate_current_month ⇒ Float
Must bid rate for current month.
Corresponds to the JSON property mustBidRateCurrentMonth
1971 1972 1973 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1971 def must_bid_rate_current_month @must_bid_rate_current_month end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1978 1979 1980 1981 1982 1983 1984 1985 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1978 def update!(**args) @ad_impressions7_days = args[:ad_impressions7_days] if args.key?(:ad_impressions7_days) @bid_rate7_days = args[:bid_rate7_days] if args.key?(:bid_rate7_days) @bid_requests7_days = args[:bid_requests7_days] if args.key?(:bid_requests7_days) @bids7_days = args[:bids7_days] if args.key?(:bids7_days) @filtered_bid_rate7_days = args[:filtered_bid_rate7_days] if args.key?(:filtered_bid_rate7_days) @must_bid_rate_current_month = args[:must_bid_rate_current_month] if args.key?(:must_bid_rate_current_month) end |