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 more...
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.
1871 1872 1873 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1871 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
1844 1845 1846 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1844 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
1849 1850 1851 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1849 def bid_rate7_days @bid_rate7_days end |
#bid_requests7_days ⇒ Fixnum
Bid requests in last 7 days.
Corresponds to the JSON property bidRequests7Days
1854 1855 1856 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1854 def bid_requests7_days @bid_requests7_days end |
#bids7_days ⇒ Fixnum
Bids in last 7 days.
Corresponds to the JSON property bids7Days
1859 1860 1861 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1859 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
1864 1865 1866 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1864 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
1869 1870 1871 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1869 def must_bid_rate_current_month @must_bid_rate_current_month end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1876 1877 1878 1879 1880 1881 1882 1883 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1876 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 |