1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\AdExchangeBuyerII;
19
20class BidMetricsRow extends \Google\Model
21{
22  protected $bidsType = MetricValue::class;
23  protected $bidsDataType = '';
24  protected $bidsInAuctionType = MetricValue::class;
25  protected $bidsInAuctionDataType = '';
26  protected $billedImpressionsType = MetricValue::class;
27  protected $billedImpressionsDataType = '';
28  protected $impressionsWonType = MetricValue::class;
29  protected $impressionsWonDataType = '';
30  protected $measurableImpressionsType = MetricValue::class;
31  protected $measurableImpressionsDataType = '';
32  protected $reachedQueriesType = MetricValue::class;
33  protected $reachedQueriesDataType = '';
34  protected $rowDimensionsType = RowDimensions::class;
35  protected $rowDimensionsDataType = '';
36  protected $viewableImpressionsType = MetricValue::class;
37  protected $viewableImpressionsDataType = '';
38
39  /**
40   * @param MetricValue
41   */
42  public function setBids(MetricValue $bids)
43  {
44    $this->bids = $bids;
45  }
46  /**
47   * @return MetricValue
48   */
49  public function getBids()
50  {
51    return $this->bids;
52  }
53  /**
54   * @param MetricValue
55   */
56  public function setBidsInAuction(MetricValue $bidsInAuction)
57  {
58    $this->bidsInAuction = $bidsInAuction;
59  }
60  /**
61   * @return MetricValue
62   */
63  public function getBidsInAuction()
64  {
65    return $this->bidsInAuction;
66  }
67  /**
68   * @param MetricValue
69   */
70  public function setBilledImpressions(MetricValue $billedImpressions)
71  {
72    $this->billedImpressions = $billedImpressions;
73  }
74  /**
75   * @return MetricValue
76   */
77  public function getBilledImpressions()
78  {
79    return $this->billedImpressions;
80  }
81  /**
82   * @param MetricValue
83   */
84  public function setImpressionsWon(MetricValue $impressionsWon)
85  {
86    $this->impressionsWon = $impressionsWon;
87  }
88  /**
89   * @return MetricValue
90   */
91  public function getImpressionsWon()
92  {
93    return $this->impressionsWon;
94  }
95  /**
96   * @param MetricValue
97   */
98  public function setMeasurableImpressions(MetricValue $measurableImpressions)
99  {
100    $this->measurableImpressions = $measurableImpressions;
101  }
102  /**
103   * @return MetricValue
104   */
105  public function getMeasurableImpressions()
106  {
107    return $this->measurableImpressions;
108  }
109  /**
110   * @param MetricValue
111   */
112  public function setReachedQueries(MetricValue $reachedQueries)
113  {
114    $this->reachedQueries = $reachedQueries;
115  }
116  /**
117   * @return MetricValue
118   */
119  public function getReachedQueries()
120  {
121    return $this->reachedQueries;
122  }
123  /**
124   * @param RowDimensions
125   */
126  public function setRowDimensions(RowDimensions $rowDimensions)
127  {
128    $this->rowDimensions = $rowDimensions;
129  }
130  /**
131   * @return RowDimensions
132   */
133  public function getRowDimensions()
134  {
135    return $this->rowDimensions;
136  }
137  /**
138   * @param MetricValue
139   */
140  public function setViewableImpressions(MetricValue $viewableImpressions)
141  {
142    $this->viewableImpressions = $viewableImpressions;
143  }
144  /**
145   * @return MetricValue
146   */
147  public function getViewableImpressions()
148  {
149    return $this->viewableImpressions;
150  }
151}
152
153// Adding a class alias for backwards compatibility with the previous class name.
154class_alias(BidMetricsRow::class, 'Google_Service_AdExchangeBuyerII_BidMetricsRow');
155