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 MarketplaceTargeting extends \Google\Model
21{
22  protected $geoTargetingType = CriteriaTargeting::class;
23  protected $geoTargetingDataType = '';
24  protected $inventorySizeTargetingType = InventorySizeTargeting::class;
25  protected $inventorySizeTargetingDataType = '';
26  protected $placementTargetingType = PlacementTargeting::class;
27  protected $placementTargetingDataType = '';
28  protected $technologyTargetingType = TechnologyTargeting::class;
29  protected $technologyTargetingDataType = '';
30  protected $videoTargetingType = VideoTargeting::class;
31  protected $videoTargetingDataType = '';
32
33  /**
34   * @param CriteriaTargeting
35   */
36  public function setGeoTargeting(CriteriaTargeting $geoTargeting)
37  {
38    $this->geoTargeting = $geoTargeting;
39  }
40  /**
41   * @return CriteriaTargeting
42   */
43  public function getGeoTargeting()
44  {
45    return $this->geoTargeting;
46  }
47  /**
48   * @param InventorySizeTargeting
49   */
50  public function setInventorySizeTargeting(InventorySizeTargeting $inventorySizeTargeting)
51  {
52    $this->inventorySizeTargeting = $inventorySizeTargeting;
53  }
54  /**
55   * @return InventorySizeTargeting
56   */
57  public function getInventorySizeTargeting()
58  {
59    return $this->inventorySizeTargeting;
60  }
61  /**
62   * @param PlacementTargeting
63   */
64  public function setPlacementTargeting(PlacementTargeting $placementTargeting)
65  {
66    $this->placementTargeting = $placementTargeting;
67  }
68  /**
69   * @return PlacementTargeting
70   */
71  public function getPlacementTargeting()
72  {
73    return $this->placementTargeting;
74  }
75  /**
76   * @param TechnologyTargeting
77   */
78  public function setTechnologyTargeting(TechnologyTargeting $technologyTargeting)
79  {
80    $this->technologyTargeting = $technologyTargeting;
81  }
82  /**
83   * @return TechnologyTargeting
84   */
85  public function getTechnologyTargeting()
86  {
87    return $this->technologyTargeting;
88  }
89  /**
90   * @param VideoTargeting
91   */
92  public function setVideoTargeting(VideoTargeting $videoTargeting)
93  {
94    $this->videoTargeting = $videoTargeting;
95  }
96  /**
97   * @return VideoTargeting
98   */
99  public function getVideoTargeting()
100  {
101    return $this->videoTargeting;
102  }
103}
104
105// Adding a class alias for backwards compatibility with the previous class name.
106class_alias(MarketplaceTargeting::class, 'Google_Service_AdExchangeBuyerII_MarketplaceTargeting');
107