/src/Google/Api/Ads/AdWords/v201109/AdParamService.php
PHP | 2644 lines | 1062 code | 286 blank | 1296 comment | 135 complexity | ac88263028d1e96b636bbd14259eba27 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 AdParamService 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("AdParam", FALSE)) {
- /**
- * Represents an ad parameter. Use ad parameters to update numeric values
- * (such as prices or inventory levels) in any line of a text ad, including
- * the destination URL. You can set two <code>AdParam</code> objects
- * (one for each value of {@link #paramIndex}) per ad group
- * <a href="AdGroupCriterionService.Keyword.html">Keyword</a>
- * criterion.
- * <p>When setting or removing an <code>AdParam</code>, it is uniquely
- * identified by the combination of these three fields:</p>
- * <ul>
- * <li><code>adGroupId</code></li>
- * <li><code>criterionId</code></li>
- * <li><code>paramIndex</code></li>
- * </ul>
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class AdParam {
- /**
- * @access public
- * @var integer
- */
- public $adGroupId;
- /**
- * @access public
- * @var integer
- */
- public $criterionId;
- /**
- * @access public
- * @var string
- */
- public $insertionText;
- /**
- * @access public
- * @var integer
- */
- public $paramIndex;
- /**
- * 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 "AdParam";
- }
- public function __construct($adGroupId = NULL, $criterionId = NULL, $insertionText = NULL, $paramIndex = NULL) {
- if(get_parent_class('AdParam')) parent::__construct();
- $this->adGroupId = $adGroupId;
- $this->criterionId = $criterionId;
- $this->insertionText = $insertionText;
- $this->paramIndex = $paramIndex;
- }
- }}
- if (!class_exists("AdParamPage", FALSE)) {
- /**
- * Represents a page of AdParams returned by the {@link AdParamService}.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class AdParamPage {
- /**
- * @access public
- * @var AdParam[]
- */
- public $entries;
- /**
- * @access public
- * @var integer
- */
- public $totalNumEntries;
- /**
- * 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 "AdParamPage";
- }
- public function __construct($entries = NULL, $totalNumEntries = NULL) {
- if(get_parent_class('AdParamPage')) parent::__construct();
- $this->entries = $entries;
- $this->totalNumEntries = $totalNumEntries;
- }
- }}
- 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 string
- */
- public $min;
- /**
- * @access public
- * @var string
- */
- 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("Operation", FALSE)) {
- /**
- * This represents an operation that includes an operator and an operand
- * specified type.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class Operation {
- /**
- * @access public
- * @var tnsOperator
- */
- public $operator;
- /**
- * @access public
- * @var string
- */
- public $OperationType;
- private $_parameterMap = array (
- "Operation.Type" => "OperationType",
- );
- /**
- * 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 "Operation";
- }
- public function __construct($operator = NULL, $OperationType = NULL) {
- if(get_parent_class('Operation')) parent::__construct();
- $this->operator = $operator;
- $this->OperationType = $OperationType;
- }
- }}
- 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("PolicyViolationErrorPart", FALSE)) {
- /**
- * Points to a substring within an ad field or criterion.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class PolicyViolationErrorPart {
- /**
- * @access public
- * @var integer
- */
- public $index;
- /**
- * @access public
- * @var integer
- */
- public $length;
- /**
- * 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 "PolicyViolationError.Part";
- }
- public function __construct($index = NULL, $length = NULL) {
- if(get_parent_class('PolicyViolationErrorPart')) parent::__construct();
- $this->index = $index;
- $this->length = $length;
- }
- }}
- if (!class_exists("PolicyViolationKey", FALSE)) {
- /**
- * Key of the violation. The key is used for referring to a violation when
- * filing an exemption request.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class PolicyViolationKey {
- /**
- * @access public
- * @var string
- */
- public $policyName;
- /**
- * @access public
- * @var string
- */
- public $violatingText;
- /**
- * 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 "PolicyViolationKey";
- }
- public function __construct($policyName = NULL, $violatingText = NULL) {
- if(get_parent_class('PolicyViolationKey')) parent::__construct();
- $this->policyName = $policyName;
- $this->violatingText = $violatingText;
- }
- }}
- 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("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("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("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("AdParamErrorReason", FALSE)) {
- /**
- * The same ad param cannot be specified in multiple operations
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class AdParamErrorReason {
- /**
- * 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 "AdParamError.Reason";
- }
- public function __construct() {
- if(get_parent_class('AdParamErrorReason')) parent::__construct();
- }
- }}
- 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("DatabaseErrorReason", FALSE)) {
- /**
- * The reasons for the database error.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class DatabaseErrorReason {
- /**
- * 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.Reason";
- }
- public function __construct() {
- if(get_parent_class('DatabaseErrorReason')) parent::__construct();
- }
- }}
- if (!class_exists("DistinctErrorReason", FALSE)) {
- /**
- * The reasons for the validation error.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class DistinctErrorReason {
- /**
- * 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.Reason";
- }
- public function __construct() {
- if(get_parent_class('DistinctErrorReason')) parent::__construct();
- }
- }}
- if (!class_exists("InternalApiErrorReason", FALSE)) {
- /**
- * The single reason for the internal API error.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class InternalApiErrorReason {
- /**
- * 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.Reason";
- }
- public function __construct() {
- if(get_parent_class('InternalApiErrorReason')) parent::__construct();
- }
- }}
- if (!class_exists("NotEmptyErrorReason", FALSE)) {
- /**
- * The reasons for the validation error.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class NotEmptyErrorReason {
- /**
- * 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.Reason";
- }
- public function __construct() {
- if(get_parent_class('NotEmptyErrorReason')) parent::__construct();
- }
- }}
- if (!class_exists("NotWhitelistedErrorReason", FALSE)) {
- /**
- * The single reason for the whitelist error.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class NotWhitelistedErrorReason {
- /**
- * 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.Reason";
- }
- public function __construct() {
- if(get_parent_class('NotWhitelistedErrorReason')) parent::__construct();
- }
- }}
- if (!class_exists("NullErrorReason", FALSE)) {
- /**
- * The reasons for the validation error.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class NullErrorReason {
- /**
- * 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.Reason";
- }
- public function __construct() {
- if(get_parent_class('NullErrorReason')) parent::__construct();
- }
- }}
- if (!class_exists("OperationAccessDeniedReason", FALSE)) {
- /**
- * The reasons for the operation access error.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class OperationAccessDeniedReason {
- /**
- * 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 "OperationAccessDenied.Reason";
- }
- public function __construct() {
- if(get_parent_class('OperationAccessDeniedReason')) parent::__construct();
- }
- }}
- if (!class_exists("Operator", FALSE)) {
- /**
- * This represents an operator that may be presented to an adsapi service.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class Operator {
- /**
- * 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 "Operator";
- }
- public function __construct() {
- if(get_parent_class('Operator')) parent::__construct();
- }
- }}
- if (!class_exists("OperatorErrorReason", FALSE)) {
- /**
- * The reasons for the validation error.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class OperatorErrorReason {
- /**
- * 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 "OperatorError.Reason";
- }
- public function __construct() {
- if(get_parent_class('OperatorErrorReason')) parent::__construct();
- }
- }}
- if (!class_exists("PredicateOperator", FALSE)) {
- /**
- * Defines the valid set of operators.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class PredicateOperator {
- /**
- * 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.Operator";
- }
- public function __construct() {
- if(get_parent_class('PredicateOperator')) parent::__construct();
- }
- }}
- if (!class_exists("QuotaCheckErrorReason", FALSE)) {
- /**
- * Enums for all the reasons an error can be thrown to the user during
- * billing quota checks.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class QuotaCheckErrorReason {
- /**
- * 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.Reason";
- }
- public function __construct() {
- if(get_parent_class('QuotaCheckErrorReason')) parent::__construct();
- }
- }}
- if (!class_exists("RangeErrorReason", FALSE)) {
- /**
- * The reasons for the target error.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class RangeErrorReason {
- /**
- * 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.Reason";
- }
- public function __construct() {
- if(get_parent_class('RangeErrorReason')) parent::__construct();
- }
- }}
- if (!class_exists("RateExceededErrorReason", FALSE)) {
- /**
- * The reason for the rate exceeded error.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class RateExceededErrorReason {
- /**
- * 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.Reason";
- }
- public function __construct() {
- if(get_parent_class('RateExceededErrorReason')) parent::__construct();
- }
- }}
- if (!class_exists("RequestErrorReason", FALSE)) {
- /**
- * Error reason is unknown.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class RequestErrorReason {
- /**
- * 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.Reason";
- }
- public function __construct() {
- if(get_parent_class('RequestErrorReason')) parent::__construct();
- }
- }}
- if (!class_exists("RequiredErrorReason", FALSE)) {
- /**
- * The reasons for the target error.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class RequiredErrorReason {
- /**
- * 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.Reason";
- }
- public function __construct() {
- if(get_parent_class('RequiredErrorReason')) parent::__construct();
- }
- }}
- if (!class_exists("SelectorErrorReason", FALSE)) {
- /**
- * The reasons for the target error.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class SelectorErrorReason {
- /**
- * 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.Reason";
- }
- public function __construct() {
- if(get_parent_class('SelectorErrorReason')) parent::__construct();
- }
- }}
- if (!class_exists("SizeLimitErrorReason", FALSE)) {
- /**
- * The reasons for Ad Scheduling errors.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class SizeLimitErrorReason {
- /**
- * 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.Reason";
- }
- public function __construct() {
- if(get_parent_class('SizeLimitErrorReason')) parent::__construct();
- }
- }}
- if (!class_exists("SortOrder", FALSE)) {
- /**
- * Possible orders of sorting.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class 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 "SortOrder";
- }
- public function __construct() {
- if(get_parent_class('SortOrder')) parent::__construct();
- }
- }}
- if (!class_exists("StringLengthErrorReason", FALSE)) {
- /**
- * The reasons for the target error.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class StringLengthErrorReason {
- /**
- * 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 "StringLengthError.Reason";
- }
- public function __construct() {
- if(get_parent_class('StringLengthErrorReason')) parent::__construct();
- }
- }}
- if (!class_exists("AdParamServiceGet", FALSE)) {
- /**
- * <span class="constraint Required">This field is required and should not be {@code null}.</span>
- *
- *
- *
- * Returns the ad parameters that match the criteria specified in the
- * selector.
- *
- * @param serviceSelector Specifies which ad parameters to return.
- * @return A list of ad parameters.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class AdParamServiceGet {
- /**
- * @access public
- * @var Selector
- */
- public $serviceSelector;
- /**
- * 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 "";
- }
- public function __construct($serviceSelector = NULL) {
- if(get_parent_class('AdParamServiceGet')) parent::__construct();
- $this->serviceSelector = $serviceSelector;
- }
- }}
- if (!class_exists("AdParamServiceGetResponse", FALSE)) {
- /**
- *
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class AdParamServiceGetResponse {
- /**
- * @access public
- * @var AdParamPage
- */
- public $rval;
- /**
- * 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 "";
- }
- public function __construct($rval = NULL) {
- if(get_parent_class('AdParamServiceGetResponse')) parent::__construct();
- $this->rval = $rval;
- }
- }}
- if (!class_exists("AdParamServiceMutate", FALSE)) {
- /**
- * <span class="constraint ContentsNotNull">This field must not contain {@code null} elements.</span>
- * <span class="constraint NotEmpty">This field must contain at least one element.</span>
- * <span class="constraint Required">This field is required and should not be {@code null}.</span>
- * <span class="constraint SupportedOperators">The following {@link Operator}s are supported: SET, REMOVE.</span>
- *
- *
- *
- * Sets and removes ad parameters.
- * <p class="note"><b>Note:</b> {@code ADD} is not supported. Use {@code SET}
- * for new ad parameters.</p>
- *
- * <ul class="nolist">
- * <li>{@code SET}: Creates or updates an ad parameter, setting the new
- * parameterized value for the given ad group / keyword pair.
- * <li>{@code REMOVE}: Removes an ad parameter. The <code><var>default-value</var>
- * </code> specified in the ad text will be used.</li>
- * </ul>
- *
- * @param operations The operations to perform.
- * @return A list of ad parameters, where each entry in the list is the
- * result of applying the operation in the input list with the same index.
- * For a {@code SET} operation, the returned ad parameter will contain the
- * updated values. For a {@code REMOVE} operation, the returned ad parameter
- * will simply be the ad parameter that was removed.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class AdParamServiceMutate {
- /**
- * @access public
- * @var AdParamOperation[]
- */
- public $operations;
- /**
- * 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 "";
- }
- public function __construct($operations = NULL) {
- if(get_parent_class('AdParamServiceMutate')) parent::__construct();
- $this->operations = $operations;
- }
- }}
- if (!class_exists("AdParamServiceMutateResponse", FALSE)) {
- /**
- *
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class AdParamServiceMutateResponse {
- /**
- * @access public
- * @var AdParam[]
- */
- public $rval;
- /**
- * 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 "";
- }
- public function __construct($rval = NULL) {
- if(get_parent_class('AdParamServiceMutateResponse')) parent::__construct();
- $this->rval = $rval;
- }
- }}
- if (!class_exists("AdParamError", FALSE)) {
- /**
- * Errors for AdParamService.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class AdParamError extends ApiError {
- /**
- * @access public
- * @var tnsAdParamErrorReason
- */
- 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 "AdParamError";
- }
- public function __construct($reason = NULL, $fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL) {
- if(get_parent_class('AdParamError')) parent::__construct();
- $this->reason = $reason;
- $this->fieldPath = $fieldPath;
- $this->trigger = $trigger;
- $this->errorString = $errorString;
- $this->ApiErrorType = $ApiErrorType;
- }
- }}
- if (!class_exists("AdParamOperation", FALSE)) {
- /**
- * Represents an operation on an {@link AdParam}. The supported operators
- * are {@code SET} and {@code REMOVE}.
- * @package GoogleApiAdsAdWords
- * @subpackage v201109
- */
- class AdParamOperation extends Operation {
- /**
- * @access public
- * @var AdParam
- */
- 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 "AdParamOperation";
- }
- public function __construct($operand = NULL, $operator = NULL, $OperationType = NULL) {
- if(get_parent_class('AdParamOperation')) parent::__construct();
- $this->operand = $operand;
- $this->operator = $operator;
- $this->OperationType = $OperationType;
- }
- }}
- 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("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("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("OperationAccessDenied", FALSE)) {
- /**
- * Operation not pe…
Large files files are truncated, but you can click here to view the full file