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
18class Google_Service_AdExchangeBuyer_TargetingValue extends Google_Model
19{
20  protected $creativeSizeValueType = 'Google_Service_AdExchangeBuyer_TargetingValueCreativeSize';
21  protected $creativeSizeValueDataType = '';
22  protected $dayPartTargetingValueType = 'Google_Service_AdExchangeBuyer_TargetingValueDayPartTargeting';
23  protected $dayPartTargetingValueDataType = '';
24  protected $demogAgeCriteriaValueType = 'Google_Service_AdExchangeBuyer_TargetingValueDemogAgeCriteria';
25  protected $demogAgeCriteriaValueDataType = '';
26  protected $demogGenderCriteriaValueType = 'Google_Service_AdExchangeBuyer_TargetingValueDemogGenderCriteria';
27  protected $demogGenderCriteriaValueDataType = '';
28  public $longValue;
29  protected $requestPlatformTargetingValueType = 'Google_Service_AdExchangeBuyer_TargetingValueRequestPlatformTargeting';
30  protected $requestPlatformTargetingValueDataType = '';
31  public $stringValue;
32
33  /**
34   * @param Google_Service_AdExchangeBuyer_TargetingValueCreativeSize
35   */
36  public function setCreativeSizeValue(Google_Service_AdExchangeBuyer_TargetingValueCreativeSize $creativeSizeValue)
37  {
38    $this->creativeSizeValue = $creativeSizeValue;
39  }
40  /**
41   * @return Google_Service_AdExchangeBuyer_TargetingValueCreativeSize
42   */
43  public function getCreativeSizeValue()
44  {
45    return $this->creativeSizeValue;
46  }
47  /**
48   * @param Google_Service_AdExchangeBuyer_TargetingValueDayPartTargeting
49   */
50  public function setDayPartTargetingValue(Google_Service_AdExchangeBuyer_TargetingValueDayPartTargeting $dayPartTargetingValue)
51  {
52    $this->dayPartTargetingValue = $dayPartTargetingValue;
53  }
54  /**
55   * @return Google_Service_AdExchangeBuyer_TargetingValueDayPartTargeting
56   */
57  public function getDayPartTargetingValue()
58  {
59    return $this->dayPartTargetingValue;
60  }
61  /**
62   * @param Google_Service_AdExchangeBuyer_TargetingValueDemogAgeCriteria
63   */
64  public function setDemogAgeCriteriaValue(Google_Service_AdExchangeBuyer_TargetingValueDemogAgeCriteria $demogAgeCriteriaValue)
65  {
66    $this->demogAgeCriteriaValue = $demogAgeCriteriaValue;
67  }
68  /**
69   * @return Google_Service_AdExchangeBuyer_TargetingValueDemogAgeCriteria
70   */
71  public function getDemogAgeCriteriaValue()
72  {
73    return $this->demogAgeCriteriaValue;
74  }
75  /**
76   * @param Google_Service_AdExchangeBuyer_TargetingValueDemogGenderCriteria
77   */
78  public function setDemogGenderCriteriaValue(Google_Service_AdExchangeBuyer_TargetingValueDemogGenderCriteria $demogGenderCriteriaValue)
79  {
80    $this->demogGenderCriteriaValue = $demogGenderCriteriaValue;
81  }
82  /**
83   * @return Google_Service_AdExchangeBuyer_TargetingValueDemogGenderCriteria
84   */
85  public function getDemogGenderCriteriaValue()
86  {
87    return $this->demogGenderCriteriaValue;
88  }
89  public function setLongValue($longValue)
90  {
91    $this->longValue = $longValue;
92  }
93  public function getLongValue()
94  {
95    return $this->longValue;
96  }
97  /**
98   * @param Google_Service_AdExchangeBuyer_TargetingValueRequestPlatformTargeting
99   */
100  public function setRequestPlatformTargetingValue(Google_Service_AdExchangeBuyer_TargetingValueRequestPlatformTargeting $requestPlatformTargetingValue)
101  {
102    $this->requestPlatformTargetingValue = $requestPlatformTargetingValue;
103  }
104  /**
105   * @return Google_Service_AdExchangeBuyer_TargetingValueRequestPlatformTargeting
106   */
107  public function getRequestPlatformTargetingValue()
108  {
109    return $this->requestPlatformTargetingValue;
110  }
111  public function setStringValue($stringValue)
112  {
113    $this->stringValue = $stringValue;
114  }
115  public function getStringValue()
116  {
117    return $this->stringValue;
118  }
119}
120