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_Dfareporting_GeoTargeting extends Google_Collection 19{ 20 protected $collection_key = 'regions'; 21 protected $citiesType = 'Google_Service_Dfareporting_City'; 22 protected $citiesDataType = 'array'; 23 protected $countriesType = 'Google_Service_Dfareporting_Country'; 24 protected $countriesDataType = 'array'; 25 public $excludeCountries; 26 protected $metrosType = 'Google_Service_Dfareporting_Metro'; 27 protected $metrosDataType = 'array'; 28 protected $postalCodesType = 'Google_Service_Dfareporting_PostalCode'; 29 protected $postalCodesDataType = 'array'; 30 protected $regionsType = 'Google_Service_Dfareporting_Region'; 31 protected $regionsDataType = 'array'; 32 33 /** 34 * @param Google_Service_Dfareporting_City[] 35 */ 36 public function setCities($cities) 37 { 38 $this->cities = $cities; 39 } 40 /** 41 * @return Google_Service_Dfareporting_City[] 42 */ 43 public function getCities() 44 { 45 return $this->cities; 46 } 47 /** 48 * @param Google_Service_Dfareporting_Country[] 49 */ 50 public function setCountries($countries) 51 { 52 $this->countries = $countries; 53 } 54 /** 55 * @return Google_Service_Dfareporting_Country[] 56 */ 57 public function getCountries() 58 { 59 return $this->countries; 60 } 61 public function setExcludeCountries($excludeCountries) 62 { 63 $this->excludeCountries = $excludeCountries; 64 } 65 public function getExcludeCountries() 66 { 67 return $this->excludeCountries; 68 } 69 /** 70 * @param Google_Service_Dfareporting_Metro[] 71 */ 72 public function setMetros($metros) 73 { 74 $this->metros = $metros; 75 } 76 /** 77 * @return Google_Service_Dfareporting_Metro[] 78 */ 79 public function getMetros() 80 { 81 return $this->metros; 82 } 83 /** 84 * @param Google_Service_Dfareporting_PostalCode[] 85 */ 86 public function setPostalCodes($postalCodes) 87 { 88 $this->postalCodes = $postalCodes; 89 } 90 /** 91 * @return Google_Service_Dfareporting_PostalCode[] 92 */ 93 public function getPostalCodes() 94 { 95 return $this->postalCodes; 96 } 97 /** 98 * @param Google_Service_Dfareporting_Region[] 99 */ 100 public function setRegions($regions) 101 { 102 $this->regions = $regions; 103 } 104 /** 105 * @return Google_Service_Dfareporting_Region[] 106 */ 107 public function getRegions() 108 { 109 return $this->regions; 110 } 111} 112