/src/Google/Api/Ads/AdWords/v201109/LocationCriterionService.php
PHP | 2690 lines | 1095 code | 295 blank | 1300 comment | 137 complexity | 2ebd97e3f943af22154db9c689f0b6bb MD5 | raw file
Possible License(s): Apache-2.0, MIT
Large files files are truncated, but you can click here to view the full file
- <?php
- /**
- * Contains all client objects for the LocationCriterionService service.
- *
- * PHP version 5
- *
- * Copyright 2011, Google Inc. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- * @category WebServices
- * @copyright 2011, Google Inc. All Rights Reserved.
- * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License,
- * Version 2.0
- * @author Eric Koleda <eric.koleda@google.com>
- */
- /** Required classes. **/
- require_once dirname(__FILE__) . "/../Lib/AdWordsSoapClient.php";
- if (!class_exists("ApiError", FALSE)) {
- /**
- * The API error base class that provides details about an error that occurred
- * while processing a service request.
- *
- * <p>The OGNL field path is provided for parsers to identify the request data
- * element that may have caused the error.</p>
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class ApiError {
- /**
- * @access public
- * @var string
- */
- public $fieldPath;
- /**
- * @access public
- * @var string
- */
- public $trigger;
- /**
- * @access public
- * @var string
- */
- public $errorString;
- /**
- * @access public
- * @var string
- */
- public $ApiErrorType;
- private $_parameterMap = array (
- "ApiError.Type" => "ApiErrorType",
- );
- /**
- * Provided for setting non-php-standard named variables
- * @param $var Variable name to set
- * @param $value Value to set
- */
- public function __set($var, $value) { $this->{$this->_parameterMap[$var]} = $value; }
- /**
- * Provided for getting non-php-standard named variables
- * @param $var Variable name to get.
- * @return mixed Variable value
- */
- public function __get($var) {
- if (!array_key_exists($var, $this->_parameterMap)) {
- return NULL;
- } else {
- return $this->{$this->_parameterMap[$var]};
- }
- }
- /**
- * Provided for getting non-php-standard named variables
- * @return array parameter map
- */
- protected function getParameterMap() {
- return $this->_parameterMap;
- }
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "ApiError";
- }
- public function __construct($fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL) {
- if(get_parent_class('ApiError')) parent::__construct();
- $this->fieldPath = $fieldPath;
- $this->trigger = $trigger;
- $this->errorString = $errorString;
- $this->ApiErrorType = $ApiErrorType;
- }
- }}
- if (!class_exists("ApplicationException", FALSE)) {
- /**
- * Base class for exceptions.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class ApplicationException {
- /**
- * @access public
- * @var string
- */
- public $message;
- /**
- * @access public
- * @var string
- */
- public $ApplicationExceptionType;
- private $_parameterMap = array (
- "ApplicationException.Type" => "ApplicationExceptionType",
- );
- /**
- * Provided for setting non-php-standard named variables
- * @param $var Variable name to set
- * @param $value Value to set
- */
- public function __set($var, $value) { $this->{$this->_parameterMap[$var]} = $value; }
- /**
- * Provided for getting non-php-standard named variables
- * @param $var Variable name to get.
- * @return mixed Variable value
- */
- public function __get($var) {
- if (!array_key_exists($var, $this->_parameterMap)) {
- return NULL;
- } else {
- return $this->{$this->_parameterMap[$var]};
- }
- }
- /**
- * Provided for getting non-php-standard named variables
- * @return array parameter map
- */
- protected function getParameterMap() {
- return $this->_parameterMap;
- }
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "ApplicationException";
- }
- public function __construct($message = NULL, $ApplicationExceptionType = NULL) {
- if(get_parent_class('ApplicationException')) parent::__construct();
- $this->message = $message;
- $this->ApplicationExceptionType = $ApplicationExceptionType;
- }
- }}
- if (!class_exists("AuthenticationError", FALSE)) {
- /**
- * Errors returned when Authentication failed.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class AuthenticationError extends ApiError {
- /**
- * @access public
- * @var tnsAuthenticationErrorReason
- */
- public $reason;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "AuthenticationError";
- }
- public function __construct($reason = NULL, $fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL) {
- if(get_parent_class('AuthenticationError')) parent::__construct();
- $this->reason = $reason;
- $this->fieldPath = $fieldPath;
- $this->trigger = $trigger;
- $this->errorString = $errorString;
- $this->ApiErrorType = $ApiErrorType;
- }
- }}
- if (!class_exists("AuthorizationError", FALSE)) {
- /**
- * Errors encountered when trying to authorize a user.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class AuthorizationError extends ApiError {
- /**
- * @access public
- * @var tnsAuthorizationErrorReason
- */
- public $reason;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "AuthorizationError";
- }
- public function __construct($reason = NULL, $fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL) {
- if(get_parent_class('AuthorizationError')) parent::__construct();
- $this->reason = $reason;
- $this->fieldPath = $fieldPath;
- $this->trigger = $trigger;
- $this->errorString = $errorString;
- $this->ApiErrorType = $ApiErrorType;
- }
- }}
- if (!class_exists("ClientTermsError", FALSE)) {
- /**
- * Error due to user not accepting the AdWords terms of service.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class ClientTermsError extends ApiError {
- /**
- * @access public
- * @var tnsClientTermsErrorReason
- */
- public $reason;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "ClientTermsError";
- }
- public function __construct($reason = NULL, $fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL) {
- if(get_parent_class('ClientTermsError')) parent::__construct();
- $this->reason = $reason;
- $this->fieldPath = $fieldPath;
- $this->trigger = $trigger;
- $this->errorString = $errorString;
- $this->ApiErrorType = $ApiErrorType;
- }
- }}
- if (!class_exists("Criterion", FALSE)) {
- /**
- * Represents a criterion (such as a keyword, placement, or vertical).
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class Criterion {
- /**
- * @access public
- * @var integer
- */
- public $id;
- /**
- * @access public
- * @var tnsCriterionType
- */
- public $type;
- /**
- * @access public
- * @var string
- */
- public $CriterionType;
- private $_parameterMap = array (
- "Criterion.Type" => "CriterionType",
- );
- /**
- * Provided for setting non-php-standard named variables
- * @param $var Variable name to set
- * @param $value Value to set
- */
- public function __set($var, $value) { $this->{$this->_parameterMap[$var]} = $value; }
- /**
- * Provided for getting non-php-standard named variables
- * @param $var Variable name to get.
- * @return mixed Variable value
- */
- public function __get($var) {
- if (!array_key_exists($var, $this->_parameterMap)) {
- return NULL;
- } else {
- return $this->{$this->_parameterMap[$var]};
- }
- }
- /**
- * Provided for getting non-php-standard named variables
- * @return array parameter map
- */
- protected function getParameterMap() {
- return $this->_parameterMap;
- }
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "Criterion";
- }
- public function __construct($id = NULL, $type = NULL, $CriterionType = NULL) {
- if(get_parent_class('Criterion')) parent::__construct();
- $this->id = $id;
- $this->type = $type;
- $this->CriterionType = $CriterionType;
- }
- }}
- if (!class_exists("DatabaseError", FALSE)) {
- /**
- * Errors that are thrown due to a database access problem.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class DatabaseError extends ApiError {
- /**
- * @access public
- * @var tnsDatabaseErrorReason
- */
- public $reason;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "DatabaseError";
- }
- public function __construct($reason = NULL, $fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL) {
- if(get_parent_class('DatabaseError')) parent::__construct();
- $this->reason = $reason;
- $this->fieldPath = $fieldPath;
- $this->trigger = $trigger;
- $this->errorString = $errorString;
- $this->ApiErrorType = $ApiErrorType;
- }
- }}
- if (!class_exists("Date", FALSE)) {
- /**
- * Represents a date.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class Date {
- /**
- * @access public
- * @var integer
- */
- public $year;
- /**
- * @access public
- * @var integer
- */
- public $month;
- /**
- * @access public
- * @var integer
- */
- public $day;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "Date";
- }
- public function __construct($year = NULL, $month = NULL, $day = NULL) {
- if(get_parent_class('Date')) parent::__construct();
- $this->year = $year;
- $this->month = $month;
- $this->day = $day;
- }
- }}
- if (!class_exists("DateError", FALSE)) {
- /**
- * Errors associated with invalid dates and date ranges.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class DateError extends ApiError {
- /**
- * @access public
- * @var tnsDateErrorReason
- */
- public $reason;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "DateError";
- }
- public function __construct($reason = NULL, $fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL) {
- if(get_parent_class('DateError')) parent::__construct();
- $this->reason = $reason;
- $this->fieldPath = $fieldPath;
- $this->trigger = $trigger;
- $this->errorString = $errorString;
- $this->ApiErrorType = $ApiErrorType;
- }
- }}
- if (!class_exists("DateRange", FALSE)) {
- /**
- * Represents a range of dates that has either an upper or a lower bound.
- * The format for the date is YYYYMMDD.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class DateRange {
- /**
- * @access public
- * @var Date
- */
- public $min;
- /**
- * @access public
- * @var Date
- */
- public $max;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "DateRange";
- }
- public function __construct($min = NULL, $max = NULL) {
- if(get_parent_class('DateRange')) parent::__construct();
- $this->min = $min;
- $this->max = $max;
- }
- }}
- if (!class_exists("DistinctError", FALSE)) {
- /**
- * Errors related to distinct ids or content.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class DistinctError extends ApiError {
- /**
- * @access public
- * @var tnsDistinctErrorReason
- */
- public $reason;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "DistinctError";
- }
- public function __construct($reason = NULL, $fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL) {
- if(get_parent_class('DistinctError')) parent::__construct();
- $this->reason = $reason;
- $this->fieldPath = $fieldPath;
- $this->trigger = $trigger;
- $this->errorString = $errorString;
- $this->ApiErrorType = $ApiErrorType;
- }
- }}
- if (!class_exists("InternalApiError", FALSE)) {
- /**
- * Indicates that a server-side error has occured. {@code InternalApiError}s
- * are generally not the result of an invalid request or message sent by the
- * client.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class InternalApiError extends ApiError {
- /**
- * @access public
- * @var tnsInternalApiErrorReason
- */
- public $reason;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "InternalApiError";
- }
- public function __construct($reason = NULL, $fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL) {
- if(get_parent_class('InternalApiError')) parent::__construct();
- $this->reason = $reason;
- $this->fieldPath = $fieldPath;
- $this->trigger = $trigger;
- $this->errorString = $errorString;
- $this->ApiErrorType = $ApiErrorType;
- }
- }}
- if (!class_exists("Keyword", FALSE)) {
- /**
- * Represents a keyword.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class Keyword extends Criterion {
- /**
- * @access public
- * @var string
- */
- public $text;
- /**
- * @access public
- * @var tnsKeywordMatchType
- */
- public $matchType;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "Keyword";
- }
- public function __construct($text = NULL, $matchType = NULL, $id = NULL, $type = NULL, $CriterionType = NULL) {
- if(get_parent_class('Keyword')) parent::__construct();
- $this->text = $text;
- $this->matchType = $matchType;
- $this->id = $id;
- $this->type = $type;
- $this->CriterionType = $CriterionType;
- }
- }}
- if (!class_exists("Location", FALSE)) {
- /**
- * Represents Location criterion.
- * <p>A criterion of this type can only be created using an ID. A criterion of this type can be either targeted or excluded.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class Location extends Criterion {
- /**
- * @access public
- * @var string
- */
- public $locationName;
- /**
- * @access public
- * @var string
- */
- public $displayType;
- /**
- * @access public
- * @var boolean
- */
- public $isObsolete;
- /**
- * @access public
- * @var Location[]
- */
- public $parentLocations;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "Location";
- }
- public function __construct($locationName = NULL, $displayType = NULL, $isObsolete = NULL, $parentLocations = NULL, $id = NULL, $type = NULL, $CriterionType = NULL) {
- if(get_parent_class('Location')) parent::__construct();
- $this->locationName = $locationName;
- $this->displayType = $displayType;
- $this->isObsolete = $isObsolete;
- $this->parentLocations = $parentLocations;
- $this->id = $id;
- $this->type = $type;
- $this->CriterionType = $CriterionType;
- }
- }}
- if (!class_exists("LocationCriterion", FALSE)) {
- /**
- * Represents data that encapsulates a location criterion.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class LocationCriterion {
- /**
- * @access public
- * @var Location
- */
- public $location;
- /**
- * @access public
- * @var string
- */
- public $canonicalName;
- /**
- * @access public
- * @var integer
- */
- public $reach;
- /**
- * @access public
- * @var string
- */
- public $locale;
- /**
- * @access public
- * @var string
- */
- public $searchTerm;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "LocationCriterion";
- }
- public function __construct($location = NULL, $canonicalName = NULL, $reach = NULL, $locale = NULL, $searchTerm = NULL) {
- if(get_parent_class('LocationCriterion')) parent::__construct();
- $this->location = $location;
- $this->canonicalName = $canonicalName;
- $this->reach = $reach;
- $this->locale = $locale;
- $this->searchTerm = $searchTerm;
- }
- }}
- if (!class_exists("LocationCriterionServiceError", FALSE)) {
- /**
- * Represents errors thrown by the {@link LocationCriterionService#get} operation.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class LocationCriterionServiceError extends ApiError {
- /**
- * @access public
- * @var tnsLocationCriterionServiceErrorReason
- */
- public $reason;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "LocationCriterionServiceError";
- }
- public function __construct($reason = NULL, $fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL) {
- if(get_parent_class('LocationCriterionServiceError')) parent::__construct();
- $this->reason = $reason;
- $this->fieldPath = $fieldPath;
- $this->trigger = $trigger;
- $this->errorString = $errorString;
- $this->ApiErrorType = $ApiErrorType;
- }
- }}
- if (!class_exists("NotEmptyError", FALSE)) {
- /**
- * Errors corresponding with violation of a NOT EMPTY check.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class NotEmptyError extends ApiError {
- /**
- * @access public
- * @var tnsNotEmptyErrorReason
- */
- public $reason;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "NotEmptyError";
- }
- public function __construct($reason = NULL, $fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL) {
- if(get_parent_class('NotEmptyError')) parent::__construct();
- $this->reason = $reason;
- $this->fieldPath = $fieldPath;
- $this->trigger = $trigger;
- $this->errorString = $errorString;
- $this->ApiErrorType = $ApiErrorType;
- }
- }}
- if (!class_exists("NotWhitelistedError", FALSE)) {
- /**
- * Indicates that the customer is not whitelisted for accessing the API.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class NotWhitelistedError extends ApiError {
- /**
- * @access public
- * @var tnsNotWhitelistedErrorReason
- */
- public $reason;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "NotWhitelistedError";
- }
- public function __construct($reason = NULL, $fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL) {
- if(get_parent_class('NotWhitelistedError')) parent::__construct();
- $this->reason = $reason;
- $this->fieldPath = $fieldPath;
- $this->trigger = $trigger;
- $this->errorString = $errorString;
- $this->ApiErrorType = $ApiErrorType;
- }
- }}
- if (!class_exists("NullError", FALSE)) {
- /**
- * Errors associated with violation of a NOT NULL check.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class NullError extends ApiError {
- /**
- * @access public
- * @var tnsNullErrorReason
- */
- public $reason;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "NullError";
- }
- public function __construct($reason = NULL, $fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL) {
- if(get_parent_class('NullError')) parent::__construct();
- $this->reason = $reason;
- $this->fieldPath = $fieldPath;
- $this->trigger = $trigger;
- $this->errorString = $errorString;
- $this->ApiErrorType = $ApiErrorType;
- }
- }}
- if (!class_exists("OrderBy", FALSE)) {
- /**
- * Specifies how the resulting information should be sorted.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class OrderBy {
- /**
- * @access public
- * @var string
- */
- public $field;
- /**
- * @access public
- * @var tnsSortOrder
- */
- public $sortOrder;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "OrderBy";
- }
- public function __construct($field = NULL, $sortOrder = NULL) {
- if(get_parent_class('OrderBy')) parent::__construct();
- $this->field = $field;
- $this->sortOrder = $sortOrder;
- }
- }}
- if (!class_exists("Paging", FALSE)) {
- /**
- * Specifies the page of results to return in the response. A page is specified
- * by the result position to start at and the maximum number of results to
- * return.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class Paging {
- /**
- * @access public
- * @var integer
- */
- public $startIndex;
- /**
- * @access public
- * @var integer
- */
- public $numberResults;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "Paging";
- }
- public function __construct($startIndex = NULL, $numberResults = NULL) {
- if(get_parent_class('Paging')) parent::__construct();
- $this->startIndex = $startIndex;
- $this->numberResults = $numberResults;
- }
- }}
- if (!class_exists("Placement", FALSE)) {
- /**
- * A placement used for modifying bids for sites when targeting the content
- * network.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class Placement extends Criterion {
- /**
- * @access public
- * @var string
- */
- public $url;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "Placement";
- }
- public function __construct($url = NULL, $id = NULL, $type = NULL, $CriterionType = NULL) {
- if(get_parent_class('Placement')) parent::__construct();
- $this->url = $url;
- $this->id = $id;
- $this->type = $type;
- $this->CriterionType = $CriterionType;
- }
- }}
- if (!class_exists("Predicate", FALSE)) {
- /**
- * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class Predicate {
- /**
- * @access public
- * @var string
- */
- public $field;
- /**
- * @access public
- * @var tnsPredicateOperator
- */
- public $operator;
- /**
- * @access public
- * @var string[]
- */
- public $values;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "Predicate";
- }
- public function __construct($field = NULL, $operator = NULL, $values = NULL) {
- if(get_parent_class('Predicate')) parent::__construct();
- $this->field = $field;
- $this->operator = $operator;
- $this->values = $values;
- }
- }}
- if (!class_exists("Product", FALSE)) {
- /**
- * Product targeting criteria, represents a filter for products in the
- * product feed that is defined by the advertiser. The criteria is used to
- * determine the products in a Merchant Center account to be used with the
- * ProductAds in the AdGroup. This criteria is available only to some advertisers.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class Product extends Criterion {
- /**
- * @access public
- * @var ProductCondition[]
- */
- public $conditions;
- /**
- * @access public
- * @var string
- */
- public $text;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "Product";
- }
- public function __construct($conditions = NULL, $text = NULL, $id = NULL, $type = NULL, $CriterionType = NULL) {
- if(get_parent_class('Product')) parent::__construct();
- $this->conditions = $conditions;
- $this->text = $text;
- $this->id = $id;
- $this->type = $type;
- $this->CriterionType = $CriterionType;
- }
- }}
- if (!class_exists("ProductCondition", FALSE)) {
- /**
- * Conditions to filter the products defined in product feed for targeting.
- * The condition is defined as operand=argument.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class ProductCondition {
- /**
- * @access public
- * @var string
- */
- public $argument;
- /**
- * @access public
- * @var ProductConditionOperand
- */
- public $operand;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "ProductCondition";
- }
- public function __construct($argument = NULL, $operand = NULL) {
- if(get_parent_class('ProductCondition')) parent::__construct();
- $this->argument = $argument;
- $this->operand = $operand;
- }
- }}
- if (!class_exists("ProductConditionOperand", FALSE)) {
- /**
- * Attribute for the product condition.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class ProductConditionOperand {
- /**
- * @access public
- * @var string
- */
- public $operand;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "ProductConditionOperand";
- }
- public function __construct($operand = NULL) {
- if(get_parent_class('ProductConditionOperand')) parent::__construct();
- $this->operand = $operand;
- }
- }}
- if (!class_exists("QuotaCheckError", FALSE)) {
- /**
- * Encapsulates the errors thrown during developer quota checks.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class QuotaCheckError extends ApiError {
- /**
- * @access public
- * @var tnsQuotaCheckErrorReason
- */
- public $reason;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "QuotaCheckError";
- }
- public function __construct($reason = NULL, $fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL) {
- if(get_parent_class('QuotaCheckError')) parent::__construct();
- $this->reason = $reason;
- $this->fieldPath = $fieldPath;
- $this->trigger = $trigger;
- $this->errorString = $errorString;
- $this->ApiErrorType = $ApiErrorType;
- }
- }}
- if (!class_exists("RangeError", FALSE)) {
- /**
- * A list of all errors associated with the Range constraint.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class RangeError extends ApiError {
- /**
- * @access public
- * @var tnsRangeErrorReason
- */
- public $reason;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "RangeError";
- }
- public function __construct($reason = NULL, $fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL) {
- if(get_parent_class('RangeError')) parent::__construct();
- $this->reason = $reason;
- $this->fieldPath = $fieldPath;
- $this->trigger = $trigger;
- $this->errorString = $errorString;
- $this->ApiErrorType = $ApiErrorType;
- }
- }}
- if (!class_exists("RateExceededError", FALSE)) {
- /**
- * Signals that a call failed because a measured rate exceeded.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class RateExceededError extends ApiError {
- /**
- * @access public
- * @var tnsRateExceededErrorReason
- */
- public $reason;
- /**
- * @access public
- * @var string
- */
- public $rateName;
- /**
- * @access public
- * @var string
- */
- public $rateScope;
- /**
- * @access public
- * @var integer
- */
- public $retryAfterSeconds;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "RateExceededError";
- }
- public function __construct($reason = NULL, $rateName = NULL, $rateScope = NULL, $retryAfterSeconds = NULL, $fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL) {
- if(get_parent_class('RateExceededError')) parent::__construct();
- $this->reason = $reason;
- $this->rateName = $rateName;
- $this->rateScope = $rateScope;
- $this->retryAfterSeconds = $retryAfterSeconds;
- $this->fieldPath = $fieldPath;
- $this->trigger = $trigger;
- $this->errorString = $errorString;
- $this->ApiErrorType = $ApiErrorType;
- }
- }}
- if (!class_exists("RejectedError", FALSE)) {
- /**
- * The error reason represented by an enum.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class RejectedError extends ApiError {
- /**
- * @access public
- * @var tnsRejectedErrorReason
- */
- public $reason;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "RejectedError";
- }
- public function __construct($reason = NULL, $fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL) {
- if(get_parent_class('RejectedError')) parent::__construct();
- $this->reason = $reason;
- $this->fieldPath = $fieldPath;
- $this->trigger = $trigger;
- $this->errorString = $errorString;
- $this->ApiErrorType = $ApiErrorType;
- }
- }}
- if (!class_exists("RequestError", FALSE)) {
- /**
- * Encapsulates the generic errors thrown when there's an error with user
- * request.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class RequestError extends ApiError {
- /**
- * @access public
- * @var tnsRequestErrorReason
- */
- public $reason;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "RequestError";
- }
- public function __construct($reason = NULL, $fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL) {
- if(get_parent_class('RequestError')) parent::__construct();
- $this->reason = $reason;
- $this->fieldPath = $fieldPath;
- $this->trigger = $trigger;
- $this->errorString = $errorString;
- $this->ApiErrorType = $ApiErrorType;
- }
- }}
- if (!class_exists("RequiredError", FALSE)) {
- /**
- * Errors due to missing required field.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class RequiredError extends ApiError {
- /**
- * @access public
- * @var tnsRequiredErrorReason
- */
- public $reason;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "RequiredError";
- }
- public function __construct($reason = NULL, $fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL) {
- if(get_parent_class('RequiredError')) parent::__construct();
- $this->reason = $reason;
- $this->fieldPath = $fieldPath;
- $this->trigger = $trigger;
- $this->errorString = $errorString;
- $this->ApiErrorType = $ApiErrorType;
- }
- }}
- if (!class_exists("Selector", FALSE)) {
- /**
- * A generic selector to specify the type of information to return.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class Selector {
- /**
- * @access public
- * @var string[]
- */
- public $fields;
- /**
- * @access public
- * @var Predicate[]
- */
- public $predicates;
- /**
- * @access public
- * @var DateRange
- */
- public $dateRange;
- /**
- * @access public
- * @var OrderBy[]
- */
- public $ordering;
- /**
- * @access public
- * @var Paging
- */
- public $paging;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "Selector";
- }
- public function __construct($fields = NULL, $predicates = NULL, $dateRange = NULL, $ordering = NULL, $paging = NULL) {
- if(get_parent_class('Selector')) parent::__construct();
- $this->fields = $fields;
- $this->predicates = $predicates;
- $this->dateRange = $dateRange;
- $this->ordering = $ordering;
- $this->paging = $paging;
- }
- }}
- if (!class_exists("SelectorError", FALSE)) {
- /**
- * Represents possible error codes for {@link Selector}.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class SelectorError extends ApiError {
- /**
- * @access public
- * @var tnsSelectorErrorReason
- */
- public $reason;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "SelectorError";
- }
- public function __construct($reason = NULL, $fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL) {
- if(get_parent_class('SelectorError')) parent::__construct();
- $this->reason = $reason;
- $this->fieldPath = $fieldPath;
- $this->trigger = $trigger;
- $this->errorString = $errorString;
- $this->ApiErrorType = $ApiErrorType;
- }
- }}
- if (!class_exists("SizeLimitError", FALSE)) {
- /**
- * Indicates that the number of entries in the request or response exceeds the system limit.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class SizeLimitError extends ApiError {
- /**
- * @access public
- * @var tnsSizeLimitErrorReason
- */
- public $reason;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "SizeLimitError";
- }
- public function __construct($reason = NULL, $fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL) {
- if(get_parent_class('SizeLimitError')) parent::__construct();
- $this->reason = $reason;
- $this->fieldPath = $fieldPath;
- $this->trigger = $trigger;
- $this->errorString = $errorString;
- $this->ApiErrorType = $ApiErrorType;
- }
- }}
- if (!class_exists("SoapRequestHeader", FALSE)) {
- /**
- * Defines the required and optional elements within the header of a SOAP request.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class SoapRequestHeader {
- /**
- * @access public
- * @var string
- */
- public $authToken;
- /**
- * @access public
- * @var string
- */
- public $clientCustomerId;
- /**
- * @access public
- * @var string
- */
- public $developerToken;
- /**
- * @access public
- * @var string
- */
- public $userAgent;
- /**
- * @access public
- * @var boolean
- */
- public $validateOnly;
- /**
- * @access public
- * @var boolean
- */
- public $partialFailure;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "SoapHeader";
- }
- public function __construct($authToken = NULL, $clientCustomerId = NULL, $developerToken = NULL, $userAgent = NULL, $validateOnly = NULL, $partialFailure = NULL) {
- if(get_parent_class('SoapRequestHeader')) parent::__construct();
- $this->authToken = $authToken;
- $this->clientCustomerId = $clientCustomerId;
- $this->developerToken = $developerToken;
- $this->userAgent = $userAgent;
- $this->validateOnly = $validateOnly;
- $this->partialFailure = $partialFailure;
- }
- }}
- if (!class_exists("SoapResponseHeader", FALSE)) {
- /**
- * Defines the elements within the header of a SOAP response.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class SoapResponseHeader {
- /**
- * @access public
- * @var string
- */
- public $requestId;
- /**
- * @access public
- * @var string
- */
- public $serviceName;
- /**
- * @access public
- * @var string
- */
- public $methodName;
- /**
- * @access public
- * @var integer
- */
- public $operations;
- /**
- * @access public
- * @var integer
- */
- public $responseTime;
- /**
- * @access public
- * @var integer
- */
- public $units;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "SoapResponseHeader";
- }
- public function __construct($requestId = NULL, $serviceName = NULL, $methodName = NULL, $operations = NULL, $responseTime = NULL, $units = NULL) {
- if(get_parent_class('SoapResponseHeader')) parent::__construct();
- $this->requestId = $requestId;
- $this->serviceName = $serviceName;
- $this->methodName = $methodName;
- $this->operations = $operations;
- $this->responseTime = $responseTime;
- $this->units = $units;
- }
- }}
- if (!class_exists("CriterionUserInterest", FALSE)) {
- /**
- * User Interest - represents a particular interest based vertical to be targeted.
- * Targeting UserInterest is currently in a limited beta. If you'd like access
- * please speak with your account representative.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class CriterionUserInterest extends Criterion {
- /**
- * @access public
- * @var integer
- */
- public $userInterestId;
- /**
- * @access public
- * @var string
- */
- public $userInterestName;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "CriterionUserInterest";
- }
- public function __construct($userInterestId = NULL, $userInterestName = NULL, $id = NULL, $type = NULL, $CriterionType = NULL) {
- if(get_parent_class('CriterionUserInterest')) parent::__construct();
- $this->userInterestId = $userInterestId;
- $this->userInterestName = $userInterestName;
- $this->id = $id;
- $this->type = $type;
- $this->CriterionType = $CriterionType;
- }
- }}
- if (!class_exists("CriterionUserList", FALSE)) {
- /**
- * UserList - represents a user list that is defined by the advertiser to be targeted.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class CriterionUserList extends Criterion {
- /**
- * @access public
- * @var integer
- */
- public $userListId;
- /**
- * @access public
- * @var string
- */
- public $userListName;
- /**
- * @access public
- * @var tnsCriterionUserListMembershipStatus
- */
- public $userListMembershipStatus;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "CriterionUserList";
- }
- public function __construct($userListId = NULL, $userListName = NULL, $userListMembershipStatus = NULL, $id = NULL, $type = NULL, $CriterionType = NULL) {
- if(get_parent_class('CriterionUserList')) parent::__construct();
- $this->userListId = $userListId;
- $this->userListName = $userListName;
- $this->userListMembershipStatus = $userListMembershipStatus;
- $this->id = $id;
- $this->type = $type;
- $this->CriterionType = $CriterionType;
- }
- }}
- if (!class_exists("Vertical", FALSE)) {
- /**
- * Use verticals to target or exclude placements in the Google Display Network
- * based on the category into which the placement falls (for example, "Pets &
- * Animals/Pets/Dogs").
- * <a href="/apis/adwords/docs/appendix/verticals.html">View the complete list
- * of available vertical categories.</a>
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class Vertical extends Criterion {
- /**
- * @access public
- * @var string[]
- */
- public $path;
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "Vertical";
- }
- public function __construct($path = NULL, $id = NULL, $type = NULL, $CriterionType = NULL) {
- if(get_parent_class('Vertical')) parent::__construct();
- $this->path = $path;
- $this->id = $id;
- $this->type = $type;
- $this->CriterionType = $CriterionType;
- }
- }}
- if (!class_exists("AuthenticationErrorReason", FALSE)) {
- /**
- * The single reason for the authentication failure.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class AuthenticationErrorReason {
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "AuthenticationError.Reason";
- }
- public function __construct() {
- if(get_parent_class('AuthenticationErrorReason')) parent::__construct();
- }
- }}
- if (!class_exists("AuthorizationErrorReason", FALSE)) {
- /**
- * The reasons for the database error.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class AuthorizationErrorReason {
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "AuthorizationError.Reason";
- }
- public function __construct() {
- if(get_parent_class('AuthorizationErrorReason')) parent::__construct();
- }
- }}
- if (!class_exists("ClientTermsErrorReason", FALSE)) {
- /**
- * Enums for the various reasons an error can be thrown as a result of
- * ClientTerms violation.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class ClientTermsErrorReason {
- /**
- * Gets the namesapce of this class
- * @return the namespace of this class
- */
- public function getNamespace() {
- return "https://adwords.google.com/api/adwords/cm/v201109";
- }
- /**
- * Gets the xsi:type name of this class
- * @return the xsi:type name of this class
- */
- public function getXsiTypeName() {
- return "ClientTermsError.Reason";
- }
- public function __construct() {
- if(get_parent_class('ClientTermsErrorReason')) parent::__construct();
- }
- }}
- if (!class_exists("CriterionType", FALSE)) {
- /**
- * The types of criteria.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class CriterionType {
- /**
- * Gets the namesapce of this class
- * @return the namespace of…
Large files files are truncated, but you can click here to view the full file