+ *
+ * PQL Property |
+ * Object Property |
+ *
+ *
+ * {@code rateCardId} |
+ * {@link BaseRate#rateCardId} |
+ *
+ *
+ * {@code id} |
+ * {@link BaseRate#id} |
+ *
+ *
+ * {@code productTemplateId} |
+ * {@link ProductTemplateBaseRate#id} Note: Cannot be
+ * combined with {@code productId}.
+ * |
+ * {@code productId} |
+ * {@link ProductBaseRate#id} Note: Cannot be combined with
+ * {@code productTemplateId}.
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of base rates.
+ * @return the page of base rates that match the given filter
+ */
+ public function getBaseRatesByStatement($filterStatement) {
+ $args = new GetBaseRatesByStatement($filterStatement);
+ $result = $this->__soapCall("getBaseRatesByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Performs actions on {@link BaseRate} objects that satisfy the given
+ * {@link Statement#query}.
+ *
+ * @param baseRateAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of base rates.
+ * @return the result of the action performed
+ */
+ public function performBaseRateAction($baseRateAction, $filterStatement) {
+ $args = new PerformBaseRateAction($baseRateAction, $filterStatement);
+ $result = $this->__soapCall("performBaseRateAction", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link BaseRate} objects.
+ *
+ * @param baseRates the base rates to be updated
+ * @return the updated base rates
+ */
+ public function updateBaseRates($baseRates) {
+ $args = new UpdateBaseRates($baseRates);
+ $result = $this->__soapCall("updateBaseRates", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/CompanyService.php b/src/Google/Api/Ads/Dfp/v201505/CompanyService.php
new file mode 100755
index 000000000..b56769111
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/CompanyService.php
@@ -0,0 +1,3461 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AppliedLabel", false)) {
+ /**
+ * Represents a {@link Label} that can be applied to an entity. To negate an
+ * inherited label, create an {@code AppliedLabel} with {@code labelId} as the
+ * inherited label's ID and {@code isNegated} set to true.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AppliedLabel {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AppliedLabel";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $labelId;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isNegated;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($labelId = null, $isNegated = null) {
+ $this->labelId = $labelId;
+ $this->isNegated = $isNegated;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("AvailableBillingError", false)) {
+ /**
+ * Lists all errors associated with the availability of billing settings based on
+ * proposal network settings.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AvailableBillingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AvailableBillingError";
+
+ /**
+ * @access public
+ * @var tnsAvailableBillingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CompanyCreditStatusError", false)) {
+ /**
+ * Lists all errors due to {@link Company#creditStatus}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CompanyCreditStatusError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CompanyCreditStatusError";
+
+ /**
+ * @access public
+ * @var tnsCompanyCreditStatusErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Company", false)) {
+ /**
+ * A {@code Company} represents an agency, a single advertiser or an entire
+ * advertising network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Company {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Company";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var tnsCompanyType
+ */
+ public $type;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $address;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $email;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $faxPhone;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $primaryPhone;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $externalId;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $comment;
+
+ /**
+ * @access public
+ * @var tnsCompanyCreditStatus
+ */
+ public $creditStatus;
+
+ /**
+ * @access public
+ * @var AppliedLabel[]
+ */
+ public $appliedLabels;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $primaryContactId;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $appliedTeamIds;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $thirdPartyCompanyId;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $lastModifiedDateTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null, $type = null, $address = null, $email = null, $faxPhone = null, $primaryPhone = null, $externalId = null, $comment = null, $creditStatus = null, $appliedLabels = null, $primaryContactId = null, $appliedTeamIds = null, $thirdPartyCompanyId = null, $lastModifiedDateTime = null) {
+ $this->id = $id;
+ $this->name = $name;
+ $this->type = $type;
+ $this->address = $address;
+ $this->email = $email;
+ $this->faxPhone = $faxPhone;
+ $this->primaryPhone = $primaryPhone;
+ $this->externalId = $externalId;
+ $this->comment = $comment;
+ $this->creditStatus = $creditStatus;
+ $this->appliedLabels = $appliedLabels;
+ $this->primaryContactId = $primaryContactId;
+ $this->appliedTeamIds = $appliedTeamIds;
+ $this->thirdPartyCompanyId = $thirdPartyCompanyId;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ }
+
+ }
+}
+
+if (!class_exists("CompanyError", false)) {
+ /**
+ * A list of all errors associated with companies.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CompanyError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CompanyError";
+
+ /**
+ * @access public
+ * @var tnsCompanyErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CompanyPage", false)) {
+ /**
+ * Captures a page of {@link Company} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CompanyPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CompanyPage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var Company[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("CrossSellError", false)) {
+ /**
+ * Lists all errors associated with cross selling.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CrossSellError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CrossSellError";
+
+ /**
+ * @access public
+ * @var tnsCrossSellErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InvalidEmailError", false)) {
+ /**
+ * Caused by supplying a value for an email attribute that is not a valid
+ * email address.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidEmailError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidEmailError";
+
+ /**
+ * @access public
+ * @var tnsInvalidEmailErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LabelEntityAssociationError", false)) {
+ /**
+ * Errors specific to creating label entity associations.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelEntityAssociationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelEntityAssociationError";
+
+ /**
+ * @access public
+ * @var tnsLabelEntityAssociationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ParseError", false)) {
+ /**
+ * Lists errors related to parsing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError";
+
+ /**
+ * @access public
+ * @var tnsParseErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthError", false)) {
+ /**
+ * Errors for Strings which do not meet given length constraints.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("TeamError", false)) {
+ /**
+ * Errors related to a Team.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TeamError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TeamError";
+
+ /**
+ * @access public
+ * @var tnsTeamErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TypeError", false)) {
+ /**
+ * An error for a field which is an invalid type.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TypeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TypeError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AvailableBillingErrorReason", false)) {
+ /**
+ * The error reason represented by an enum.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AvailableBillingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AvailableBillingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CompanyCreditStatusErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CompanyCreditStatusErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CompanyCreditStatusError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CompanyCreditStatus", false)) {
+ /**
+ * Specifies the credit-worthiness of the company for which the publisher runs
+ * an order. By doing so, the publisher can control the running of campaigns
+ * for the company. A publisher can choose between Basic and Advanced Credit
+ * Status settings. This feature needs to be enabled in the DoubleClick For
+ * Publishers web site. Also the kind of setting you need - Basic or Advanced
+ * must be configured. If Basic is enabled then, the values allowed are
+ * {@code ACTIVE} and {@code INACTIVE}. If Advanced is chosen, then all values
+ * are allowed. Choosing an Advanced setting when only the Basic feature has
+ * been enabled, or using the Basic setting without turning the feature on
+ * will result in an error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CompanyCreditStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Company.CreditStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CompanyType", false)) {
+ /**
+ * The type of the company. Once a company is created, it is not possible to
+ * change its type.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CompanyType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Company.Type";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CompanyErrorReason", false)) {
+ /**
+ * Enumerates all possible company specific errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CompanyErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CompanyError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CrossSellErrorReason", false)) {
+ /**
+ * The reason of the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CrossSellErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CrossSellError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InvalidEmailErrorReason", false)) {
+ /**
+ * Describes reasons for an email to be invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidEmailErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidEmailError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LabelEntityAssociationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelEntityAssociationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelEntityAssociationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ParseErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TeamErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TeamErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TeamError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreateCompanies", false)) {
+ /**
+ * Creates new {@link Company} objects.
+ *
+ * @param companies the companies to create
+ * @return the created companies with their IDs filled in
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateCompanies {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Company[]
+ */
+ public $companies;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($companies = null) {
+ $this->companies = $companies;
+ }
+
+ }
+}
+
+if (!class_exists("CreateCompaniesResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateCompaniesResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Company[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetCompaniesByStatement", false)) {
+ /**
+ * Gets a {@link CompanyPage} of {@link Company} objects that satisfy the
+ * given {@link Statement#query}. The following fields are supported for
+ * filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link Company#id} |
+ *
+ *
+ * {@code name} |
+ * {@link Company#name} |
+ *
+ *
+ * {@code type} |
+ * {@link Company#type} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link Company#lastModifiedDateTime} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of companies
+ * @return the companies that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetCompaniesByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetCompaniesByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetCompaniesByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CompanyPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateCompanies", false)) {
+ /**
+ * Updates the specified {@link Company} objects.
+ *
+ * @param companies the companies to update
+ * @return the updated companies
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateCompanies {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Company[]
+ */
+ public $companies;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($companies = null) {
+ $this->companies = $companies;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateCompaniesResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateCompaniesResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Company[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("CompanyService", false)) {
+ /**
+ * CompanyService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CompanyService extends DfpSoapClient {
+
+ const SERVICE_NAME = "CompanyService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/CompanyService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/CompanyService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AppliedLabel" => "AppliedLabel",
+ "AuthenticationError" => "AuthenticationError",
+ "AvailableBillingError" => "AvailableBillingError",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "CompanyCreditStatusError" => "CompanyCreditStatusError",
+ "Company" => "Company",
+ "CompanyError" => "CompanyError",
+ "CompanyPage" => "CompanyPage",
+ "CrossSellError" => "CrossSellError",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "FeatureError" => "FeatureError",
+ "InternalApiError" => "InternalApiError",
+ "InvalidEmailError" => "InvalidEmailError",
+ "LabelEntityAssociationError" => "LabelEntityAssociationError",
+ "NotNullError" => "NotNullError",
+ "NumberValue" => "NumberValue",
+ "ParseError" => "ParseError",
+ "PermissionError" => "PermissionError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RequiredError" => "RequiredError",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "StringLengthError" => "StringLengthError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "TeamError" => "TeamError",
+ "TextValue" => "TextValue",
+ "TypeError" => "TypeError",
+ "UniqueError" => "UniqueError",
+ "Value" => "Value",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "AvailableBillingError.Reason" => "AvailableBillingErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "CompanyCreditStatusError.Reason" => "CompanyCreditStatusErrorReason",
+ "Company.CreditStatus" => "CompanyCreditStatus",
+ "Company.Type" => "CompanyType",
+ "CompanyError.Reason" => "CompanyErrorReason",
+ "CrossSellError.Reason" => "CrossSellErrorReason",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "InvalidEmailError.Reason" => "InvalidEmailErrorReason",
+ "LabelEntityAssociationError.Reason" => "LabelEntityAssociationErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "ParseError.Reason" => "ParseErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "TeamError.Reason" => "TeamErrorReason",
+ "createCompanies" => "CreateCompanies",
+ "createCompaniesResponse" => "CreateCompaniesResponse",
+ "getCompaniesByStatement" => "GetCompaniesByStatement",
+ "getCompaniesByStatementResponse" => "GetCompaniesByStatementResponse",
+ "updateCompanies" => "UpdateCompanies",
+ "updateCompaniesResponse" => "UpdateCompaniesResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Creates new {@link Company} objects.
+ *
+ * @param companies the companies to create
+ * @return the created companies with their IDs filled in
+ */
+ public function createCompanies($companies) {
+ $args = new CreateCompanies($companies);
+ $result = $this->__soapCall("createCompanies", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@link CompanyPage} of {@link Company} objects that satisfy the
+ * given {@link Statement#query}. The following fields are supported for
+ * filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link Company#id} |
+ *
+ *
+ * {@code name} |
+ * {@link Company#name} |
+ *
+ *
+ * {@code type} |
+ * {@link Company#type} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link Company#lastModifiedDateTime} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of companies
+ * @return the companies that match the given filter
+ */
+ public function getCompaniesByStatement($filterStatement) {
+ $args = new GetCompaniesByStatement($filterStatement);
+ $result = $this->__soapCall("getCompaniesByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link Company} objects.
+ *
+ * @param companies the companies to update
+ * @return the updated companies
+ */
+ public function updateCompanies($companies) {
+ $args = new UpdateCompanies($companies);
+ $result = $this->__soapCall("updateCompanies", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/ContactService.php b/src/Google/Api/Ads/Dfp/v201505/ContactService.php
new file mode 100755
index 000000000..f703693bf
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/ContactService.php
@@ -0,0 +1,2909 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ContactError", false)) {
+ /**
+ * Errors associated with {@code Contact}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContactError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContactError";
+
+ /**
+ * @access public
+ * @var tnsContactErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ContactPage", false)) {
+ /**
+ * Captures a page of {@link Contact} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContactPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContactPage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var Contact[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("BaseContact", false)) {
+ /**
+ * Base class for a {@link Contact}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BaseContact {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BaseContact";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InvalidEmailError", false)) {
+ /**
+ * Caused by supplying a value for an email attribute that is not a valid
+ * email address.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidEmailError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidEmailError";
+
+ /**
+ * @access public
+ * @var tnsInvalidEmailErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthError", false)) {
+ /**
+ * Errors for Strings which do not meet given length constraints.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ContactStatus", false)) {
+ /**
+ * Describes the contact statuses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContactStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Contact.Status";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ContactErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContactErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContactError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InvalidEmailErrorReason", false)) {
+ /**
+ * Describes reasons for an email to be invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidEmailErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidEmailError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreateContacts", false)) {
+ /**
+ * Creates new {@link Contact} objects.
+ *
+ * @param contacts the contacts to create
+ * @return the created contacts with their IDs filled in
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateContacts {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Contact[]
+ */
+ public $contacts;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($contacts = null) {
+ $this->contacts = $contacts;
+ }
+
+ }
+}
+
+if (!class_exists("CreateContactsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateContactsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Contact[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetContactsByStatement", false)) {
+ /**
+ * Gets a {@link ContactPage} of {@link Contact} objects that satisfy the given
+ * {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code name} |
+ * {@link Contact#name} |
+ *
+ *
+ * {@code email} |
+ * {@link Contact#email} |
+ *
+ *
+ * {@code id} |
+ * {@link Contact#id} |
+ *
+ *
+ * {@code comment} |
+ * {@link Contact#comment} |
+ *
+ *
+ * {@code companyId} |
+ * {@link Contact#companyId} |
+ *
+ *
+ * {@code title} |
+ * {@link Contact#title} |
+ *
+ *
+ * {@code cellPhone} |
+ * {@link Contact#cellPhone} |
+ *
+ *
+ * {@code workPhone} |
+ * {@link Contact#workPhone} |
+ *
+ *
+ * {@code faxPhone} |
+ * {@link Contact#faxPhone} |
+ *
+ *
+ * {@code status} |
+ * {@link Contact#status} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of contacts
+ * @return the contacts that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetContactsByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $statement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($statement = null) {
+ $this->statement = $statement;
+ }
+
+ }
+}
+
+if (!class_exists("GetContactsByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetContactsByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ContactPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateContacts", false)) {
+ /**
+ * Updates the specified {@link Contact} objects.
+ *
+ * @param contacts the contacts to update
+ * @return the updated contacts
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateContacts {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Contact[]
+ */
+ public $contacts;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($contacts = null) {
+ $this->contacts = $contacts;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateContactsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateContactsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Contact[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("Contact", false)) {
+ /**
+ * A {@code Contact} represents a person who is affiliated with a single
+ * {@link Company}. A contact can have a variety of contact information
+ * associated to it, and can be invited to view their company's orders, line
+ * items, creatives, and reports.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Contact extends BaseContact {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Contact";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $companyId;
+
+ /**
+ * @access public
+ * @var tnsContactStatus
+ */
+ public $status;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $address;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $cellPhone;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $comment;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $email;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $faxPhone;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $title;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $workPhone;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null, $companyId = null, $status = null, $address = null, $cellPhone = null, $comment = null, $email = null, $faxPhone = null, $title = null, $workPhone = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ $this->companyId = $companyId;
+ $this->status = $status;
+ $this->address = $address;
+ $this->cellPhone = $cellPhone;
+ $this->comment = $comment;
+ $this->email = $email;
+ $this->faxPhone = $faxPhone;
+ $this->title = $title;
+ $this->workPhone = $workPhone;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("ContactService", false)) {
+ /**
+ * ContactService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContactService extends DfpSoapClient {
+
+ const SERVICE_NAME = "ContactService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/ContactService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/ContactService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AuthenticationError" => "AuthenticationError",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "Contact" => "Contact",
+ "ContactError" => "ContactError",
+ "ContactPage" => "ContactPage",
+ "BaseContact" => "BaseContact",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "FeatureError" => "FeatureError",
+ "InternalApiError" => "InternalApiError",
+ "InvalidEmailError" => "InvalidEmailError",
+ "NotNullError" => "NotNullError",
+ "NumberValue" => "NumberValue",
+ "PermissionError" => "PermissionError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RequiredError" => "RequiredError",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "StringLengthError" => "StringLengthError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "TextValue" => "TextValue",
+ "UniqueError" => "UniqueError",
+ "Value" => "Value",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "Contact.Status" => "ContactStatus",
+ "ContactError.Reason" => "ContactErrorReason",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "InvalidEmailError.Reason" => "InvalidEmailErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "createContacts" => "CreateContacts",
+ "createContactsResponse" => "CreateContactsResponse",
+ "getContactsByStatement" => "GetContactsByStatement",
+ "getContactsByStatementResponse" => "GetContactsByStatementResponse",
+ "updateContacts" => "UpdateContacts",
+ "updateContactsResponse" => "UpdateContactsResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Creates new {@link Contact} objects.
+ *
+ * @param contacts the contacts to create
+ * @return the created contacts with their IDs filled in
+ */
+ public function createContacts($contacts) {
+ $args = new CreateContacts($contacts);
+ $result = $this->__soapCall("createContacts", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@link ContactPage} of {@link Contact} objects that satisfy the given
+ * {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code name} |
+ * {@link Contact#name} |
+ *
+ *
+ * {@code email} |
+ * {@link Contact#email} |
+ *
+ *
+ * {@code id} |
+ * {@link Contact#id} |
+ *
+ *
+ * {@code comment} |
+ * {@link Contact#comment} |
+ *
+ *
+ * {@code companyId} |
+ * {@link Contact#companyId} |
+ *
+ *
+ * {@code title} |
+ * {@link Contact#title} |
+ *
+ *
+ * {@code cellPhone} |
+ * {@link Contact#cellPhone} |
+ *
+ *
+ * {@code workPhone} |
+ * {@link Contact#workPhone} |
+ *
+ *
+ * {@code faxPhone} |
+ * {@link Contact#faxPhone} |
+ *
+ *
+ * {@code status} |
+ * {@link Contact#status} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of contacts
+ * @return the contacts that match the given filter
+ */
+ public function getContactsByStatement($statement) {
+ $args = new GetContactsByStatement($statement);
+ $result = $this->__soapCall("getContactsByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link Contact} objects.
+ *
+ * @param contacts the contacts to update
+ * @return the updated contacts
+ */
+ public function updateContacts($contacts) {
+ $args = new UpdateContacts($contacts);
+ $result = $this->__soapCall("updateContacts", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/ContentBundleService.php b/src/Google/Api/Ads/Dfp/v201505/ContentBundleService.php
new file mode 100755
index 000000000..56f8b49b6
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/ContentBundleService.php
@@ -0,0 +1,2947 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ContentBundleAction", false)) {
+ /**
+ * Represents the actions that can be performed on {@link ContentBundle} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentBundleAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentBundleAction";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ContentBundle", false)) {
+ /**
+ * A {@code ContentBundle} is a grouping of individual {@link Content}. A {@code ContentBundle} is
+ * defined as including the {@code Content} that match certain filter rules, along with the
+ * option to explicitly include or exclude certain {@code Content} IDs.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentBundle {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentBundle";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $description;
+
+ /**
+ * @access public
+ * @var tnsContentBundleStatus
+ */
+ public $status;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null, $description = null, $status = null) {
+ $this->id = $id;
+ $this->name = $name;
+ $this->description = $description;
+ $this->status = $status;
+ }
+
+ }
+}
+
+if (!class_exists("ContentBundlePage", false)) {
+ /**
+ * Captures a page of {@link ContentBundle} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentBundlePage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentBundlePage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var ContentBundle[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("DeactivateContentBundles", false)) {
+ /**
+ * The action used for deactivating {@link ContentBundle} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeactivateContentBundles extends ContentBundleAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeactivateContentBundles";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ExcludeContentFromContentBundle", false)) {
+ /**
+ * The action used for explicitly excluding specific content from a {@link ContentBundle} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ExcludeContentFromContentBundle extends ContentBundleAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ExcludeContentFromContentBundle";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $contentStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($contentStatement = null) {
+ parent::__construct();
+ $this->contentStatement = $contentStatement;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("IncludeContentInContentBundle", false)) {
+ /**
+ * The action used for explicitly including specific content in a {@link ContentBundle} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class IncludeContentInContentBundle extends ContentBundleAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "IncludeContentInContentBundle";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $contentStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($contentStatement = null) {
+ parent::__construct();
+ $this->contentStatement = $contentStatement;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PlacementError", false)) {
+ /**
+ * Class defining all validation errors for a placement.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PlacementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PlacementError";
+
+ /**
+ * @access public
+ * @var tnsPlacementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateResult", false)) {
+ /**
+ * Represents the result of performing an action on objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UpdateResult";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numChanges;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($numChanges = null) {
+ $this->numChanges = $numChanges;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ContentBundleStatus", false)) {
+ /**
+ * Status for {@code ContentBundle} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentBundleStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentBundleStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PlacementErrorReason", false)) {
+ /**
+ * Possible reasons for the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PlacementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PlacementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreateContentBundles", false)) {
+ /**
+ * Creates new {@link ContentBundle} objects.
+ *
+ * @param contentBundles the content bundles to create
+ * @return the created content bundles with their IDs filled in
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateContentBundles {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ContentBundle[]
+ */
+ public $contentBundles;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($contentBundles = null) {
+ $this->contentBundles = $contentBundles;
+ }
+
+ }
+}
+
+if (!class_exists("CreateContentBundlesResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateContentBundlesResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ContentBundle[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetContentBundlesByStatement", false)) {
+ /**
+ * Gets a {@link ContentBundlePage} of {@link ContentBundle} objects that satisfy the
+ * given {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link ContentBundle#id} |
+ *
+ *
+ * {@code name} |
+ * {@link ContentBundle#name} |
+ *
+ *
+ * {@code status} |
+ * {@link ContentBundle#status} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of content bundles
+ * @return the content bundles that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetContentBundlesByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetContentBundlesByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetContentBundlesByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ContentBundlePage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("PerformContentBundleAction", false)) {
+ /**
+ * Performs actions on {@link ContentBundle} objects that match the given
+ * {@link Statement#query}.
+ *
+ * @param contentBundleAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of content bundles
+ * @return the result of the action performed
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformContentBundleAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ContentBundleAction
+ */
+ public $contentBundleAction;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($contentBundleAction = null, $filterStatement = null) {
+ $this->contentBundleAction = $contentBundleAction;
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("PerformContentBundleActionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformContentBundleActionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UpdateResult
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateContentBundles", false)) {
+ /**
+ * Updates the specified {@link ContentBundle} objects.
+ *
+ * @param contentBundles the content bundles to update
+ * @return the updated content bundles
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateContentBundles {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ContentBundle[]
+ */
+ public $contentBundles;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($contentBundles = null) {
+ $this->contentBundles = $contentBundles;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateContentBundlesResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateContentBundlesResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ContentBundle[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ActivateContentBundles", false)) {
+ /**
+ * The action used for activating {@link ContentBundle} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ActivateContentBundles extends ContentBundleAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ActivateContentBundles";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("ContentBundleService", false)) {
+ /**
+ * ContentBundleService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentBundleService extends DfpSoapClient {
+
+ const SERVICE_NAME = "ContentBundleService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/ContentBundleService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/ContentBundleService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ActivateContentBundles" => "ActivateContentBundles",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AuthenticationError" => "AuthenticationError",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "ContentBundleAction" => "ContentBundleAction",
+ "ContentBundle" => "ContentBundle",
+ "ContentBundlePage" => "ContentBundlePage",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "DeactivateContentBundles" => "DeactivateContentBundles",
+ "ExcludeContentFromContentBundle" => "ExcludeContentFromContentBundle",
+ "FeatureError" => "FeatureError",
+ "IncludeContentInContentBundle" => "IncludeContentInContentBundle",
+ "InternalApiError" => "InternalApiError",
+ "NotNullError" => "NotNullError",
+ "NumberValue" => "NumberValue",
+ "PermissionError" => "PermissionError",
+ "PlacementError" => "PlacementError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RequiredError" => "RequiredError",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "TextValue" => "TextValue",
+ "UniqueError" => "UniqueError",
+ "UpdateResult" => "UpdateResult",
+ "Value" => "Value",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "ContentBundleStatus" => "ContentBundleStatus",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PlacementError.Reason" => "PlacementErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "createContentBundles" => "CreateContentBundles",
+ "createContentBundlesResponse" => "CreateContentBundlesResponse",
+ "getContentBundlesByStatement" => "GetContentBundlesByStatement",
+ "getContentBundlesByStatementResponse" => "GetContentBundlesByStatementResponse",
+ "performContentBundleAction" => "PerformContentBundleAction",
+ "performContentBundleActionResponse" => "PerformContentBundleActionResponse",
+ "updateContentBundles" => "UpdateContentBundles",
+ "updateContentBundlesResponse" => "UpdateContentBundlesResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Creates new {@link ContentBundle} objects.
+ *
+ * @param contentBundles the content bundles to create
+ * @return the created content bundles with their IDs filled in
+ */
+ public function createContentBundles($contentBundles) {
+ $args = new CreateContentBundles($contentBundles);
+ $result = $this->__soapCall("createContentBundles", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@link ContentBundlePage} of {@link ContentBundle} objects that satisfy the
+ * given {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link ContentBundle#id} |
+ *
+ *
+ * {@code name} |
+ * {@link ContentBundle#name} |
+ *
+ *
+ * {@code status} |
+ * {@link ContentBundle#status} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of content bundles
+ * @return the content bundles that match the given filter
+ */
+ public function getContentBundlesByStatement($filterStatement) {
+ $args = new GetContentBundlesByStatement($filterStatement);
+ $result = $this->__soapCall("getContentBundlesByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Performs actions on {@link ContentBundle} objects that match the given
+ * {@link Statement#query}.
+ *
+ * @param contentBundleAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of content bundles
+ * @return the result of the action performed
+ */
+ public function performContentBundleAction($contentBundleAction, $filterStatement) {
+ $args = new PerformContentBundleAction($contentBundleAction, $filterStatement);
+ $result = $this->__soapCall("performContentBundleAction", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link ContentBundle} objects.
+ *
+ * @param contentBundles the content bundles to update
+ * @return the updated content bundles
+ */
+ public function updateContentBundles($contentBundles) {
+ $args = new UpdateContentBundles($contentBundles);
+ $result = $this->__soapCall("updateContentBundles", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/ContentMetadataKeyHierarchyService.php b/src/Google/Api/Ads/Dfp/v201505/ContentMetadataKeyHierarchyService.php
new file mode 100755
index 000000000..eaa884154
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/ContentMetadataKeyHierarchyService.php
@@ -0,0 +1,3137 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ContentMetadataKeyHierarchyAction", false)) {
+ /**
+ * Represents the actions that can be performed on {@link ContentMetadataKeyHierarchy} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentMetadataKeyHierarchyAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentMetadataKeyHierarchyAction";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ContentMetadataKeyHierarchy", false)) {
+ /**
+ * A {@code ContentMetadataKeyHierarchy} defines a hierarchical relationship between content
+ * metadata keys.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentMetadataKeyHierarchy {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentMetadataKeyHierarchy";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var ContentMetadataKeyHierarchyLevel[]
+ */
+ public $hierarchyLevels;
+
+ /**
+ * @access public
+ * @var tnsContentMetadataKeyHierarchyStatus
+ */
+ public $status;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null, $hierarchyLevels = null, $status = null) {
+ $this->id = $id;
+ $this->name = $name;
+ $this->hierarchyLevels = $hierarchyLevels;
+ $this->status = $status;
+ }
+
+ }
+}
+
+if (!class_exists("ContentMetadataKeyHierarchyError", false)) {
+ /**
+ * Lists all errors associated with content hierarchies.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentMetadataKeyHierarchyError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentMetadataKeyHierarchyError";
+
+ /**
+ * @access public
+ * @var tnsContentMetadataKeyHierarchyErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ContentMetadataKeyHierarchyLevel", false)) {
+ /**
+ * A {@code ContentMetadataKeyHierarchyLevel} represents one level in a
+ * {@link ContentMetadataKeyHierarchy}. The level consists of a {@link CustomTargetingKey}
+ * and an integer that represents the level's position in the hierarchy.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentMetadataKeyHierarchyLevel {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentMetadataKeyHierarchyLevel";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customTargetingKeyId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hierarchyLevel;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customTargetingKeyId = null, $hierarchyLevel = null) {
+ $this->customTargetingKeyId = $customTargetingKeyId;
+ $this->hierarchyLevel = $hierarchyLevel;
+ }
+
+ }
+}
+
+if (!class_exists("ContentMetadataKeyHierarchyPage", false)) {
+ /**
+ * Captures a page of {@link ContentMetadataKeyHierarchy} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentMetadataKeyHierarchyPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentMetadataKeyHierarchyPage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var ContentMetadataKeyHierarchy[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("DeleteContentMetadataKeyHierarchies", false)) {
+ /**
+ * The action used for deleting {@link ContentMetadataKeyHierarchy} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeleteContentMetadataKeyHierarchies extends ContentMetadataKeyHierarchyAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeleteContentMetadataKeyHierarchies";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionError", false)) {
+ /**
+ * A list of all errors to be used for validating sizes of collections.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError";
+
+ /**
+ * @access public
+ * @var tnsRequiredCollectionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberError", false)) {
+ /**
+ * A list of all errors to be used in conjunction with required number
+ * validators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError";
+
+ /**
+ * @access public
+ * @var tnsRequiredNumberErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthError", false)) {
+ /**
+ * Errors for Strings which do not meet given length constraints.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateResult", false)) {
+ /**
+ * Represents the result of performing an action on objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UpdateResult";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numChanges;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($numChanges = null) {
+ $this->numChanges = $numChanges;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ContentMetadataKeyHierarchyErrorReason", false)) {
+ /**
+ * The reasons for the {@link ContentMetadataKeyHierarchyError}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentMetadataKeyHierarchyErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentMetadataKeyHierarchyError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ContentMetadataKeyHierarchyStatus", false)) {
+ /**
+ * Represents the status of a {@link ContentMetadataKeyHierarchy}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentMetadataKeyHierarchyStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentMetadataKeyHierarchyStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionErrorReason", false)) {
+ /**
+ * A required collection is missing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberErrorReason", false)) {
+ /**
+ * Describes reasons for a number to be invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreateContentMetadataKeyHierarchies", false)) {
+ /**
+ * Creates new {@link ContentMetadataKeyHierarchy} objects.
+ *
+ * The following fields are required:
+ *
+ * - {@link ContentMetadataKeyHierarchy#id}
+ * - {@link ContentMetadataKeyHierarchy#name}
+ * - {@link ContentMetadataKeyHierarchy#hierarchyLevels}
+ *
+ *
+ * @param contentMetadataKeyHierarchies the hierarchies to create
+ * @return the created hierarchies with their IDs filled in
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateContentMetadataKeyHierarchies {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ContentMetadataKeyHierarchy[]
+ */
+ public $contentMetadataKeyHierarchies;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($contentMetadataKeyHierarchies = null) {
+ $this->contentMetadataKeyHierarchies = $contentMetadataKeyHierarchies;
+ }
+
+ }
+}
+
+if (!class_exists("CreateContentMetadataKeyHierarchiesResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateContentMetadataKeyHierarchiesResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ContentMetadataKeyHierarchy[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetContentMetadataKeyHierarchiesByStatement", false)) {
+ /**
+ * Gets a {@link ContentMetadataKeyHierarchyPage} of {@link ContentMetadataKeyHierarchy}
+ * objects that satisfy the given {@link Statement#query}. The following fields are supported
+ * for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link ContentMetadataKeyHierarchy#id} |
+ *
+ *
+ * {@code name} |
+ * {@link ContentMetadataKeyHierarchy#name} |
+ *
+ *
+ * {@code status} |
+ * {@link ContentMetadataKeyHierarchy#status} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter a set of
+ * content metadata key hierarchies
+ * @return the content metadata key hierarchies that match the given filter
+ * @throws ApiException if the ID of the active network does not exist or there is a
+ * backend error
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetContentMetadataKeyHierarchiesByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetContentMetadataKeyHierarchiesByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetContentMetadataKeyHierarchiesByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ContentMetadataKeyHierarchyPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("PerformContentMetadataKeyHierarchyAction", false)) {
+ /**
+ * Performs actions on {@link ContentMetadataKeyHierarchy} objects that match the given
+ * {@link Statement#query}.
+ *
+ * @param contentMetadataKeyHierarchyAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of hierarchies
+ * @return the result of the action performed
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformContentMetadataKeyHierarchyAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ContentMetadataKeyHierarchyAction
+ */
+ public $contentMetadataKeyHierarchyAction;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($contentMetadataKeyHierarchyAction = null, $filterStatement = null) {
+ $this->contentMetadataKeyHierarchyAction = $contentMetadataKeyHierarchyAction;
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("PerformContentMetadataKeyHierarchyActionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformContentMetadataKeyHierarchyActionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UpdateResult
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateContentMetadataKeyHierarchies", false)) {
+ /**
+ * Updates the specified {@link ContentMetadataKeyHierarchy} objects.
+ *
+ * @param contentMetadataKeyHierarchies the hierarchies to update
+ * @return the updated hierarchies
+ * @throws ApiException if there is an error updating the one of the hierarchies
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateContentMetadataKeyHierarchies {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ContentMetadataKeyHierarchy[]
+ */
+ public $contentMetadataKeyHierarchies;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($contentMetadataKeyHierarchies = null) {
+ $this->contentMetadataKeyHierarchies = $contentMetadataKeyHierarchies;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateContentMetadataKeyHierarchiesResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateContentMetadataKeyHierarchiesResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ContentMetadataKeyHierarchy[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("ContentMetadataKeyHierarchyService", false)) {
+ /**
+ * ContentMetadataKeyHierarchyService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentMetadataKeyHierarchyService extends DfpSoapClient {
+
+ const SERVICE_NAME = "ContentMetadataKeyHierarchyService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/ContentMetadataKeyHierarchyService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/ContentMetadataKeyHierarchyService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AuthenticationError" => "AuthenticationError",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "ContentMetadataKeyHierarchyAction" => "ContentMetadataKeyHierarchyAction",
+ "ContentMetadataKeyHierarchy" => "ContentMetadataKeyHierarchy",
+ "ContentMetadataKeyHierarchyError" => "ContentMetadataKeyHierarchyError",
+ "ContentMetadataKeyHierarchyLevel" => "ContentMetadataKeyHierarchyLevel",
+ "ContentMetadataKeyHierarchyPage" => "ContentMetadataKeyHierarchyPage",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "DeleteContentMetadataKeyHierarchies" => "DeleteContentMetadataKeyHierarchies",
+ "FeatureError" => "FeatureError",
+ "InternalApiError" => "InternalApiError",
+ "NotNullError" => "NotNullError",
+ "NumberValue" => "NumberValue",
+ "PermissionError" => "PermissionError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RequiredCollectionError" => "RequiredCollectionError",
+ "RequiredError" => "RequiredError",
+ "RequiredNumberError" => "RequiredNumberError",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "StringLengthError" => "StringLengthError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "TextValue" => "TextValue",
+ "UniqueError" => "UniqueError",
+ "UpdateResult" => "UpdateResult",
+ "Value" => "Value",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "ContentMetadataKeyHierarchyError.Reason" => "ContentMetadataKeyHierarchyErrorReason",
+ "ContentMetadataKeyHierarchyStatus" => "ContentMetadataKeyHierarchyStatus",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RequiredCollectionError.Reason" => "RequiredCollectionErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "RequiredNumberError.Reason" => "RequiredNumberErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "createContentMetadataKeyHierarchies" => "CreateContentMetadataKeyHierarchies",
+ "createContentMetadataKeyHierarchiesResponse" => "CreateContentMetadataKeyHierarchiesResponse",
+ "getContentMetadataKeyHierarchiesByStatement" => "GetContentMetadataKeyHierarchiesByStatement",
+ "getContentMetadataKeyHierarchiesByStatementResponse" => "GetContentMetadataKeyHierarchiesByStatementResponse",
+ "performContentMetadataKeyHierarchyAction" => "PerformContentMetadataKeyHierarchyAction",
+ "performContentMetadataKeyHierarchyActionResponse" => "PerformContentMetadataKeyHierarchyActionResponse",
+ "updateContentMetadataKeyHierarchies" => "UpdateContentMetadataKeyHierarchies",
+ "updateContentMetadataKeyHierarchiesResponse" => "UpdateContentMetadataKeyHierarchiesResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Creates new {@link ContentMetadataKeyHierarchy} objects.
+ *
+ * The following fields are required:
+ *
+ * - {@link ContentMetadataKeyHierarchy#id}
+ * - {@link ContentMetadataKeyHierarchy#name}
+ * - {@link ContentMetadataKeyHierarchy#hierarchyLevels}
+ *
+ *
+ * @param contentMetadataKeyHierarchies the hierarchies to create
+ * @return the created hierarchies with their IDs filled in
+ */
+ public function createContentMetadataKeyHierarchies($contentMetadataKeyHierarchies) {
+ $args = new CreateContentMetadataKeyHierarchies($contentMetadataKeyHierarchies);
+ $result = $this->__soapCall("createContentMetadataKeyHierarchies", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@link ContentMetadataKeyHierarchyPage} of {@link ContentMetadataKeyHierarchy}
+ * objects that satisfy the given {@link Statement#query}. The following fields are supported
+ * for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link ContentMetadataKeyHierarchy#id} |
+ *
+ *
+ * {@code name} |
+ * {@link ContentMetadataKeyHierarchy#name} |
+ *
+ *
+ * {@code status} |
+ * {@link ContentMetadataKeyHierarchy#status} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter a set of
+ * content metadata key hierarchies
+ * @return the content metadata key hierarchies that match the given filter
+ * @throws ApiException if the ID of the active network does not exist or there is a
+ * backend error
+ */
+ public function getContentMetadataKeyHierarchiesByStatement($filterStatement) {
+ $args = new GetContentMetadataKeyHierarchiesByStatement($filterStatement);
+ $result = $this->__soapCall("getContentMetadataKeyHierarchiesByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Performs actions on {@link ContentMetadataKeyHierarchy} objects that match the given
+ * {@link Statement#query}.
+ *
+ * @param contentMetadataKeyHierarchyAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of hierarchies
+ * @return the result of the action performed
+ */
+ public function performContentMetadataKeyHierarchyAction($contentMetadataKeyHierarchyAction, $filterStatement) {
+ $args = new PerformContentMetadataKeyHierarchyAction($contentMetadataKeyHierarchyAction, $filterStatement);
+ $result = $this->__soapCall("performContentMetadataKeyHierarchyAction", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link ContentMetadataKeyHierarchy} objects.
+ *
+ * @param contentMetadataKeyHierarchies the hierarchies to update
+ * @return the updated hierarchies
+ * @throws ApiException if there is an error updating the one of the hierarchies
+ */
+ public function updateContentMetadataKeyHierarchies($contentMetadataKeyHierarchies) {
+ $args = new UpdateContentMetadataKeyHierarchies($contentMetadataKeyHierarchies);
+ $result = $this->__soapCall("updateContentMetadataKeyHierarchies", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/ContentService.php b/src/Google/Api/Ads/Dfp/v201505/ContentService.php
new file mode 100755
index 000000000..776954b63
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/ContentService.php
@@ -0,0 +1,2948 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CmsContent", false)) {
+ /**
+ * Contains information about {@link Content} from the CMS it was ingested from.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CmsContent {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CmsContent";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $displayName;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $cmsContentId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $displayName = null, $cmsContentId = null) {
+ $this->id = $id;
+ $this->displayName = $displayName;
+ $this->cmsContentId = $cmsContentId;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Content", false)) {
+ /**
+ * A {@code Content} represents video metadata from a publisher's
+ * Content Management System (CMS) that has been synced to DFP.
+ *
+ * Video line items can be targeted to {@code Content}
+ * to indicate what ads should match when the {@code Content} is being played.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Content {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Content";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var tnsContentStatus
+ */
+ public $status;
+
+ /**
+ * @access public
+ * @var tnsContentStatusDefinedBy
+ */
+ public $statusDefinedBy;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $importDateTime;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $lastModifiedDateTime;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $userDefinedCustomTargetingValueIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $mappingRuleDefinedCustomTargetingValueIds;
+
+ /**
+ * @access public
+ * @var CmsContent[]
+ */
+ public $cmsSources;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null, $status = null, $statusDefinedBy = null, $importDateTime = null, $lastModifiedDateTime = null, $userDefinedCustomTargetingValueIds = null, $mappingRuleDefinedCustomTargetingValueIds = null, $cmsSources = null) {
+ $this->id = $id;
+ $this->name = $name;
+ $this->status = $status;
+ $this->statusDefinedBy = $statusDefinedBy;
+ $this->importDateTime = $importDateTime;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ $this->userDefinedCustomTargetingValueIds = $userDefinedCustomTargetingValueIds;
+ $this->mappingRuleDefinedCustomTargetingValueIds = $mappingRuleDefinedCustomTargetingValueIds;
+ $this->cmsSources = $cmsSources;
+ }
+
+ }
+}
+
+if (!class_exists("ContentPage", false)) {
+ /**
+ * Captures a page of {@code Content} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentPage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var Content[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("ContentPartnerError", false)) {
+ /**
+ * The content partner related validation errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentPartnerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentPartnerError";
+
+ /**
+ * @access public
+ * @var tnsContentPartnerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InvalidUrlError", false)) {
+ /**
+ * Lists all errors associated with URLs.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidUrlError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidUrlError";
+
+ /**
+ * @access public
+ * @var tnsInvalidUrlErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionError", false)) {
+ /**
+ * A list of all errors to be used for validating sizes of collections.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError";
+
+ /**
+ * @access public
+ * @var tnsRequiredCollectionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberError", false)) {
+ /**
+ * A list of all errors to be used in conjunction with required number
+ * validators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError";
+
+ /**
+ * @access public
+ * @var tnsRequiredNumberErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthError", false)) {
+ /**
+ * Errors for Strings which do not meet given length constraints.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("TypeError", false)) {
+ /**
+ * An error for a field which is an invalid type.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TypeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TypeError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ContentPartnerErrorReason", false)) {
+ /**
+ * Describes reason for {@code ContentPartnerError}s.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentPartnerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentPartnerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ContentStatus", false)) {
+ /**
+ * Describes the status of a {@link Content} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InvalidUrlErrorReason", false)) {
+ /**
+ * The URL contains invalid characters.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidUrlErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidUrlError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionErrorReason", false)) {
+ /**
+ * A required collection is missing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberErrorReason", false)) {
+ /**
+ * Describes reasons for a number to be invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ContentStatusDefinedBy", false)) {
+ /**
+ * Describes who defined the effective status of the {@code Content}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentStatusDefinedBy {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentStatusDefinedBy";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GetContentByStatement", false)) {
+ /**
+ * Gets a {@link ContentPage} of {@link Content} objects that satisfy the
+ * given {@link Statement#query}. The following fields are supported for
+ * filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link Content#id} |
+ *
+ *
+ * {@code status} |
+ * {@link Content#status} |
+ *
+ *
+ * {@code name} |
+ * {@link Content#name} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link Content#lastModifiedDateTime} |
+ *
+ *
+ *
+ * @params filterStatement a Publisher Query Language statement used to
+ * filter a set of content
+ * @return the content that matches the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetContentByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $statement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($statement = null) {
+ $this->statement = $statement;
+ }
+
+ }
+}
+
+if (!class_exists("GetContentByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetContentByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ContentPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetContentByStatementAndCustomTargetingValue", false)) {
+ /**
+ * Gets a {@link ContentPage} of {@link Content} objects that satisfy the
+ * given {@link Statement#query}. Additionally, filters on the given value ID
+ * and key ID that the value belongs to.
+ *
+ * The following fields are supported for filtering:
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link Content#id} |
+ *
+ *
+ * {@code status} |
+ * {@link Content#status} |
+ *
+ *
+ * {@code name} |
+ * {@link Content#name} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link Content#lastModifiedDateTime>} |
+ *
+ *
+ *
+ * @params filterStatement a Publisher Query Language statement used to
+ * filter a set of content
+ * @param customTargetingValueId the id of the value to match
+ * @return the content that matches the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetContentByStatementAndCustomTargetingValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customTargetingValueId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null, $customTargetingValueId = null) {
+ $this->filterStatement = $filterStatement;
+ $this->customTargetingValueId = $customTargetingValueId;
+ }
+
+ }
+}
+
+if (!class_exists("GetContentByStatementAndCustomTargetingValueResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetContentByStatementAndCustomTargetingValueResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ContentPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("ContentService", false)) {
+ /**
+ * ContentService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentService extends DfpSoapClient {
+
+ const SERVICE_NAME = "ContentService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/ContentService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/ContentService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AuthenticationError" => "AuthenticationError",
+ "BooleanValue" => "BooleanValue",
+ "CmsContent" => "CmsContent",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "Content" => "Content",
+ "ContentPage" => "ContentPage",
+ "ContentPartnerError" => "ContentPartnerError",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "FeatureError" => "FeatureError",
+ "InternalApiError" => "InternalApiError",
+ "InvalidUrlError" => "InvalidUrlError",
+ "NotNullError" => "NotNullError",
+ "NumberValue" => "NumberValue",
+ "PermissionError" => "PermissionError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RequiredCollectionError" => "RequiredCollectionError",
+ "RequiredNumberError" => "RequiredNumberError",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "StringLengthError" => "StringLengthError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "TextValue" => "TextValue",
+ "TypeError" => "TypeError",
+ "Value" => "Value",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "ContentPartnerError.Reason" => "ContentPartnerErrorReason",
+ "ContentStatus" => "ContentStatus",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "InvalidUrlError.Reason" => "InvalidUrlErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RequiredCollectionError.Reason" => "RequiredCollectionErrorReason",
+ "RequiredNumberError.Reason" => "RequiredNumberErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "ContentStatusDefinedBy" => "ContentStatusDefinedBy",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "getContentByStatement" => "GetContentByStatement",
+ "getContentByStatementResponse" => "GetContentByStatementResponse",
+ "getContentByStatementAndCustomTargetingValue" => "GetContentByStatementAndCustomTargetingValue",
+ "getContentByStatementAndCustomTargetingValueResponse" => "GetContentByStatementAndCustomTargetingValueResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Gets a {@link ContentPage} of {@link Content} objects that satisfy the
+ * given {@link Statement#query}. The following fields are supported for
+ * filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link Content#id} |
+ *
+ *
+ * {@code status} |
+ * {@link Content#status} |
+ *
+ *
+ * {@code name} |
+ * {@link Content#name} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link Content#lastModifiedDateTime} |
+ *
+ *
+ *
+ * @params filterStatement a Publisher Query Language statement used to
+ * filter a set of content
+ * @return the content that matches the given filter
+ */
+ public function getContentByStatement($statement) {
+ $args = new GetContentByStatement($statement);
+ $result = $this->__soapCall("getContentByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@link ContentPage} of {@link Content} objects that satisfy the
+ * given {@link Statement#query}. Additionally, filters on the given value ID
+ * and key ID that the value belongs to.
+ *
+ * The following fields are supported for filtering:
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link Content#id} |
+ *
+ *
+ * {@code status} |
+ * {@link Content#status} |
+ *
+ *
+ * {@code name} |
+ * {@link Content#name} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link Content#lastModifiedDateTime>} |
+ *
+ *
+ *
+ * @params filterStatement a Publisher Query Language statement used to
+ * filter a set of content
+ * @param customTargetingValueId the id of the value to match
+ * @return the content that matches the given filter
+ */
+ public function getContentByStatementAndCustomTargetingValue($filterStatement, $customTargetingValueId) {
+ $args = new GetContentByStatementAndCustomTargetingValue($filterStatement, $customTargetingValueId);
+ $result = $this->__soapCall("getContentByStatementAndCustomTargetingValue", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/CreativeService.php b/src/Google/Api/Ads/Dfp/v201505/CreativeService.php
new file mode 100755
index 000000000..7d712c781
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/CreativeService.php
@@ -0,0 +1,8645 @@
+uniqueName = $uniqueName;
+ }
+
+ }
+}
+
+if (!class_exists("ApiError", false)) {
+ /**
+ * The API error base class that provides details about an error that occurred
+ * while processing a service request.
+ *
+ * The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AppliedLabel", false)) {
+ /**
+ * Represents a {@link Label} that can be applied to an entity. To negate an
+ * inherited label, create an {@code AppliedLabel} with {@code labelId} as the
+ * inherited label's ID and {@code isNegated} set to true.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AppliedLabel {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AppliedLabel";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $labelId;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isNegated;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($labelId = null, $isNegated = null) {
+ $this->labelId = $labelId;
+ $this->isNegated = $isNegated;
+ }
+
+ }
+}
+
+if (!class_exists("AssetCreativeTemplateVariableValue", false)) {
+ /**
+ * Stores values of {@link CreativeTemplateVariable} of {@link VariableType#ASSET}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AssetCreativeTemplateVariableValue extends BaseCreativeTemplateVariableValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AssetCreativeTemplateVariableValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $assetId;
+
+ /**
+ * @access public
+ * @var base64Binary
+ */
+ public $assetByteArray;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fileName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($assetId = null, $assetByteArray = null, $fileName = null, $uniqueName = null) {
+ parent::__construct();
+ $this->assetId = $assetId;
+ $this->assetByteArray = $assetByteArray;
+ $this->fileName = $fileName;
+ $this->uniqueName = $uniqueName;
+ }
+
+ }
+}
+
+if (!class_exists("Asset", false)) {
+ /**
+ * Base asset properties.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Asset {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Asset";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AssetError", false)) {
+ /**
+ * Lists all errors associated with assets.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AssetError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AssetError";
+
+ /**
+ * @access public
+ * @var tnsAssetErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("BaseCustomFieldValue", false)) {
+ /**
+ * The value of a {@link CustomField} for a particular entity.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BaseCustomFieldValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customFieldId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customFieldId = null) {
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ConversionEvent_TrackingUrlsMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type ConversionEvent
+ * and value of type TrackingUrls.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ConversionEvent_TrackingUrlsMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ConversionEvent_TrackingUrlsMapEntry";
+
+ /**
+ * @access public
+ * @var tnsConversionEvent
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var TrackingUrls
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeAsset", false)) {
+ /**
+ * A {@code CreativeAsset} is an asset that can be used in creatives.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeAsset {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeAsset";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $assetId;
+
+ /**
+ * @access public
+ * @var base64Binary
+ */
+ public $assetByteArray;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fileName;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $fileSize;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $assetUrl;
+
+ /**
+ * @access public
+ * @var Size
+ */
+ public $size;
+
+ /**
+ * @access public
+ * @var tnsImageDensity
+ */
+ public $imageDensity;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($assetId = null, $assetByteArray = null, $fileName = null, $fileSize = null, $assetUrl = null, $size = null, $imageDensity = null) {
+ $this->assetId = $assetId;
+ $this->assetByteArray = $assetByteArray;
+ $this->fileName = $fileName;
+ $this->fileSize = $fileSize;
+ $this->assetUrl = $assetUrl;
+ $this->size = $size;
+ $this->imageDensity = $imageDensity;
+ }
+
+ }
+}
+
+if (!class_exists("CustomCreativeAsset", false)) {
+ /**
+ * A {@code CustomCreativeAsset} is an association between a
+ * {@link CustomCreative} and an asset. Any assets that are associated with a
+ * creative can be inserted into its HTML snippet.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCreativeAsset {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCreativeAsset";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $macroName;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $assetId;
+
+ /**
+ * @access public
+ * @var base64Binary
+ */
+ public $assetByteArray;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fileName;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $fileSize;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($macroName = null, $assetId = null, $assetByteArray = null, $fileName = null, $fileSize = null) {
+ $this->macroName = $macroName;
+ $this->assetId = $assetId;
+ $this->assetByteArray = $assetByteArray;
+ $this->fileName = $fileName;
+ $this->fileSize = $fileSize;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeAssetMacroError", false)) {
+ /**
+ * Lists all errors associated with creative asset macros.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeAssetMacroError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeAssetMacroError";
+
+ /**
+ * @access public
+ * @var tnsCreativeAssetMacroErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Creative", false)) {
+ /**
+ * A {@code Creative} represents the media for the ad being served.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Creative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Creative";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $advertiserId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var Size
+ */
+ public $size;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $previewUrl;
+
+ /**
+ * @access public
+ * @var AppliedLabel[]
+ */
+ public $appliedLabels;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $lastModifiedDateTime;
+
+ /**
+ * @access public
+ * @var BaseCustomFieldValue[]
+ */
+ public $customFieldValues;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, $appliedLabels = null, $lastModifiedDateTime = null, $customFieldValues = null) {
+ $this->advertiserId = $advertiserId;
+ $this->id = $id;
+ $this->name = $name;
+ $this->size = $size;
+ $this->previewUrl = $previewUrl;
+ $this->appliedLabels = $appliedLabels;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ $this->customFieldValues = $customFieldValues;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeError", false)) {
+ /**
+ * Lists all errors associated with creatives.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeError";
+
+ /**
+ * @access public
+ * @var tnsCreativeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CreativePage", false)) {
+ /**
+ * Captures a page of {@link Creative} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativePage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativePage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var Creative[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeSetError", false)) {
+ /**
+ * Errors relating to creative sets & subclasses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeSetError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeSetError";
+
+ /**
+ * @access public
+ * @var tnsCreativeSetErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomCreativeError", false)) {
+ /**
+ * Lists all errors associated with custom creatives.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCreativeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCreativeError";
+
+ /**
+ * @access public
+ * @var tnsCustomCreativeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValue", false)) {
+ /**
+ * The value of a {@link CustomField} that does not have a {@link CustomField#dataType}
+ * of {@link CustomFieldDataType#DROP_DOWN}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValue extends BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValue";
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null, $customFieldId = null) {
+ parent::__construct();
+ $this->value = $value;
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValueError", false)) {
+ /**
+ * Errors specific to editing custom field values
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValueError";
+
+ /**
+ * @access public
+ * @var tnsCustomFieldValueErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("DropDownCustomFieldValue", false)) {
+ /**
+ * A {@link CustomFieldValue} for a {@link CustomField} that has a {@link CustomField#dataType}
+ * of {@link CustomFieldDataType#DROP_DOWN}
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DropDownCustomFieldValue extends BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DropDownCustomFieldValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customFieldOptionId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customFieldOptionId = null, $customFieldId = null) {
+ parent::__construct();
+ $this->customFieldOptionId = $customFieldOptionId;
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("EntityLimitReachedError", false)) {
+ /**
+ * An error that occurs when creating an entity if the limit on the number of allowed entities for
+ * a network has already been reached.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityLimitReachedError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FileError", false)) {
+ /**
+ * A list of all errors to be used for problems related to files.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FileError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FileError";
+
+ /**
+ * @access public
+ * @var tnsFileErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("HasDestinationUrlCreative", false)) {
+ /**
+ * A {@code Creative} that has a destination url
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class HasDestinationUrlCreative extends Creative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "HasDestinationUrlCreative";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $destinationUrl;
+
+ /**
+ * @access public
+ * @var tnsDestinationUrlType
+ */
+ public $destinationUrlType;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($destinationUrl = null, $destinationUrlType = null, $advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, $appliedLabels = null, $lastModifiedDateTime = null, $customFieldValues = null) {
+ parent::__construct();
+ $this->destinationUrl = $destinationUrl;
+ $this->destinationUrlType = $destinationUrlType;
+ $this->advertiserId = $advertiserId;
+ $this->id = $id;
+ $this->name = $name;
+ $this->size = $size;
+ $this->previewUrl = $previewUrl;
+ $this->appliedLabels = $appliedLabels;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ $this->customFieldValues = $customFieldValues;
+ }
+
+ }
+}
+
+if (!class_exists("ImageError", false)) {
+ /**
+ * Lists all errors associated with images.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ImageError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ImageError";
+
+ /**
+ * @access public
+ * @var tnsImageErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InternalRedirectCreative", false)) {
+ /**
+ * A {@code Creative} hosted by either DoubleClick for Advertisers (DFA) or DART
+ * for Publishers.
+ *
+ * Similar to third-party creatives, a DoubleClick tag is used to retrieve a
+ * creative asset. However, DoubleClick tags are not sent to the user's browser.
+ * Instead, they are processed internally within the DoubleClick system..
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalRedirectCreative extends Creative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalRedirectCreative";
+
+ /**
+ * @access public
+ * @var tnsLockedOrientation
+ */
+ public $lockedOrientation;
+
+ /**
+ * @access public
+ * @var Size
+ */
+ public $assetSize;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $internalRedirectUrl;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $overrideSize;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isInterstitial;
+
+ /**
+ * @access public
+ * @var tnsSslScanResult
+ */
+ public $sslScanResult;
+
+ /**
+ * @access public
+ * @var tnsSslManualOverride
+ */
+ public $sslManualOverride;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($lockedOrientation = null, $assetSize = null, $internalRedirectUrl = null, $overrideSize = null, $isInterstitial = null, $sslScanResult = null, $sslManualOverride = null, $advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, $appliedLabels = null, $lastModifiedDateTime = null, $customFieldValues = null) {
+ parent::__construct();
+ $this->lockedOrientation = $lockedOrientation;
+ $this->assetSize = $assetSize;
+ $this->internalRedirectUrl = $internalRedirectUrl;
+ $this->overrideSize = $overrideSize;
+ $this->isInterstitial = $isInterstitial;
+ $this->sslScanResult = $sslScanResult;
+ $this->sslManualOverride = $sslManualOverride;
+ $this->advertiserId = $advertiserId;
+ $this->id = $id;
+ $this->name = $name;
+ $this->size = $size;
+ $this->previewUrl = $previewUrl;
+ $this->appliedLabels = $appliedLabels;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ $this->customFieldValues = $customFieldValues;
+ }
+
+ }
+}
+
+if (!class_exists("InvalidPhoneNumberError", false)) {
+ /**
+ * Lists all errors associated with phone numbers.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidPhoneNumberError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidPhoneNumberError";
+
+ /**
+ * @access public
+ * @var tnsInvalidPhoneNumberErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InvalidUrlError", false)) {
+ /**
+ * Lists all errors associated with URLs.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidUrlError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidUrlError";
+
+ /**
+ * @access public
+ * @var tnsInvalidUrlErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LabelEntityAssociationError", false)) {
+ /**
+ * Errors specific to creating label entity associations.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelEntityAssociationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelEntityAssociationError";
+
+ /**
+ * @access public
+ * @var tnsLabelEntityAssociationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LegacyDfpCreative", false)) {
+ /**
+ * A {@code Creative} that isn't supported by Google DFP, but was migrated
+ * from DART. Creatives of this type cannot be created or modified.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LegacyDfpCreative extends Creative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LegacyDfpCreative";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, $appliedLabels = null, $lastModifiedDateTime = null, $customFieldValues = null) {
+ parent::__construct();
+ $this->advertiserId = $advertiserId;
+ $this->id = $id;
+ $this->name = $name;
+ $this->size = $size;
+ $this->previewUrl = $previewUrl;
+ $this->appliedLabels = $appliedLabels;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ $this->customFieldValues = $customFieldValues;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemCreativeAssociationError", false)) {
+ /**
+ * Lists all errors associated with line item-to-creative association dates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemCreativeAssociationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemCreativeAssociationError";
+
+ /**
+ * @access public
+ * @var tnsLineItemCreativeAssociationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LongCreativeTemplateVariableValue", false)) {
+ /**
+ * Stores values of {@link CreativeTemplateVariable} of {@link VariableType#LONG}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LongCreativeTemplateVariableValue extends BaseCreativeTemplateVariableValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LongCreativeTemplateVariableValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null, $uniqueName = null) {
+ parent::__construct();
+ $this->value = $value;
+ $this->uniqueName = $uniqueName;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NullError", false)) {
+ /**
+ * Errors associated with violation of a NOT NULL check.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ParseError", false)) {
+ /**
+ * Lists errors related to parsing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError";
+
+ /**
+ * @access public
+ * @var tnsParseErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProgrammaticCreative", false)) {
+ /**
+ * A {@code Creative} used for programmatic trafficking. This creative will be auto-created with
+ * the right approval from the buyer. This creative cannot be created through
+ * the API. This creative can be updated.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProgrammaticCreative extends Creative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProgrammaticCreative";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, $appliedLabels = null, $lastModifiedDateTime = null, $customFieldValues = null) {
+ parent::__construct();
+ $this->advertiserId = $advertiserId;
+ $this->id = $id;
+ $this->name = $name;
+ $this->size = $size;
+ $this->previewUrl = $previewUrl;
+ $this->appliedLabels = $appliedLabels;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ $this->customFieldValues = $customFieldValues;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RangeError", false)) {
+ /**
+ * A list of all errors associated with the Range constraint.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError";
+
+ /**
+ * @access public
+ * @var tnsRangeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RedirectAsset", false)) {
+ /**
+ * An externally hosted asset.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RedirectAsset extends Asset {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RedirectAsset";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $redirectUrl;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($redirectUrl = null) {
+ parent::__construct();
+ $this->redirectUrl = $redirectUrl;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionError", false)) {
+ /**
+ * A list of all errors to be used for validating sizes of collections.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError";
+
+ /**
+ * @access public
+ * @var tnsRequiredCollectionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberError", false)) {
+ /**
+ * A list of all errors to be used in conjunction with required number
+ * validators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError";
+
+ /**
+ * @access public
+ * @var tnsRequiredNumberErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredSizeError", false)) {
+ /**
+ * A list of all errors to be used for validating {@link Size}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredSizeError";
+
+ /**
+ * @access public
+ * @var tnsRequiredSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RichMediaStudioChildAssetProperty", false)) {
+ /**
+ * Represents a child asset in {@code RichMediaStudioCreative}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RichMediaStudioChildAssetProperty {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RichMediaStudioChildAssetProperty";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var tnsRichMediaStudioChildAssetPropertyType
+ */
+ public $type;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalFileSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $width;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $height;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $url;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($name = null, $type = null, $totalFileSize = null, $width = null, $height = null, $url = null) {
+ $this->name = $name;
+ $this->type = $type;
+ $this->totalFileSize = $totalFileSize;
+ $this->width = $width;
+ $this->height = $height;
+ $this->url = $url;
+ }
+
+ }
+}
+
+if (!class_exists("RichMediaStudioCreativeError", false)) {
+ /**
+ * Lists all errors associated with Rich Media Studio creatives.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RichMediaStudioCreativeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RichMediaStudioCreativeError";
+
+ /**
+ * @access public
+ * @var tnsRichMediaStudioCreativeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SetTopBoxCreativeError", false)) {
+ /**
+ * Errors associated with {@link SetTopBoxCreative set-top box creatives}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetTopBoxCreativeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetTopBoxCreativeError";
+
+ /**
+ * @access public
+ * @var tnsSetTopBoxCreativeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Size", false)) {
+ /**
+ * Represents the dimensions of an {@link AdUnit}, {@link LineItem} or {@link Creative}.
+ *
+ * For interstitial size (out-of-page) and native size, {@code Size} must be 1x1.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Size {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Size";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $width;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $height;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isAspectRatio;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($width = null, $height = null, $isAspectRatio = null) {
+ $this->width = $width;
+ $this->height = $height;
+ $this->isAspectRatio = $isAspectRatio;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("StringCreativeTemplateVariableValue", false)) {
+ /**
+ * Stores values of {@link CreativeTemplateVariable} of
+ * {@link VariableType#STRING} and {@link VariableType#LIST}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringCreativeTemplateVariableValue extends BaseCreativeTemplateVariableValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringCreativeTemplateVariableValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null, $uniqueName = null) {
+ parent::__construct();
+ $this->value = $value;
+ $this->uniqueName = $uniqueName;
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthError", false)) {
+ /**
+ * Errors for Strings which do not meet given length constraints.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SwiffyConversionError", false)) {
+ /**
+ * Error for converting flash to swiffy asset.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SwiffyConversionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SwiffyConversionError";
+
+ /**
+ * @access public
+ * @var tnsSwiffyConversionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SwiffyFallbackAsset", false)) {
+ /**
+ * A fallback swiffy asset used for flash creatives.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SwiffyFallbackAsset {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SwiffyFallbackAsset";
+
+ /**
+ * @access public
+ * @var CreativeAsset
+ */
+ public $asset;
+
+ /**
+ * @access public
+ * @var tnsHtml5Feature[]
+ */
+ public $html5Features;
+
+ /**
+ * @access public
+ * @var string[]
+ */
+ public $localizedInfoMessages;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($asset = null, $html5Features = null, $localizedInfoMessages = null) {
+ $this->asset = $asset;
+ $this->html5Features = $html5Features;
+ $this->localizedInfoMessages = $localizedInfoMessages;
+ }
+
+ }
+}
+
+if (!class_exists("TemplateCreative", false)) {
+ /**
+ * A {@code Creative} that is created by the specified creative template.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TemplateCreative extends Creative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TemplateCreative";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $creativeTemplateId;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isInterstitial;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isNativeEligible;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $destinationUrl;
+
+ /**
+ * @access public
+ * @var BaseCreativeTemplateVariableValue[]
+ */
+ public $creativeTemplateVariableValues;
+
+ /**
+ * @access public
+ * @var tnsSslScanResult
+ */
+ public $sslScanResult;
+
+ /**
+ * @access public
+ * @var tnsSslManualOverride
+ */
+ public $sslManualOverride;
+
+ /**
+ * @access public
+ * @var tnsLockedOrientation
+ */
+ public $lockedOrientation;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($creativeTemplateId = null, $isInterstitial = null, $isNativeEligible = null, $destinationUrl = null, $creativeTemplateVariableValues = null, $sslScanResult = null, $sslManualOverride = null, $lockedOrientation = null, $advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, $appliedLabels = null, $lastModifiedDateTime = null, $customFieldValues = null) {
+ parent::__construct();
+ $this->creativeTemplateId = $creativeTemplateId;
+ $this->isInterstitial = $isInterstitial;
+ $this->isNativeEligible = $isNativeEligible;
+ $this->destinationUrl = $destinationUrl;
+ $this->creativeTemplateVariableValues = $creativeTemplateVariableValues;
+ $this->sslScanResult = $sslScanResult;
+ $this->sslManualOverride = $sslManualOverride;
+ $this->lockedOrientation = $lockedOrientation;
+ $this->advertiserId = $advertiserId;
+ $this->id = $id;
+ $this->name = $name;
+ $this->size = $size;
+ $this->previewUrl = $previewUrl;
+ $this->appliedLabels = $appliedLabels;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ $this->customFieldValues = $customFieldValues;
+ }
+
+ }
+}
+
+if (!class_exists("TemplateInstantiatedCreativeError", false)) {
+ /**
+ * Lists all errors associated with template instantiated creatives.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TemplateInstantiatedCreativeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TemplateInstantiatedCreativeError";
+
+ /**
+ * @access public
+ * @var tnsTemplateInstantiatedCreativeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ThirdPartyCreative", false)) {
+ /**
+ * A {@code Creative} that is served by a 3rd-party vendor.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ThirdPartyCreative extends Creative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ThirdPartyCreative";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $snippet;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $expandedSnippet;
+
+ /**
+ * @access public
+ * @var tnsSslScanResult
+ */
+ public $sslScanResult;
+
+ /**
+ * @access public
+ * @var tnsSslManualOverride
+ */
+ public $sslManualOverride;
+
+ /**
+ * @access public
+ * @var tnsLockedOrientation
+ */
+ public $lockedOrientation;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($snippet = null, $expandedSnippet = null, $sslScanResult = null, $sslManualOverride = null, $lockedOrientation = null, $advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, $appliedLabels = null, $lastModifiedDateTime = null, $customFieldValues = null) {
+ parent::__construct();
+ $this->snippet = $snippet;
+ $this->expandedSnippet = $expandedSnippet;
+ $this->sslScanResult = $sslScanResult;
+ $this->sslManualOverride = $sslManualOverride;
+ $this->lockedOrientation = $lockedOrientation;
+ $this->advertiserId = $advertiserId;
+ $this->id = $id;
+ $this->name = $name;
+ $this->size = $size;
+ $this->previewUrl = $previewUrl;
+ $this->appliedLabels = $appliedLabels;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ $this->customFieldValues = $customFieldValues;
+ }
+
+ }
+}
+
+if (!class_exists("TrackingUrls", false)) {
+ /**
+ * A list of URLs that should be pinged for a conversion event.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TrackingUrls {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TrackingUrls";
+
+ /**
+ * @access public
+ * @var string[]
+ */
+ public $urls;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($urls = null) {
+ $this->urls = $urls;
+ }
+
+ }
+}
+
+if (!class_exists("TypeError", false)) {
+ /**
+ * An error for a field which is an invalid type.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TypeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TypeError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UnsupportedCreative", false)) {
+ /**
+ * A {@code Creative} that isn't supported by this version of the API.
+ * This object is readonly and when encountered should be reported
+ * on the DFP API forum.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UnsupportedCreative extends Creative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UnsupportedCreative";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $unsupportedCreativeType;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($unsupportedCreativeType = null, $advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, $appliedLabels = null, $lastModifiedDateTime = null, $customFieldValues = null) {
+ parent::__construct();
+ $this->unsupportedCreativeType = $unsupportedCreativeType;
+ $this->advertiserId = $advertiserId;
+ $this->id = $id;
+ $this->name = $name;
+ $this->size = $size;
+ $this->previewUrl = $previewUrl;
+ $this->appliedLabels = $appliedLabels;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ $this->customFieldValues = $customFieldValues;
+ }
+
+ }
+}
+
+if (!class_exists("UrlCreativeTemplateVariableValue", false)) {
+ /**
+ * Stores values of {@link CreativeTemplateVariable} of {@link VariableType#URL}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UrlCreativeTemplateVariableValue extends BaseCreativeTemplateVariableValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UrlCreativeTemplateVariableValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null, $uniqueName = null) {
+ parent::__construct();
+ $this->value = $value;
+ $this->uniqueName = $uniqueName;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("VastRedirectCreative", false)) {
+ /**
+ * A {@code Creative} that points to an externally hosted VAST ad and is
+ * served via VAST XML as a VAST Wrapper.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VastRedirectCreative extends Creative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VastRedirectCreative";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $vastXmlUrl;
+
+ /**
+ * @access public
+ * @var tnsVastRedirectType
+ */
+ public $vastRedirectType;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $duration;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $companionCreativeIds;
+
+ /**
+ * @access public
+ * @var ConversionEvent_TrackingUrlsMapEntry[]
+ */
+ public $trackingUrls;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $vastPreviewUrl;
+
+ /**
+ * @access public
+ * @var tnsSslScanResult
+ */
+ public $sslScanResult;
+
+ /**
+ * @access public
+ * @var tnsSslManualOverride
+ */
+ public $sslManualOverride;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($vastXmlUrl = null, $vastRedirectType = null, $duration = null, $companionCreativeIds = null, $trackingUrls = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, $appliedLabels = null, $lastModifiedDateTime = null, $customFieldValues = null) {
+ parent::__construct();
+ $this->vastXmlUrl = $vastXmlUrl;
+ $this->vastRedirectType = $vastRedirectType;
+ $this->duration = $duration;
+ $this->companionCreativeIds = $companionCreativeIds;
+ $this->trackingUrls = $trackingUrls;
+ $this->vastPreviewUrl = $vastPreviewUrl;
+ $this->sslScanResult = $sslScanResult;
+ $this->sslManualOverride = $sslManualOverride;
+ $this->advertiserId = $advertiserId;
+ $this->id = $id;
+ $this->name = $name;
+ $this->size = $size;
+ $this->previewUrl = $previewUrl;
+ $this->appliedLabels = $appliedLabels;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ $this->customFieldValues = $customFieldValues;
+ }
+
+ }
+}
+
+if (!class_exists("VideoMetadata", false)) {
+ /**
+ * Metadata for a video asset.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoMetadata {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoMetadata";
+
+ /**
+ * @access public
+ * @var tnsScalableType
+ */
+ public $scalableType;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $duration;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $bitRate;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minimumBitRate;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $maximumBitRate;
+
+ /**
+ * @access public
+ * @var Size
+ */
+ public $size;
+
+ /**
+ * @access public
+ * @var tnsMimeType
+ */
+ public $mimeType;
+
+ /**
+ * @access public
+ * @var tnsVideoDeliveryType
+ */
+ public $deliveryType;
+
+ /**
+ * @access public
+ * @var string[]
+ */
+ public $codecs;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($scalableType = null, $duration = null, $bitRate = null, $minimumBitRate = null, $maximumBitRate = null, $size = null, $mimeType = null, $deliveryType = null, $codecs = null) {
+ $this->scalableType = $scalableType;
+ $this->duration = $duration;
+ $this->bitRate = $bitRate;
+ $this->minimumBitRate = $minimumBitRate;
+ $this->maximumBitRate = $maximumBitRate;
+ $this->size = $size;
+ $this->mimeType = $mimeType;
+ $this->deliveryType = $deliveryType;
+ $this->codecs = $codecs;
+ }
+
+ }
+}
+
+if (!class_exists("VideoRedirectAsset", false)) {
+ /**
+ * An externally-hosted video asset.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoRedirectAsset extends RedirectAsset {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoRedirectAsset";
+
+ /**
+ * @access public
+ * @var VideoMetadata
+ */
+ public $metadata;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($metadata = null, $redirectUrl = null) {
+ parent::__construct();
+ $this->metadata = $metadata;
+ $this->redirectUrl = $redirectUrl;
+ }
+
+ }
+}
+
+if (!class_exists("VpaidLinearCreative", false)) {
+ /**
+ * A {@code Creative} that displays a DFP-hosted Flash-based ad
+ * and is served via VAST 2.0 XML. It is displayed in a linear fashion
+ * with a video (before, after, interrupting). This creative is read only.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VpaidLinearCreative extends HasDestinationUrlCreative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VpaidLinearCreative";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $flashName;
+
+ /**
+ * @access public
+ * @var base64Binary
+ */
+ public $flashByteArray;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $overrideSize;
+
+ /**
+ * @access public
+ * @var Size
+ */
+ public $flashAssetSize;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $companionCreativeIds;
+
+ /**
+ * @access public
+ * @var ConversionEvent_TrackingUrlsMapEntry[]
+ */
+ public $trackingUrls;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $customParameters;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $duration;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $vastPreviewUrl;
+
+ /**
+ * @access public
+ * @var tnsSslScanResult
+ */
+ public $sslScanResult;
+
+ /**
+ * @access public
+ * @var tnsSslManualOverride
+ */
+ public $sslManualOverride;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($flashName = null, $flashByteArray = null, $overrideSize = null, $flashAssetSize = null, $companionCreativeIds = null, $trackingUrls = null, $customParameters = null, $duration = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $destinationUrl = null, $destinationUrlType = null) {
+ parent::__construct();
+ $this->flashName = $flashName;
+ $this->flashByteArray = $flashByteArray;
+ $this->overrideSize = $overrideSize;
+ $this->flashAssetSize = $flashAssetSize;
+ $this->companionCreativeIds = $companionCreativeIds;
+ $this->trackingUrls = $trackingUrls;
+ $this->customParameters = $customParameters;
+ $this->duration = $duration;
+ $this->vastPreviewUrl = $vastPreviewUrl;
+ $this->sslScanResult = $sslScanResult;
+ $this->sslManualOverride = $sslManualOverride;
+ $this->destinationUrl = $destinationUrl;
+ $this->destinationUrlType = $destinationUrlType;
+ }
+
+ }
+}
+
+if (!class_exists("VpaidLinearRedirectCreative", false)) {
+ /**
+ * A {@code Creative} that displays an externally hosted Flash-based ad
+ * and is served via VAST 2.0 XML. It is displayed in a linear fashion
+ * with a video (before, after, interrupting). This creative is read only.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VpaidLinearRedirectCreative extends HasDestinationUrlCreative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VpaidLinearRedirectCreative";
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $companionCreativeIds;
+
+ /**
+ * @access public
+ * @var ConversionEvent_TrackingUrlsMapEntry[]
+ */
+ public $trackingUrls;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $customParameters;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $duration;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $flashUrl;
+
+ /**
+ * @access public
+ * @var Size
+ */
+ public $flashAssetSize;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $vastPreviewUrl;
+
+ /**
+ * @access public
+ * @var tnsSslScanResult
+ */
+ public $sslScanResult;
+
+ /**
+ * @access public
+ * @var tnsSslManualOverride
+ */
+ public $sslManualOverride;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($companionCreativeIds = null, $trackingUrls = null, $customParameters = null, $duration = null, $flashUrl = null, $flashAssetSize = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $destinationUrl = null, $destinationUrlType = null) {
+ parent::__construct();
+ $this->companionCreativeIds = $companionCreativeIds;
+ $this->trackingUrls = $trackingUrls;
+ $this->customParameters = $customParameters;
+ $this->duration = $duration;
+ $this->flashUrl = $flashUrl;
+ $this->flashAssetSize = $flashAssetSize;
+ $this->vastPreviewUrl = $vastPreviewUrl;
+ $this->sslScanResult = $sslScanResult;
+ $this->sslManualOverride = $sslManualOverride;
+ $this->destinationUrl = $destinationUrl;
+ $this->destinationUrlType = $destinationUrlType;
+ }
+
+ }
+}
+
+if (!class_exists("ApiFramework", false)) {
+ /**
+ * The various ApiFramework types.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiFramework {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiFramework";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AssetErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AssetErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AssetError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ConversionEvent", false)) {
+ /**
+ * All possible tracking event types. Not all events are supported by every
+ * kind of creative.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ConversionEvent {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ConversionEvent";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeAssetMacroErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeAssetMacroErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeAssetMacroError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeSetErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeSetErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeSetError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomCreativeErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCreativeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCreativeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValueErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValueErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValueError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("DestinationUrlType", false)) {
+ /**
+ * The valid actions that a destination URL may perform if the user clicks on the ad.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DestinationUrlType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DestinationUrlType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FileErrorReason", false)) {
+ /**
+ * The provided byte array is empty.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FileErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FileError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("Html5Feature", false)) {
+ /**
+ * An HTML5 features required by HTML5 assets.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Html5Feature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Html5Feature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ImageDensity", false)) {
+ /**
+ * Image densities.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ImageDensity {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ImageDensity";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ImageErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ImageErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ImageError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InvalidPhoneNumberErrorReason", false)) {
+ /**
+ * The phone number is invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidPhoneNumberErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidPhoneNumberError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InvalidUrlErrorReason", false)) {
+ /**
+ * The URL contains invalid characters.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidUrlErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidUrlError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LabelEntityAssociationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelEntityAssociationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelEntityAssociationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemCreativeAssociationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemCreativeAssociationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemCreativeAssociationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LockedOrientation", false)) {
+ /**
+ * Describes the orientation that a creative should be served with.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LockedOrientation {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LockedOrientation";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("MimeType", false)) {
+ /**
+ * Enum of supported mime types
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MimeType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MimeType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NullErrorReason", false)) {
+ /**
+ * The reasons for the validation error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ParseErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RangeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionErrorReason", false)) {
+ /**
+ * A required collection is missing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberErrorReason", false)) {
+ /**
+ * Describes reasons for a number to be invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredSizeErrorReason", false)) {
+ /**
+ * {@link Creative#size} or {@link LineItem#creativeSizes} is
+ * missing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RichMediaStudioChildAssetPropertyType", false)) {
+ /**
+ * Type of {@code RichMediaStudioChildAssetProperty}
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RichMediaStudioChildAssetPropertyType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RichMediaStudioChildAssetProperty.Type";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RichMediaStudioCreativeArtworkType", false)) {
+ /**
+ * Rich Media Studio creative artwork types.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RichMediaStudioCreativeArtworkType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RichMediaStudioCreativeArtworkType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RichMediaStudioCreativeBillingAttribute", false)) {
+ /**
+ * Rich Media Studio creative supported billing attributes.
+ *
+ * This is determined by Rich Media Studio based on the content
+ * of the creative and is not updateable.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RichMediaStudioCreativeBillingAttribute {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RichMediaStudioCreativeBillingAttribute";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RichMediaStudioCreativeErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RichMediaStudioCreativeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RichMediaStudioCreativeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RichMediaStudioCreativeFormat", false)) {
+ /**
+ * Different creative format supported by Rich Media Studio creative.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RichMediaStudioCreativeFormat {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RichMediaStudioCreativeFormat";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ScalableType", false)) {
+ /**
+ * The different ways a video/flash can scale.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ScalableType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ScalableType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("SetTopBoxCreativeErrorReason", false)) {
+ /**
+ * Error reasons for set-top box creatives.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetTopBoxCreativeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetTopBoxCreativeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("SslManualOverride", false)) {
+ /**
+ * Enum to store the creative SSL compatibility manual override.
+ * Its three states are similar to that of {@link SslScanResult}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SslManualOverride {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SslManualOverride";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("SslScanResult", false)) {
+ /**
+ * Enum to store the creative SSL compatibility scan result.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SslScanResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SslScanResult";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("SwiffyConversionErrorReason", false)) {
+ /**
+ * Error reason for {@link SwiffyConversionError}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SwiffyConversionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SwiffyConversionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TemplateInstantiatedCreativeErrorReason", false)) {
+ /**
+ * The reason for the error
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TemplateInstantiatedCreativeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TemplateInstantiatedCreativeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("VastRedirectType", false)) {
+ /**
+ * The types of VAST ads that a {@link VastRedirectCreative} can point to.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VastRedirectType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VastRedirectType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("VideoDeliveryType", false)) {
+ /**
+ * The video delivery type.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoDeliveryType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoDeliveryType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreateCreatives", false)) {
+ /**
+ * Creates new {@link Creative} objects.
+ *
+ * @param creatives the creatives to create
+ * @return the created creatives with their IDs filled in
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateCreatives {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Creative[]
+ */
+ public $creatives;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($creatives = null) {
+ $this->creatives = $creatives;
+ }
+
+ }
+}
+
+if (!class_exists("CreateCreativesResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateCreativesResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Creative[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetCreativesByStatement", false)) {
+ /**
+ * Gets a {@link CreativePage} of {@link Creative} objects that satisfy the
+ * given {@link Statement#query}. The following fields are supported for
+ * filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link Creative#id} |
+ *
+ *
+ * {@code name} |
+ * {@link Creative#name} |
+ *
+ *
+ * {@code advertiserId} |
+ * {@link Creative#advertiserId} |
+ *
+ *
+ * {@code width} |
+ * {@link Creative#size} |
+ *
+ *
+ * {@code height} |
+ * {@link Creative#size} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link Creative#lastModifiedDateTime} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of creatives
+ * @return the creatives that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetCreativesByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetCreativesByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetCreativesByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CreativePage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateCreatives", false)) {
+ /**
+ * Updates the specified {@link Creative} objects.
+ *
+ * @param creatives the creatives to update
+ * @return the updated creatives
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateCreatives {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Creative[]
+ */
+ public $creatives;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($creatives = null) {
+ $this->creatives = $creatives;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateCreativesResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateCreativesResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Creative[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("BaseDynamicAllocationCreative", false)) {
+ /**
+ * A base class for dynamic allocation creatives.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BaseDynamicAllocationCreative extends Creative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BaseDynamicAllocationCreative";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, $appliedLabels = null, $lastModifiedDateTime = null, $customFieldValues = null) {
+ parent::__construct();
+ $this->advertiserId = $advertiserId;
+ $this->id = $id;
+ $this->name = $name;
+ $this->size = $size;
+ $this->previewUrl = $previewUrl;
+ $this->appliedLabels = $appliedLabels;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ $this->customFieldValues = $customFieldValues;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("AdMobBackfillCreative", false)) {
+ /**
+ * An AdMob backfill creative.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdMobBackfillCreative extends BaseDynamicAllocationCreative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdMobBackfillCreative";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $additionalParameters;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $publisherId;
+
+ /**
+ * @access public
+ * @var tnsLockedOrientation
+ */
+ public $lockedOrientation;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($additionalParameters = null, $publisherId = null, $lockedOrientation = null) {
+ parent::__construct();
+ $this->additionalParameters = $additionalParameters;
+ $this->publisherId = $publisherId;
+ $this->lockedOrientation = $lockedOrientation;
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AspectRatioImageCreative", false)) {
+ /**
+ * A {@code Creative} intended for mobile platforms that displays an image,
+ * whose {@link LineItem#creativePlaceholders size} is defined as an
+ * {@link CreativeSizeType#ASPECT_RATIO aspect ratio}, i.e.
+ * {@link Size#isAspectRatio}. It can have multiple images whose dimensions
+ * conform to that aspect ratio.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AspectRatioImageCreative extends HasDestinationUrlCreative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AspectRatioImageCreative";
+
+ /**
+ * @access public
+ * @var CreativeAsset[]
+ */
+ public $imageAssets;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $altText;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $thirdPartyImpressionUrl;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $overrideSize;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($imageAssets = null, $altText = null, $thirdPartyImpressionUrl = null, $overrideSize = null, $destinationUrl = null, $destinationUrlType = null) {
+ parent::__construct();
+ $this->imageAssets = $imageAssets;
+ $this->altText = $altText;
+ $this->thirdPartyImpressionUrl = $thirdPartyImpressionUrl;
+ $this->overrideSize = $overrideSize;
+ $this->destinationUrl = $destinationUrl;
+ $this->destinationUrlType = $destinationUrlType;
+ }
+
+ }
+}
+
+if (!class_exists("BaseFlashCreative", false)) {
+ /**
+ * A base type for creatives that display a Flash-based ad. If the Flash ad
+ * cannot load, a fallback image is displayed instead.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BaseFlashCreative extends HasDestinationUrlCreative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BaseFlashCreative";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $flashName;
+
+ /**
+ * @access public
+ * @var base64Binary
+ */
+ public $flashByteArray;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fallbackImageName;
+
+ /**
+ * @access public
+ * @var base64Binary
+ */
+ public $fallbackImageByteArray;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $overrideSize;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $clickTagRequired;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fallbackPreviewUrl;
+
+ /**
+ * @access public
+ * @var Size
+ */
+ public $flashAssetSize;
+
+ /**
+ * @access public
+ * @var Size
+ */
+ public $fallbackAssetSize;
+
+ /**
+ * @access public
+ * @var tnsSslScanResult
+ */
+ public $sslScanResult;
+
+ /**
+ * @access public
+ * @var tnsSslManualOverride
+ */
+ public $sslManualOverride;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($flashName = null, $flashByteArray = null, $fallbackImageName = null, $fallbackImageByteArray = null, $overrideSize = null, $clickTagRequired = null, $fallbackPreviewUrl = null, $flashAssetSize = null, $fallbackAssetSize = null, $sslScanResult = null, $sslManualOverride = null, $destinationUrl = null, $destinationUrlType = null) {
+ parent::__construct();
+ $this->flashName = $flashName;
+ $this->flashByteArray = $flashByteArray;
+ $this->fallbackImageName = $fallbackImageName;
+ $this->fallbackImageByteArray = $fallbackImageByteArray;
+ $this->overrideSize = $overrideSize;
+ $this->clickTagRequired = $clickTagRequired;
+ $this->fallbackPreviewUrl = $fallbackPreviewUrl;
+ $this->flashAssetSize = $flashAssetSize;
+ $this->fallbackAssetSize = $fallbackAssetSize;
+ $this->sslScanResult = $sslScanResult;
+ $this->sslManualOverride = $sslManualOverride;
+ $this->destinationUrl = $destinationUrl;
+ $this->destinationUrlType = $destinationUrlType;
+ }
+
+ }
+}
+
+if (!class_exists("BaseFlashRedirectCreative", false)) {
+ /**
+ * The base type for creatives that load a Flash asset from a specified URL.
+ * If the remote flash asset cannot be served, a fallback image is used at an
+ * alternate URL.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BaseFlashRedirectCreative extends HasDestinationUrlCreative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BaseFlashRedirectCreative";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $flashUrl;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fallbackUrl;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fallbackPreviewUrl;
+
+ /**
+ * @access public
+ * @var tnsSslScanResult
+ */
+ public $sslScanResult;
+
+ /**
+ * @access public
+ * @var tnsSslManualOverride
+ */
+ public $sslManualOverride;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($flashUrl = null, $fallbackUrl = null, $fallbackPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $destinationUrl = null, $destinationUrlType = null) {
+ parent::__construct();
+ $this->flashUrl = $flashUrl;
+ $this->fallbackUrl = $fallbackUrl;
+ $this->fallbackPreviewUrl = $fallbackPreviewUrl;
+ $this->sslScanResult = $sslScanResult;
+ $this->sslManualOverride = $sslManualOverride;
+ $this->destinationUrl = $destinationUrl;
+ $this->destinationUrlType = $destinationUrlType;
+ }
+
+ }
+}
+
+if (!class_exists("BaseImageCreative", false)) {
+ /**
+ * The base type for creatives that display an image.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BaseImageCreative extends HasDestinationUrlCreative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BaseImageCreative";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $overrideSize;
+
+ /**
+ * @access public
+ * @var CreativeAsset
+ */
+ public $primaryImageAsset;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($overrideSize = null, $primaryImageAsset = null, $destinationUrl = null, $destinationUrlType = null) {
+ parent::__construct();
+ $this->overrideSize = $overrideSize;
+ $this->primaryImageAsset = $primaryImageAsset;
+ $this->destinationUrl = $destinationUrl;
+ $this->destinationUrlType = $destinationUrlType;
+ }
+
+ }
+}
+
+if (!class_exists("BaseImageRedirectCreative", false)) {
+ /**
+ * The base type for creatives that load an image asset from a specified URL.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BaseImageRedirectCreative extends HasDestinationUrlCreative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BaseImageRedirectCreative";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $imageUrl;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($imageUrl = null, $destinationUrl = null, $destinationUrlType = null) {
+ parent::__construct();
+ $this->imageUrl = $imageUrl;
+ $this->destinationUrl = $destinationUrl;
+ $this->destinationUrlType = $destinationUrlType;
+ }
+
+ }
+}
+
+if (!class_exists("BaseRichMediaStudioCreative", false)) {
+ /**
+ * A {@code Creative} that is created by a Rich Media Studio.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BaseRichMediaStudioCreative extends Creative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BaseRichMediaStudioCreative";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $studioCreativeId;
+
+ /**
+ * @access public
+ * @var tnsRichMediaStudioCreativeFormat
+ */
+ public $creativeFormat;
+
+ /**
+ * @access public
+ * @var tnsRichMediaStudioCreativeArtworkType
+ */
+ public $artworkType;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalFileSize;
+
+ /**
+ * @access public
+ * @var string[]
+ */
+ public $adTagKeys;
+
+ /**
+ * @access public
+ * @var string[]
+ */
+ public $customKeyValues;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $surveyUrl;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $allImpressionsUrl;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $richMediaImpressionsUrl;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $backupImageImpressionsUrl;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $overrideCss;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requiredFlashPluginVersion;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $duration;
+
+ /**
+ * @access public
+ * @var tnsRichMediaStudioCreativeBillingAttribute
+ */
+ public $billingAttribute;
+
+ /**
+ * @access public
+ * @var RichMediaStudioChildAssetProperty[]
+ */
+ public $richMediaStudioChildAssetProperties;
+
+ /**
+ * @access public
+ * @var tnsSslScanResult
+ */
+ public $sslScanResult;
+
+ /**
+ * @access public
+ * @var tnsSslManualOverride
+ */
+ public $sslManualOverride;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($studioCreativeId = null, $creativeFormat = null, $artworkType = null, $totalFileSize = null, $adTagKeys = null, $customKeyValues = null, $surveyUrl = null, $allImpressionsUrl = null, $richMediaImpressionsUrl = null, $backupImageImpressionsUrl = null, $overrideCss = null, $requiredFlashPluginVersion = null, $duration = null, $billingAttribute = null, $richMediaStudioChildAssetProperties = null, $sslScanResult = null, $sslManualOverride = null, $advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, $appliedLabels = null, $lastModifiedDateTime = null, $customFieldValues = null) {
+ parent::__construct();
+ $this->studioCreativeId = $studioCreativeId;
+ $this->creativeFormat = $creativeFormat;
+ $this->artworkType = $artworkType;
+ $this->totalFileSize = $totalFileSize;
+ $this->adTagKeys = $adTagKeys;
+ $this->customKeyValues = $customKeyValues;
+ $this->surveyUrl = $surveyUrl;
+ $this->allImpressionsUrl = $allImpressionsUrl;
+ $this->richMediaImpressionsUrl = $richMediaImpressionsUrl;
+ $this->backupImageImpressionsUrl = $backupImageImpressionsUrl;
+ $this->overrideCss = $overrideCss;
+ $this->requiredFlashPluginVersion = $requiredFlashPluginVersion;
+ $this->duration = $duration;
+ $this->billingAttribute = $billingAttribute;
+ $this->richMediaStudioChildAssetProperties = $richMediaStudioChildAssetProperties;
+ $this->sslScanResult = $sslScanResult;
+ $this->sslManualOverride = $sslManualOverride;
+ $this->advertiserId = $advertiserId;
+ $this->id = $id;
+ $this->name = $name;
+ $this->size = $size;
+ $this->previewUrl = $previewUrl;
+ $this->appliedLabels = $appliedLabels;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ $this->customFieldValues = $customFieldValues;
+ }
+
+ }
+}
+
+if (!class_exists("BaseVideoCreative", false)) {
+ /**
+ * A base type for video creatives.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BaseVideoCreative extends HasDestinationUrlCreative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BaseVideoCreative";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $duration;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowDurationOverride;
+
+ /**
+ * @access public
+ * @var ConversionEvent_TrackingUrlsMapEntry[]
+ */
+ public $trackingUrls;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $companionCreativeIds;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $customParameters;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $vastPreviewUrl;
+
+ /**
+ * @access public
+ * @var tnsSslScanResult
+ */
+ public $sslScanResult;
+
+ /**
+ * @access public
+ * @var tnsSslManualOverride
+ */
+ public $sslManualOverride;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($duration = null, $allowDurationOverride = null, $trackingUrls = null, $companionCreativeIds = null, $customParameters = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null, $destinationUrl = null, $destinationUrlType = null) {
+ parent::__construct();
+ $this->duration = $duration;
+ $this->allowDurationOverride = $allowDurationOverride;
+ $this->trackingUrls = $trackingUrls;
+ $this->companionCreativeIds = $companionCreativeIds;
+ $this->customParameters = $customParameters;
+ $this->vastPreviewUrl = $vastPreviewUrl;
+ $this->sslScanResult = $sslScanResult;
+ $this->sslManualOverride = $sslManualOverride;
+ $this->destinationUrl = $destinationUrl;
+ $this->destinationUrlType = $destinationUrlType;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("ClickTrackingCreative", false)) {
+ /**
+ * A creative that is used for tracking clicks on ads that are served directly
+ * from the customers' web servers or media servers.
+ * NOTE: The size attribute is not used for click tracking creative and it will
+ * not be persisted upon save.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ClickTrackingCreative extends Creative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ClickTrackingCreative";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $clickTrackingUrl;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($clickTrackingUrl = null, $advertiserId = null, $id = null, $name = null, $size = null, $previewUrl = null, $appliedLabels = null, $lastModifiedDateTime = null, $customFieldValues = null) {
+ parent::__construct();
+ $this->clickTrackingUrl = $clickTrackingUrl;
+ $this->advertiserId = $advertiserId;
+ $this->id = $id;
+ $this->name = $name;
+ $this->size = $size;
+ $this->previewUrl = $previewUrl;
+ $this->appliedLabels = $appliedLabels;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ $this->customFieldValues = $customFieldValues;
+ }
+
+ }
+}
+
+if (!class_exists("CustomCreative", false)) {
+ /**
+ * A {@code Creative} that contains an arbitrary HTML snippet and file assets.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCreative extends HasDestinationUrlCreative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCreative";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $htmlSnippet;
+
+ /**
+ * @access public
+ * @var CustomCreativeAsset[]
+ */
+ public $customCreativeAssets;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isInterstitial;
+
+ /**
+ * @access public
+ * @var tnsLockedOrientation
+ */
+ public $lockedOrientation;
+
+ /**
+ * @access public
+ * @var tnsSslScanResult
+ */
+ public $sslScanResult;
+
+ /**
+ * @access public
+ * @var tnsSslManualOverride
+ */
+ public $sslManualOverride;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($htmlSnippet = null, $customCreativeAssets = null, $isInterstitial = null, $lockedOrientation = null, $sslScanResult = null, $sslManualOverride = null, $destinationUrl = null, $destinationUrlType = null) {
+ parent::__construct();
+ $this->htmlSnippet = $htmlSnippet;
+ $this->customCreativeAssets = $customCreativeAssets;
+ $this->isInterstitial = $isInterstitial;
+ $this->lockedOrientation = $lockedOrientation;
+ $this->sslScanResult = $sslScanResult;
+ $this->sslManualOverride = $sslManualOverride;
+ $this->destinationUrl = $destinationUrl;
+ $this->destinationUrlType = $destinationUrlType;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("LegacyDfpMobileCreative", false)) {
+ /**
+ * A mobile {@code Creative} that isn't supported by Google DFP, but was
+ * migrated from DART. Creatives of this type cannot be created or modified.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LegacyDfpMobileCreative extends HasDestinationUrlCreative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LegacyDfpMobileCreative";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($destinationUrl = null, $destinationUrlType = null) {
+ parent::__construct();
+ $this->destinationUrl = $destinationUrl;
+ $this->destinationUrlType = $destinationUrlType;
+ }
+
+ }
+}
+
+if (!class_exists("FlashCreative", false)) {
+ /**
+ * A {@code Creative} that displays a Flash-based ad. If the Flash ad cannot
+ * load, a fallback image is displayed instead.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FlashCreative extends BaseFlashCreative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FlashCreative";
+
+ /**
+ * @access public
+ * @var SwiffyFallbackAsset
+ */
+ public $swiffyAsset;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $createSwiffyAsset;
+
+ /**
+ * @access public
+ * @var tnsLockedOrientation
+ */
+ public $lockedOrientation;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $clickTagOverlayEnabled;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($swiffyAsset = null, $createSwiffyAsset = null, $lockedOrientation = null, $clickTagOverlayEnabled = null, $flashName = null, $flashByteArray = null, $fallbackImageName = null, $fallbackImageByteArray = null, $overrideSize = null, $clickTagRequired = null, $fallbackPreviewUrl = null, $flashAssetSize = null, $fallbackAssetSize = null, $sslScanResult = null, $sslManualOverride = null) {
+ parent::__construct();
+ $this->swiffyAsset = $swiffyAsset;
+ $this->createSwiffyAsset = $createSwiffyAsset;
+ $this->lockedOrientation = $lockedOrientation;
+ $this->clickTagOverlayEnabled = $clickTagOverlayEnabled;
+ $this->flashName = $flashName;
+ $this->flashByteArray = $flashByteArray;
+ $this->fallbackImageName = $fallbackImageName;
+ $this->fallbackImageByteArray = $fallbackImageByteArray;
+ $this->overrideSize = $overrideSize;
+ $this->clickTagRequired = $clickTagRequired;
+ $this->fallbackPreviewUrl = $fallbackPreviewUrl;
+ $this->flashAssetSize = $flashAssetSize;
+ $this->fallbackAssetSize = $fallbackAssetSize;
+ $this->sslScanResult = $sslScanResult;
+ $this->sslManualOverride = $sslManualOverride;
+ }
+
+ }
+}
+
+if (!class_exists("FlashOverlayCreative", false)) {
+ /**
+ * An overlay {@code Creative} that displays a Flash-based ad and is
+ * served via VAST 2.0 XML. Overlays cover part of the video content
+ * they are displayed on top of. This creative is read-only.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FlashOverlayCreative extends BaseFlashCreative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FlashOverlayCreative";
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $companionCreativeIds;
+
+ /**
+ * @access public
+ * @var ConversionEvent_TrackingUrlsMapEntry[]
+ */
+ public $trackingUrls;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $customParameters;
+
+ /**
+ * @access public
+ * @var tnsApiFramework
+ */
+ public $apiFramework;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $duration;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $vastPreviewUrl;
+
+ /**
+ * @access public
+ * @var tnsLockedOrientation
+ */
+ public $lockedOrientation;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($companionCreativeIds = null, $trackingUrls = null, $customParameters = null, $apiFramework = null, $duration = null, $vastPreviewUrl = null, $lockedOrientation = null, $flashName = null, $flashByteArray = null, $fallbackImageName = null, $fallbackImageByteArray = null, $overrideSize = null, $clickTagRequired = null, $fallbackPreviewUrl = null, $flashAssetSize = null, $fallbackAssetSize = null, $sslScanResult = null, $sslManualOverride = null) {
+ parent::__construct();
+ $this->companionCreativeIds = $companionCreativeIds;
+ $this->trackingUrls = $trackingUrls;
+ $this->customParameters = $customParameters;
+ $this->apiFramework = $apiFramework;
+ $this->duration = $duration;
+ $this->vastPreviewUrl = $vastPreviewUrl;
+ $this->lockedOrientation = $lockedOrientation;
+ $this->flashName = $flashName;
+ $this->flashByteArray = $flashByteArray;
+ $this->fallbackImageName = $fallbackImageName;
+ $this->fallbackImageByteArray = $fallbackImageByteArray;
+ $this->overrideSize = $overrideSize;
+ $this->clickTagRequired = $clickTagRequired;
+ $this->fallbackPreviewUrl = $fallbackPreviewUrl;
+ $this->flashAssetSize = $flashAssetSize;
+ $this->fallbackAssetSize = $fallbackAssetSize;
+ $this->sslScanResult = $sslScanResult;
+ $this->sslManualOverride = $sslManualOverride;
+ }
+
+ }
+}
+
+if (!class_exists("FlashRedirectCreative", false)) {
+ /**
+ * A {@code Creative} that loads a Flash asset from a specified URL. If the
+ * remote flash asset cannot be served, a fallback image is used at an
+ * alternate URL.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FlashRedirectCreative extends BaseFlashRedirectCreative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FlashRedirectCreative";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($flashUrl = null, $fallbackUrl = null, $fallbackPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null) {
+ parent::__construct();
+ $this->flashUrl = $flashUrl;
+ $this->fallbackUrl = $fallbackUrl;
+ $this->fallbackPreviewUrl = $fallbackPreviewUrl;
+ $this->sslScanResult = $sslScanResult;
+ $this->sslManualOverride = $sslManualOverride;
+ }
+
+ }
+}
+
+if (!class_exists("FlashRedirectOverlayCreative", false)) {
+ /**
+ * An overlay {@code Creative} that loads a Flash asset from a specified URL
+ * and is served via VAST 2.0 XML. Overlays cover part of the video content
+ * they are displayed on top of.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FlashRedirectOverlayCreative extends BaseFlashRedirectCreative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FlashRedirectOverlayCreative";
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $companionCreativeIds;
+
+ /**
+ * @access public
+ * @var ConversionEvent_TrackingUrlsMapEntry[]
+ */
+ public $trackingUrls;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $customParameters;
+
+ /**
+ * @access public
+ * @var tnsApiFramework
+ */
+ public $apiFramework;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $duration;
+
+ /**
+ * @access public
+ * @var Size
+ */
+ public $flashAssetSize;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $vastPreviewUrl;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($companionCreativeIds = null, $trackingUrls = null, $customParameters = null, $apiFramework = null, $duration = null, $flashAssetSize = null, $vastPreviewUrl = null, $flashUrl = null, $fallbackUrl = null, $fallbackPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null) {
+ parent::__construct();
+ $this->companionCreativeIds = $companionCreativeIds;
+ $this->trackingUrls = $trackingUrls;
+ $this->customParameters = $customParameters;
+ $this->apiFramework = $apiFramework;
+ $this->duration = $duration;
+ $this->flashAssetSize = $flashAssetSize;
+ $this->vastPreviewUrl = $vastPreviewUrl;
+ $this->flashUrl = $flashUrl;
+ $this->fallbackUrl = $fallbackUrl;
+ $this->fallbackPreviewUrl = $fallbackPreviewUrl;
+ $this->sslScanResult = $sslScanResult;
+ $this->sslManualOverride = $sslManualOverride;
+ }
+
+ }
+}
+
+if (!class_exists("HasHtmlSnippetDynamicAllocationCreative", false)) {
+ /**
+ * Dynamic allocation creative with a backfill code snippet.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class HasHtmlSnippetDynamicAllocationCreative extends BaseDynamicAllocationCreative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "HasHtmlSnippetDynamicAllocationCreative";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $codeSnippet;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($codeSnippet = null) {
+ parent::__construct();
+ $this->codeSnippet = $codeSnippet;
+ }
+
+ }
+}
+
+if (!class_exists("ImageCreative", false)) {
+ /**
+ * A {@code Creative} that displays an image.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ImageCreative extends BaseImageCreative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ImageCreative";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $altText;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $thirdPartyImpressionUrl;
+
+ /**
+ * @access public
+ * @var CreativeAsset[]
+ */
+ public $secondaryImageAssets;
+
+ /**
+ * @access public
+ * @var tnsLockedOrientation
+ */
+ public $lockedOrientation;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($altText = null, $thirdPartyImpressionUrl = null, $secondaryImageAssets = null, $lockedOrientation = null, $overrideSize = null, $primaryImageAsset = null) {
+ parent::__construct();
+ $this->altText = $altText;
+ $this->thirdPartyImpressionUrl = $thirdPartyImpressionUrl;
+ $this->secondaryImageAssets = $secondaryImageAssets;
+ $this->lockedOrientation = $lockedOrientation;
+ $this->overrideSize = $overrideSize;
+ $this->primaryImageAsset = $primaryImageAsset;
+ }
+
+ }
+}
+
+if (!class_exists("ImageOverlayCreative", false)) {
+ /**
+ * An overlay {@code Creative} that displays an image and is served via VAST
+ * 2.0 XML. Overlays cover part of the video content they are displayed on
+ * top of. This creative is read only.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ImageOverlayCreative extends BaseImageCreative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ImageOverlayCreative";
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $companionCreativeIds;
+
+ /**
+ * @access public
+ * @var ConversionEvent_TrackingUrlsMapEntry[]
+ */
+ public $trackingUrls;
+
+ /**
+ * @access public
+ * @var tnsLockedOrientation
+ */
+ public $lockedOrientation;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $customParameters;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $duration;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $vastPreviewUrl;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($companionCreativeIds = null, $trackingUrls = null, $lockedOrientation = null, $customParameters = null, $duration = null, $vastPreviewUrl = null, $overrideSize = null, $primaryImageAsset = null) {
+ parent::__construct();
+ $this->companionCreativeIds = $companionCreativeIds;
+ $this->trackingUrls = $trackingUrls;
+ $this->lockedOrientation = $lockedOrientation;
+ $this->customParameters = $customParameters;
+ $this->duration = $duration;
+ $this->vastPreviewUrl = $vastPreviewUrl;
+ $this->overrideSize = $overrideSize;
+ $this->primaryImageAsset = $primaryImageAsset;
+ }
+
+ }
+}
+
+if (!class_exists("ImageRedirectCreative", false)) {
+ /**
+ * A {@code Creative} that loads an image asset from a specified URL.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ImageRedirectCreative extends BaseImageRedirectCreative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ImageRedirectCreative";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $altText;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $thirdPartyImpressionUrl;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($altText = null, $thirdPartyImpressionUrl = null, $imageUrl = null) {
+ parent::__construct();
+ $this->altText = $altText;
+ $this->thirdPartyImpressionUrl = $thirdPartyImpressionUrl;
+ $this->imageUrl = $imageUrl;
+ }
+
+ }
+}
+
+if (!class_exists("ImageRedirectOverlayCreative", false)) {
+ /**
+ * An overlay {@code Creative} that loads an image asset from a specified URL
+ * and is served via VAST 2.0 XML. Overlays cover part of the video content
+ * they are displayed on top of. This creative is read only.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ImageRedirectOverlayCreative extends BaseImageRedirectCreative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ImageRedirectOverlayCreative";
+
+ /**
+ * @access public
+ * @var Size
+ */
+ public $assetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $duration;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $companionCreativeIds;
+
+ /**
+ * @access public
+ * @var ConversionEvent_TrackingUrlsMapEntry[]
+ */
+ public $trackingUrls;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $customParameters;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $vastPreviewUrl;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($assetSize = null, $duration = null, $companionCreativeIds = null, $trackingUrls = null, $customParameters = null, $vastPreviewUrl = null, $imageUrl = null) {
+ parent::__construct();
+ $this->assetSize = $assetSize;
+ $this->duration = $duration;
+ $this->companionCreativeIds = $companionCreativeIds;
+ $this->trackingUrls = $trackingUrls;
+ $this->customParameters = $customParameters;
+ $this->vastPreviewUrl = $vastPreviewUrl;
+ $this->imageUrl = $imageUrl;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("RichMediaStudioCreative", false)) {
+ /**
+ * A {@code Creative} that is created by a Rich Media Studio. You cannot create this creative,
+ * but you can update some fields of this creative.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RichMediaStudioCreative extends BaseRichMediaStudioCreative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RichMediaStudioCreative";
+
+ /**
+ * @access public
+ * @var tnsLockedOrientation
+ */
+ public $lockedOrientation;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isInterstitial;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($lockedOrientation = null, $isInterstitial = null, $studioCreativeId = null, $creativeFormat = null, $artworkType = null, $totalFileSize = null, $adTagKeys = null, $customKeyValues = null, $surveyUrl = null, $allImpressionsUrl = null, $richMediaImpressionsUrl = null, $backupImageImpressionsUrl = null, $overrideCss = null, $requiredFlashPluginVersion = null, $duration = null, $billingAttribute = null, $richMediaStudioChildAssetProperties = null, $sslScanResult = null, $sslManualOverride = null) {
+ parent::__construct();
+ $this->lockedOrientation = $lockedOrientation;
+ $this->isInterstitial = $isInterstitial;
+ $this->studioCreativeId = $studioCreativeId;
+ $this->creativeFormat = $creativeFormat;
+ $this->artworkType = $artworkType;
+ $this->totalFileSize = $totalFileSize;
+ $this->adTagKeys = $adTagKeys;
+ $this->customKeyValues = $customKeyValues;
+ $this->surveyUrl = $surveyUrl;
+ $this->allImpressionsUrl = $allImpressionsUrl;
+ $this->richMediaImpressionsUrl = $richMediaImpressionsUrl;
+ $this->backupImageImpressionsUrl = $backupImageImpressionsUrl;
+ $this->overrideCss = $overrideCss;
+ $this->requiredFlashPluginVersion = $requiredFlashPluginVersion;
+ $this->duration = $duration;
+ $this->billingAttribute = $billingAttribute;
+ $this->richMediaStudioChildAssetProperties = $richMediaStudioChildAssetProperties;
+ $this->sslScanResult = $sslScanResult;
+ $this->sslManualOverride = $sslManualOverride;
+ }
+
+ }
+}
+
+if (!class_exists("SetTopBoxCreative", false)) {
+ /**
+ * A {@code Creative} that will be served into cable set-top boxes. There are no assets for this
+ * creative type, as they are hosted by Canoe.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetTopBoxCreative extends BaseVideoCreative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetTopBoxCreative";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $externalAssetId;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $providerId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($externalAssetId = null, $providerId = null, $duration = null, $allowDurationOverride = null, $trackingUrls = null, $companionCreativeIds = null, $customParameters = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null) {
+ parent::__construct();
+ $this->externalAssetId = $externalAssetId;
+ $this->providerId = $providerId;
+ $this->duration = $duration;
+ $this->allowDurationOverride = $allowDurationOverride;
+ $this->trackingUrls = $trackingUrls;
+ $this->companionCreativeIds = $companionCreativeIds;
+ $this->customParameters = $customParameters;
+ $this->vastPreviewUrl = $vastPreviewUrl;
+ $this->sslScanResult = $sslScanResult;
+ $this->sslManualOverride = $sslManualOverride;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("VideoCreative", false)) {
+ /**
+ * A {@code Creative} that contains DFP-hosted video ads and is served
+ * via VAST 2.0 XML. This creative is read-only.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoCreative extends BaseVideoCreative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoCreative";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($duration = null, $allowDurationOverride = null, $trackingUrls = null, $companionCreativeIds = null, $customParameters = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null) {
+ parent::__construct();
+ $this->duration = $duration;
+ $this->allowDurationOverride = $allowDurationOverride;
+ $this->trackingUrls = $trackingUrls;
+ $this->companionCreativeIds = $companionCreativeIds;
+ $this->customParameters = $customParameters;
+ $this->vastPreviewUrl = $vastPreviewUrl;
+ $this->sslScanResult = $sslScanResult;
+ $this->sslManualOverride = $sslManualOverride;
+ }
+
+ }
+}
+
+if (!class_exists("VideoRedirectCreative", false)) {
+ /**
+ * A {@code Creative} that contains externally hosted video ads and
+ * is served via VAST 2.0 XML. This creative is read-only in versions
+ * V201408 and lower.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoRedirectCreative extends BaseVideoCreative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoRedirectCreative";
+
+ /**
+ * @access public
+ * @var VideoRedirectAsset[]
+ */
+ public $videoAssets;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($videoAssets = null, $duration = null, $allowDurationOverride = null, $trackingUrls = null, $companionCreativeIds = null, $customParameters = null, $vastPreviewUrl = null, $sslScanResult = null, $sslManualOverride = null) {
+ parent::__construct();
+ $this->videoAssets = $videoAssets;
+ $this->duration = $duration;
+ $this->allowDurationOverride = $allowDurationOverride;
+ $this->trackingUrls = $trackingUrls;
+ $this->companionCreativeIds = $companionCreativeIds;
+ $this->customParameters = $customParameters;
+ $this->vastPreviewUrl = $vastPreviewUrl;
+ $this->sslScanResult = $sslScanResult;
+ $this->sslManualOverride = $sslManualOverride;
+ }
+
+ }
+}
+
+if (!class_exists("AdExchangeCreative", false)) {
+ /**
+ * An Ad Exchange dynamic allocation creative.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdExchangeCreative extends HasHtmlSnippetDynamicAllocationCreative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdExchangeCreative";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isNativeEligible;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isInterstitial;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isNativeEligible = null, $isInterstitial = null, $codeSnippet = null) {
+ parent::__construct();
+ $this->isNativeEligible = $isNativeEligible;
+ $this->isInterstitial = $isInterstitial;
+ $this->codeSnippet = $codeSnippet;
+ }
+
+ }
+}
+
+if (!class_exists("AdSenseCreative", false)) {
+ /**
+ * An AdSense dynamic allocation creative.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdSenseCreative extends HasHtmlSnippetDynamicAllocationCreative {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdSenseCreative";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($codeSnippet = null) {
+ parent::__construct();
+ $this->codeSnippet = $codeSnippet;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeService", false)) {
+ /**
+ * CreativeService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeService extends DfpSoapClient {
+
+ const SERVICE_NAME = "CreativeService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/CreativeService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/CreativeService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "BaseDynamicAllocationCreative" => "BaseDynamicAllocationCreative",
+ "BaseCreativeTemplateVariableValue" => "BaseCreativeTemplateVariableValue",
+ "ObjectValue" => "ObjectValue",
+ "AdExchangeCreative" => "AdExchangeCreative",
+ "AdMobBackfillCreative" => "AdMobBackfillCreative",
+ "AdSenseCreative" => "AdSenseCreative",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AppliedLabel" => "AppliedLabel",
+ "AspectRatioImageCreative" => "AspectRatioImageCreative",
+ "AssetCreativeTemplateVariableValue" => "AssetCreativeTemplateVariableValue",
+ "Asset" => "Asset",
+ "AssetError" => "AssetError",
+ "AuthenticationError" => "AuthenticationError",
+ "BaseCustomFieldValue" => "BaseCustomFieldValue",
+ "BaseFlashCreative" => "BaseFlashCreative",
+ "BaseFlashRedirectCreative" => "BaseFlashRedirectCreative",
+ "BaseImageCreative" => "BaseImageCreative",
+ "BaseImageRedirectCreative" => "BaseImageRedirectCreative",
+ "BaseRichMediaStudioCreative" => "BaseRichMediaStudioCreative",
+ "BaseVideoCreative" => "BaseVideoCreative",
+ "BooleanValue" => "BooleanValue",
+ "ClickTrackingCreative" => "ClickTrackingCreative",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "ConversionEvent_TrackingUrlsMapEntry" => "ConversionEvent_TrackingUrlsMapEntry",
+ "CreativeAsset" => "CreativeAsset",
+ "CustomCreativeAsset" => "CustomCreativeAsset",
+ "CreativeAssetMacroError" => "CreativeAssetMacroError",
+ "Creative" => "Creative",
+ "CreativeError" => "CreativeError",
+ "CreativePage" => "CreativePage",
+ "CreativeSetError" => "CreativeSetError",
+ "CustomCreative" => "CustomCreative",
+ "CustomCreativeError" => "CustomCreativeError",
+ "CustomFieldValue" => "CustomFieldValue",
+ "CustomFieldValueError" => "CustomFieldValueError",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "LegacyDfpMobileCreative" => "LegacyDfpMobileCreative",
+ "DropDownCustomFieldValue" => "DropDownCustomFieldValue",
+ "EntityLimitReachedError" => "EntityLimitReachedError",
+ "FeatureError" => "FeatureError",
+ "FileError" => "FileError",
+ "FlashCreative" => "FlashCreative",
+ "FlashOverlayCreative" => "FlashOverlayCreative",
+ "FlashRedirectCreative" => "FlashRedirectCreative",
+ "FlashRedirectOverlayCreative" => "FlashRedirectOverlayCreative",
+ "HasDestinationUrlCreative" => "HasDestinationUrlCreative",
+ "HasHtmlSnippetDynamicAllocationCreative" => "HasHtmlSnippetDynamicAllocationCreative",
+ "ImageCreative" => "ImageCreative",
+ "ImageError" => "ImageError",
+ "ImageOverlayCreative" => "ImageOverlayCreative",
+ "ImageRedirectCreative" => "ImageRedirectCreative",
+ "ImageRedirectOverlayCreative" => "ImageRedirectOverlayCreative",
+ "InternalApiError" => "InternalApiError",
+ "InternalRedirectCreative" => "InternalRedirectCreative",
+ "InvalidPhoneNumberError" => "InvalidPhoneNumberError",
+ "InvalidUrlError" => "InvalidUrlError",
+ "LabelEntityAssociationError" => "LabelEntityAssociationError",
+ "LegacyDfpCreative" => "LegacyDfpCreative",
+ "LineItemCreativeAssociationError" => "LineItemCreativeAssociationError",
+ "LongCreativeTemplateVariableValue" => "LongCreativeTemplateVariableValue",
+ "NotNullError" => "NotNullError",
+ "NullError" => "NullError",
+ "NumberValue" => "NumberValue",
+ "ParseError" => "ParseError",
+ "PermissionError" => "PermissionError",
+ "ProgrammaticCreative" => "ProgrammaticCreative",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RangeError" => "RangeError",
+ "RedirectAsset" => "RedirectAsset",
+ "RequiredCollectionError" => "RequiredCollectionError",
+ "RequiredError" => "RequiredError",
+ "RequiredNumberError" => "RequiredNumberError",
+ "RequiredSizeError" => "RequiredSizeError",
+ "RichMediaStudioChildAssetProperty" => "RichMediaStudioChildAssetProperty",
+ "RichMediaStudioCreative" => "RichMediaStudioCreative",
+ "RichMediaStudioCreativeError" => "RichMediaStudioCreativeError",
+ "ServerError" => "ServerError",
+ "SetTopBoxCreative" => "SetTopBoxCreative",
+ "SetTopBoxCreativeError" => "SetTopBoxCreativeError",
+ "SetValue" => "SetValue",
+ "Size" => "Size",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "StringCreativeTemplateVariableValue" => "StringCreativeTemplateVariableValue",
+ "StringLengthError" => "StringLengthError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "SwiffyConversionError" => "SwiffyConversionError",
+ "SwiffyFallbackAsset" => "SwiffyFallbackAsset",
+ "TemplateCreative" => "TemplateCreative",
+ "TemplateInstantiatedCreativeError" => "TemplateInstantiatedCreativeError",
+ "TextValue" => "TextValue",
+ "ThirdPartyCreative" => "ThirdPartyCreative",
+ "TrackingUrls" => "TrackingUrls",
+ "TypeError" => "TypeError",
+ "UniqueError" => "UniqueError",
+ "UnsupportedCreative" => "UnsupportedCreative",
+ "UrlCreativeTemplateVariableValue" => "UrlCreativeTemplateVariableValue",
+ "Value" => "Value",
+ "VastRedirectCreative" => "VastRedirectCreative",
+ "VideoCreative" => "VideoCreative",
+ "VideoMetadata" => "VideoMetadata",
+ "VideoRedirectAsset" => "VideoRedirectAsset",
+ "VideoRedirectCreative" => "VideoRedirectCreative",
+ "VpaidLinearCreative" => "VpaidLinearCreative",
+ "VpaidLinearRedirectCreative" => "VpaidLinearRedirectCreative",
+ "ApiFramework" => "ApiFramework",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AssetError.Reason" => "AssetErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "ConversionEvent" => "ConversionEvent",
+ "CreativeAssetMacroError.Reason" => "CreativeAssetMacroErrorReason",
+ "CreativeError.Reason" => "CreativeErrorReason",
+ "CreativeSetError.Reason" => "CreativeSetErrorReason",
+ "CustomCreativeError.Reason" => "CustomCreativeErrorReason",
+ "CustomFieldValueError.Reason" => "CustomFieldValueErrorReason",
+ "DestinationUrlType" => "DestinationUrlType",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "FileError.Reason" => "FileErrorReason",
+ "Html5Feature" => "Html5Feature",
+ "ImageDensity" => "ImageDensity",
+ "ImageError.Reason" => "ImageErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "InvalidPhoneNumberError.Reason" => "InvalidPhoneNumberErrorReason",
+ "InvalidUrlError.Reason" => "InvalidUrlErrorReason",
+ "LabelEntityAssociationError.Reason" => "LabelEntityAssociationErrorReason",
+ "LineItemCreativeAssociationError.Reason" => "LineItemCreativeAssociationErrorReason",
+ "LockedOrientation" => "LockedOrientation",
+ "MimeType" => "MimeType",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "NullError.Reason" => "NullErrorReason",
+ "ParseError.Reason" => "ParseErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RangeError.Reason" => "RangeErrorReason",
+ "RequiredCollectionError.Reason" => "RequiredCollectionErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "RequiredNumberError.Reason" => "RequiredNumberErrorReason",
+ "RequiredSizeError.Reason" => "RequiredSizeErrorReason",
+ "RichMediaStudioChildAssetProperty.Type" => "RichMediaStudioChildAssetPropertyType",
+ "RichMediaStudioCreativeArtworkType" => "RichMediaStudioCreativeArtworkType",
+ "RichMediaStudioCreativeBillingAttribute" => "RichMediaStudioCreativeBillingAttribute",
+ "RichMediaStudioCreativeError.Reason" => "RichMediaStudioCreativeErrorReason",
+ "RichMediaStudioCreativeFormat" => "RichMediaStudioCreativeFormat",
+ "ScalableType" => "ScalableType",
+ "ServerError.Reason" => "ServerErrorReason",
+ "SetTopBoxCreativeError.Reason" => "SetTopBoxCreativeErrorReason",
+ "SslManualOverride" => "SslManualOverride",
+ "SslScanResult" => "SslScanResult",
+ "StatementError.Reason" => "StatementErrorReason",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "SwiffyConversionError.Reason" => "SwiffyConversionErrorReason",
+ "TemplateInstantiatedCreativeError.Reason" => "TemplateInstantiatedCreativeErrorReason",
+ "VastRedirectType" => "VastRedirectType",
+ "VideoDeliveryType" => "VideoDeliveryType",
+ "createCreatives" => "CreateCreatives",
+ "createCreativesResponse" => "CreateCreativesResponse",
+ "getCreativesByStatement" => "GetCreativesByStatement",
+ "getCreativesByStatementResponse" => "GetCreativesByStatementResponse",
+ "updateCreatives" => "UpdateCreatives",
+ "updateCreativesResponse" => "UpdateCreativesResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Creates new {@link Creative} objects.
+ *
+ * @param creatives the creatives to create
+ * @return the created creatives with their IDs filled in
+ */
+ public function createCreatives($creatives) {
+ $args = new CreateCreatives($creatives);
+ $result = $this->__soapCall("createCreatives", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@link CreativePage} of {@link Creative} objects that satisfy the
+ * given {@link Statement#query}. The following fields are supported for
+ * filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link Creative#id} |
+ *
+ *
+ * {@code name} |
+ * {@link Creative#name} |
+ *
+ *
+ * {@code advertiserId} |
+ * {@link Creative#advertiserId} |
+ *
+ *
+ * {@code width} |
+ * {@link Creative#size} |
+ *
+ *
+ * {@code height} |
+ * {@link Creative#size} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link Creative#lastModifiedDateTime} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of creatives
+ * @return the creatives that match the given filter
+ */
+ public function getCreativesByStatement($filterStatement) {
+ $args = new GetCreativesByStatement($filterStatement);
+ $result = $this->__soapCall("getCreativesByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link Creative} objects.
+ *
+ * @param creatives the creatives to update
+ * @return the updated creatives
+ */
+ public function updateCreatives($creatives) {
+ $args = new UpdateCreatives($creatives);
+ $result = $this->__soapCall("updateCreatives", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/CreativeSetService.php b/src/Google/Api/Ads/Dfp/v201505/CreativeSetService.php
new file mode 100755
index 000000000..76778443a
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/CreativeSetService.php
@@ -0,0 +1,4407 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AssetError", false)) {
+ /**
+ * Lists all errors associated with assets.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AssetError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AssetError";
+
+ /**
+ * @access public
+ * @var tnsAssetErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeAssetMacroError", false)) {
+ /**
+ * Lists all errors associated with creative asset macros.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeAssetMacroError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeAssetMacroError";
+
+ /**
+ * @access public
+ * @var tnsCreativeAssetMacroErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeError", false)) {
+ /**
+ * Lists all errors associated with creatives.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeError";
+
+ /**
+ * @access public
+ * @var tnsCreativeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeSet", false)) {
+ /**
+ * A creative set is comprised of a master creative and its companion creatives.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeSet {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeSet";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $masterCreativeId;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $companionCreativeIds;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $lastModifiedDateTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null, $masterCreativeId = null, $companionCreativeIds = null, $lastModifiedDateTime = null) {
+ $this->id = $id;
+ $this->name = $name;
+ $this->masterCreativeId = $masterCreativeId;
+ $this->companionCreativeIds = $companionCreativeIds;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeSetError", false)) {
+ /**
+ * Errors relating to creative sets & subclasses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeSetError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeSetError";
+
+ /**
+ * @access public
+ * @var tnsCreativeSetErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeSetPage", false)) {
+ /**
+ * Captures a page of {@link CreativeSet} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeSetPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeSetPage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var CreativeSet[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeTemplateError", false)) {
+ /**
+ * A catch-all error that lists all generic errors associated with CreativeTemplate.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeTemplateError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeTemplateError";
+
+ /**
+ * @access public
+ * @var tnsCreativeTemplateErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomCreativeError", false)) {
+ /**
+ * Lists all errors associated with custom creatives.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCreativeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCreativeError";
+
+ /**
+ * @access public
+ * @var tnsCustomCreativeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValueError", false)) {
+ /**
+ * Errors specific to editing custom field values
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValueError";
+
+ /**
+ * @access public
+ * @var tnsCustomFieldValueErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("EntityLimitReachedError", false)) {
+ /**
+ * An error that occurs when creating an entity if the limit on the number of allowed entities for
+ * a network has already been reached.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityLimitReachedError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FileError", false)) {
+ /**
+ * A list of all errors to be used for problems related to files.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FileError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FileError";
+
+ /**
+ * @access public
+ * @var tnsFileErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ImageError", false)) {
+ /**
+ * Lists all errors associated with images.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ImageError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ImageError";
+
+ /**
+ * @access public
+ * @var tnsImageErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InvalidPhoneNumberError", false)) {
+ /**
+ * Lists all errors associated with phone numbers.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidPhoneNumberError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidPhoneNumberError";
+
+ /**
+ * @access public
+ * @var tnsInvalidPhoneNumberErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InvalidUrlError", false)) {
+ /**
+ * Lists all errors associated with URLs.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidUrlError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidUrlError";
+
+ /**
+ * @access public
+ * @var tnsInvalidUrlErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LabelEntityAssociationError", false)) {
+ /**
+ * Errors specific to creating label entity associations.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelEntityAssociationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelEntityAssociationError";
+
+ /**
+ * @access public
+ * @var tnsLabelEntityAssociationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NullError", false)) {
+ /**
+ * Errors associated with violation of a NOT NULL check.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ParseError", false)) {
+ /**
+ * Lists errors related to parsing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError";
+
+ /**
+ * @access public
+ * @var tnsParseErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RangeError", false)) {
+ /**
+ * A list of all errors associated with the Range constraint.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError";
+
+ /**
+ * @access public
+ * @var tnsRangeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionError", false)) {
+ /**
+ * A list of all errors to be used for validating sizes of collections.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError";
+
+ /**
+ * @access public
+ * @var tnsRequiredCollectionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberError", false)) {
+ /**
+ * A list of all errors to be used in conjunction with required number
+ * validators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError";
+
+ /**
+ * @access public
+ * @var tnsRequiredNumberErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredSizeError", false)) {
+ /**
+ * A list of all errors to be used for validating {@link Size}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredSizeError";
+
+ /**
+ * @access public
+ * @var tnsRequiredSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RichMediaStudioCreativeError", false)) {
+ /**
+ * Lists all errors associated with Rich Media Studio creatives.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RichMediaStudioCreativeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RichMediaStudioCreativeError";
+
+ /**
+ * @access public
+ * @var tnsRichMediaStudioCreativeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SetTopBoxCreativeError", false)) {
+ /**
+ * Errors associated with {@link SetTopBoxCreative set-top box creatives}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetTopBoxCreativeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetTopBoxCreativeError";
+
+ /**
+ * @access public
+ * @var tnsSetTopBoxCreativeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthError", false)) {
+ /**
+ * Errors for Strings which do not meet given length constraints.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SwiffyConversionError", false)) {
+ /**
+ * Error for converting flash to swiffy asset.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SwiffyConversionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SwiffyConversionError";
+
+ /**
+ * @access public
+ * @var tnsSwiffyConversionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TemplateInstantiatedCreativeError", false)) {
+ /**
+ * Lists all errors associated with template instantiated creatives.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TemplateInstantiatedCreativeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TemplateInstantiatedCreativeError";
+
+ /**
+ * @access public
+ * @var tnsTemplateInstantiatedCreativeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TypeError", false)) {
+ /**
+ * An error for a field which is an invalid type.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TypeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TypeError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AssetErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AssetErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AssetError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeAssetMacroErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeAssetMacroErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeAssetMacroError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeSetErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeSetErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeSetError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeTemplateErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeTemplateErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeTemplateError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomCreativeErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCreativeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCreativeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValueErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValueErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValueError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FileErrorReason", false)) {
+ /**
+ * The provided byte array is empty.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FileErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FileError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ImageErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ImageErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ImageError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InvalidPhoneNumberErrorReason", false)) {
+ /**
+ * The phone number is invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidPhoneNumberErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidPhoneNumberError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InvalidUrlErrorReason", false)) {
+ /**
+ * The URL contains invalid characters.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidUrlErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidUrlError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LabelEntityAssociationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelEntityAssociationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelEntityAssociationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NullErrorReason", false)) {
+ /**
+ * The reasons for the validation error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ParseErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RangeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionErrorReason", false)) {
+ /**
+ * A required collection is missing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberErrorReason", false)) {
+ /**
+ * Describes reasons for a number to be invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredSizeErrorReason", false)) {
+ /**
+ * {@link Creative#size} or {@link LineItem#creativeSizes} is
+ * missing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RichMediaStudioCreativeErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RichMediaStudioCreativeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RichMediaStudioCreativeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("SetTopBoxCreativeErrorReason", false)) {
+ /**
+ * Error reasons for set-top box creatives.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetTopBoxCreativeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetTopBoxCreativeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("SwiffyConversionErrorReason", false)) {
+ /**
+ * Error reason for {@link SwiffyConversionError}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SwiffyConversionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SwiffyConversionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TemplateInstantiatedCreativeErrorReason", false)) {
+ /**
+ * The reason for the error
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TemplateInstantiatedCreativeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TemplateInstantiatedCreativeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreateCreativeSet", false)) {
+ /**
+ * Creates a new {@link CreativeSet}.
+ *
+ * @param creativeSet the creative set to create
+ * @return the creative set with its ID filled in
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateCreativeSet {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CreativeSet
+ */
+ public $creativeSet;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($creativeSet = null) {
+ $this->creativeSet = $creativeSet;
+ }
+
+ }
+}
+
+if (!class_exists("CreateCreativeSetResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateCreativeSetResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CreativeSet
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetCreativeSetsByStatement", false)) {
+ /**
+ * Gets a {@link CreativeSetPage} of {@link CreativeSet} objects that satisfy the
+ * given {@link Statement#query}. The following fields are supported for
+ * filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link CreativeSet#id} |
+ *
+ *
+ * {@code name} |
+ * {@link CreativeSet#name} |
+ *
+ *
+ * {@code masterCreativeId} |
+ * {@link CreativeSet#masterCreativeId} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link CreativeSet#lastModifiedDateTime} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of creative sets
+ * @return the creative sets that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetCreativeSetsByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $statement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($statement = null) {
+ $this->statement = $statement;
+ }
+
+ }
+}
+
+if (!class_exists("GetCreativeSetsByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetCreativeSetsByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CreativeSetPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateCreativeSet", false)) {
+ /**
+ * Updates the specified {@link CreativeSet}.
+ *
+ * @param creativeSet the creative set to update
+ * @return the updated creative set
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateCreativeSet {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CreativeSet
+ */
+ public $creativeSet;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($creativeSet = null) {
+ $this->creativeSet = $creativeSet;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateCreativeSetResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateCreativeSetResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CreativeSet
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeSetService", false)) {
+ /**
+ * CreativeSetService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeSetService extends DfpSoapClient {
+
+ const SERVICE_NAME = "CreativeSetService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/CreativeSetService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/CreativeSetService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AssetError" => "AssetError",
+ "AuthenticationError" => "AuthenticationError",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "CreativeAssetMacroError" => "CreativeAssetMacroError",
+ "CreativeError" => "CreativeError",
+ "CreativeSet" => "CreativeSet",
+ "CreativeSetError" => "CreativeSetError",
+ "CreativeSetPage" => "CreativeSetPage",
+ "CreativeTemplateError" => "CreativeTemplateError",
+ "CustomCreativeError" => "CustomCreativeError",
+ "CustomFieldValueError" => "CustomFieldValueError",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "EntityLimitReachedError" => "EntityLimitReachedError",
+ "FeatureError" => "FeatureError",
+ "FileError" => "FileError",
+ "ImageError" => "ImageError",
+ "InternalApiError" => "InternalApiError",
+ "InvalidPhoneNumberError" => "InvalidPhoneNumberError",
+ "InvalidUrlError" => "InvalidUrlError",
+ "LabelEntityAssociationError" => "LabelEntityAssociationError",
+ "NotNullError" => "NotNullError",
+ "NullError" => "NullError",
+ "NumberValue" => "NumberValue",
+ "ParseError" => "ParseError",
+ "PermissionError" => "PermissionError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RangeError" => "RangeError",
+ "RequiredCollectionError" => "RequiredCollectionError",
+ "RequiredError" => "RequiredError",
+ "RequiredNumberError" => "RequiredNumberError",
+ "RequiredSizeError" => "RequiredSizeError",
+ "RichMediaStudioCreativeError" => "RichMediaStudioCreativeError",
+ "ServerError" => "ServerError",
+ "SetTopBoxCreativeError" => "SetTopBoxCreativeError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "StringLengthError" => "StringLengthError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "SwiffyConversionError" => "SwiffyConversionError",
+ "TemplateInstantiatedCreativeError" => "TemplateInstantiatedCreativeError",
+ "TextValue" => "TextValue",
+ "TypeError" => "TypeError",
+ "UniqueError" => "UniqueError",
+ "Value" => "Value",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AssetError.Reason" => "AssetErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "CreativeAssetMacroError.Reason" => "CreativeAssetMacroErrorReason",
+ "CreativeError.Reason" => "CreativeErrorReason",
+ "CreativeSetError.Reason" => "CreativeSetErrorReason",
+ "CreativeTemplateError.Reason" => "CreativeTemplateErrorReason",
+ "CustomCreativeError.Reason" => "CustomCreativeErrorReason",
+ "CustomFieldValueError.Reason" => "CustomFieldValueErrorReason",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "FileError.Reason" => "FileErrorReason",
+ "ImageError.Reason" => "ImageErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "InvalidPhoneNumberError.Reason" => "InvalidPhoneNumberErrorReason",
+ "InvalidUrlError.Reason" => "InvalidUrlErrorReason",
+ "LabelEntityAssociationError.Reason" => "LabelEntityAssociationErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "NullError.Reason" => "NullErrorReason",
+ "ParseError.Reason" => "ParseErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RangeError.Reason" => "RangeErrorReason",
+ "RequiredCollectionError.Reason" => "RequiredCollectionErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "RequiredNumberError.Reason" => "RequiredNumberErrorReason",
+ "RequiredSizeError.Reason" => "RequiredSizeErrorReason",
+ "RichMediaStudioCreativeError.Reason" => "RichMediaStudioCreativeErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "SetTopBoxCreativeError.Reason" => "SetTopBoxCreativeErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "SwiffyConversionError.Reason" => "SwiffyConversionErrorReason",
+ "TemplateInstantiatedCreativeError.Reason" => "TemplateInstantiatedCreativeErrorReason",
+ "createCreativeSet" => "CreateCreativeSet",
+ "createCreativeSetResponse" => "CreateCreativeSetResponse",
+ "getCreativeSetsByStatement" => "GetCreativeSetsByStatement",
+ "getCreativeSetsByStatementResponse" => "GetCreativeSetsByStatementResponse",
+ "updateCreativeSet" => "UpdateCreativeSet",
+ "updateCreativeSetResponse" => "UpdateCreativeSetResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Creates a new {@link CreativeSet}.
+ *
+ * @param creativeSet the creative set to create
+ * @return the creative set with its ID filled in
+ */
+ public function createCreativeSet($creativeSet) {
+ $args = new CreateCreativeSet($creativeSet);
+ $result = $this->__soapCall("createCreativeSet", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@link CreativeSetPage} of {@link CreativeSet} objects that satisfy the
+ * given {@link Statement#query}. The following fields are supported for
+ * filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link CreativeSet#id} |
+ *
+ *
+ * {@code name} |
+ * {@link CreativeSet#name} |
+ *
+ *
+ * {@code masterCreativeId} |
+ * {@link CreativeSet#masterCreativeId} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link CreativeSet#lastModifiedDateTime} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of creative sets
+ * @return the creative sets that match the given filter
+ */
+ public function getCreativeSetsByStatement($statement) {
+ $args = new GetCreativeSetsByStatement($statement);
+ $result = $this->__soapCall("getCreativeSetsByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link CreativeSet}.
+ *
+ * @param creativeSet the creative set to update
+ * @return the updated creative set
+ */
+ public function updateCreativeSet($creativeSet) {
+ $args = new UpdateCreativeSet($creativeSet);
+ $result = $this->__soapCall("updateCreativeSet", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/CreativeTemplateService.php b/src/Google/Api/Ads/Dfp/v201505/CreativeTemplateService.php
new file mode 100755
index 000000000..ba750d756
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/CreativeTemplateService.php
@@ -0,0 +1,3368 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeTemplate", false)) {
+ /**
+ * A template upon which a creative can be created.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeTemplate {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeTemplate";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $description;
+
+ /**
+ * @access public
+ * @var CreativeTemplateVariable[]
+ */
+ public $variables;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $snippet;
+
+ /**
+ * @access public
+ * @var tnsCreativeTemplateStatus
+ */
+ public $status;
+
+ /**
+ * @access public
+ * @var tnsCreativeTemplateType
+ */
+ public $type;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isInterstitial;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isNativeEligible;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null, $description = null, $variables = null, $snippet = null, $status = null, $type = null, $isInterstitial = null, $isNativeEligible = null) {
+ $this->id = $id;
+ $this->name = $name;
+ $this->description = $description;
+ $this->variables = $variables;
+ $this->snippet = $snippet;
+ $this->status = $status;
+ $this->type = $type;
+ $this->isInterstitial = $isInterstitial;
+ $this->isNativeEligible = $isNativeEligible;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeTemplateError", false)) {
+ /**
+ * A catch-all error that lists all generic errors associated with CreativeTemplate.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeTemplateError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeTemplateError";
+
+ /**
+ * @access public
+ * @var tnsCreativeTemplateErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ListStringCreativeTemplateVariableVariableChoice", false)) {
+ /**
+ * Stores variable choices that users can select from
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ListStringCreativeTemplateVariableVariableChoice {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ListStringCreativeTemplateVariable.VariableChoice";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $label;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($label = null, $value = null) {
+ $this->label = $label;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeTemplatePage", false)) {
+ /**
+ * Captures a page of {@link CreativeTemplate} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeTemplatePage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeTemplatePage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var CreativeTemplate[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeTemplateVariable", false)) {
+ /**
+ * Represents a variable defined in a creative template.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeTemplateVariable {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeTemplateVariable";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $label;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $uniqueName;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $description;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isRequired;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($label = null, $uniqueName = null, $description = null, $isRequired = null) {
+ $this->label = $label;
+ $this->uniqueName = $uniqueName;
+ $this->description = $description;
+ $this->isRequired = $isRequired;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InvalidUrlError", false)) {
+ /**
+ * Lists all errors associated with URLs.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidUrlError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidUrlError";
+
+ /**
+ * @access public
+ * @var tnsInvalidUrlErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NullError", false)) {
+ /**
+ * Errors associated with violation of a NOT NULL check.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ParseError", false)) {
+ /**
+ * Lists errors related to parsing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError";
+
+ /**
+ * @access public
+ * @var tnsParseErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RangeError", false)) {
+ /**
+ * A list of all errors associated with the Range constraint.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError";
+
+ /**
+ * @access public
+ * @var tnsRangeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberError", false)) {
+ /**
+ * A list of all errors to be used in conjunction with required number
+ * validators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError";
+
+ /**
+ * @access public
+ * @var tnsRequiredNumberErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthError", false)) {
+ /**
+ * Errors for Strings which do not meet given length constraints.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AssetCreativeTemplateVariableMimeType", false)) {
+ /**
+ * Different mime type that the asset variable supports.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AssetCreativeTemplateVariableMimeType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AssetCreativeTemplateVariable.MimeType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeTemplateErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeTemplateErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeTemplateError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeTemplateStatus", false)) {
+ /**
+ * Describes status of the creative template
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeTemplateStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeTemplateStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeTemplateType", false)) {
+ /**
+ * Describes type of the creative template.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeTemplateType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeTemplateType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InvalidUrlErrorReason", false)) {
+ /**
+ * The URL contains invalid characters.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidUrlErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidUrlError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NullErrorReason", false)) {
+ /**
+ * The reasons for the validation error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ParseErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RangeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberErrorReason", false)) {
+ /**
+ * Describes reasons for a number to be invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GetCreativeTemplatesByStatement", false)) {
+ /**
+ * Gets a {@link CreativeTemplatePage} of {@link CreativeTemplate} objects that satisfy the
+ * given {@link Statement#query}. The following fields are supported for
+ * filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link CreativeTemplate#id} |
+ *
+ *
+ * {@code name} |
+ * {@link CreativeTemplate#name} |
+ *
+ *
+ * {@code type} |
+ * {@link CreativeTemplate#type} |
+ *
+ *
+ * {@code status} |
+ * {@link CreativeTemplate#status} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of creative templates.
+ * @return the creative templates that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetCreativeTemplatesByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetCreativeTemplatesByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetCreativeTemplatesByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CreativeTemplatePage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("AssetCreativeTemplateVariable", false)) {
+ /**
+ * Represents a file asset variable defined in a creative template.
+ *
+ * Use {@link AssetCreativeTemplateVariableValue} to specify the value
+ * for this variable when creating {@link TemplateCreative} from the {@link TemplateCreative}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AssetCreativeTemplateVariable extends CreativeTemplateVariable {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AssetCreativeTemplateVariable";
+
+ /**
+ * @access public
+ * @var tnsAssetCreativeTemplateVariableMimeType[]
+ */
+ public $mimeTypes;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($mimeTypes = null, $label = null, $uniqueName = null, $description = null, $isRequired = null) {
+ parent::__construct();
+ $this->mimeTypes = $mimeTypes;
+ $this->label = $label;
+ $this->uniqueName = $uniqueName;
+ $this->description = $description;
+ $this->isRequired = $isRequired;
+ }
+
+ }
+}
+
+if (!class_exists("LongCreativeTemplateVariable", false)) {
+ /**
+ * Represents a long variable defined in a creative template.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LongCreativeTemplateVariable extends CreativeTemplateVariable {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LongCreativeTemplateVariable";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $defaultValue;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($defaultValue = null, $label = null, $uniqueName = null, $description = null, $isRequired = null) {
+ parent::__construct();
+ $this->defaultValue = $defaultValue;
+ $this->label = $label;
+ $this->uniqueName = $uniqueName;
+ $this->description = $description;
+ $this->isRequired = $isRequired;
+ }
+
+ }
+}
+
+if (!class_exists("StringCreativeTemplateVariable", false)) {
+ /**
+ * Represents a string variable defined in a creative template.
+ *
+ * Use {@link StringCreativeTemplateVariableValue} to specify the value
+ * for this variable when creating {@link TemplateCreative} from the {@link TemplateCreative}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringCreativeTemplateVariable extends CreativeTemplateVariable {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringCreativeTemplateVariable";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $defaultValue;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($defaultValue = null, $label = null, $uniqueName = null, $description = null, $isRequired = null) {
+ parent::__construct();
+ $this->defaultValue = $defaultValue;
+ $this->label = $label;
+ $this->uniqueName = $uniqueName;
+ $this->description = $description;
+ $this->isRequired = $isRequired;
+ }
+
+ }
+}
+
+if (!class_exists("UrlCreativeTemplateVariable", false)) {
+ /**
+ * Represents a url variable defined in a creative template.
+ *
+ * Use {@link UrlCreativeTemplateVariableValue} to specify the value
+ * for this variable when creating {@link TemplateCreative} from the {@link TemplateCreative}
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UrlCreativeTemplateVariable extends CreativeTemplateVariable {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UrlCreativeTemplateVariable";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $defaultValue;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTrackingUrl;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($defaultValue = null, $isTrackingUrl = null, $label = null, $uniqueName = null, $description = null, $isRequired = null) {
+ parent::__construct();
+ $this->defaultValue = $defaultValue;
+ $this->isTrackingUrl = $isTrackingUrl;
+ $this->label = $label;
+ $this->uniqueName = $uniqueName;
+ $this->description = $description;
+ $this->isRequired = $isRequired;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("ListStringCreativeTemplateVariable", false)) {
+ /**
+ * Represents a list variable defined in a creative template. This is similar to
+ * {@link StringCreativeTemplateVariable}, except that there are possible choices to
+ * choose from.
+ *
+ * Use {@link StringCreativeTemplateVariableValue} to specify the value
+ * for this variable when creating a {@link TemplateCreative} from a {@link CreativeTemplate}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ListStringCreativeTemplateVariable extends StringCreativeTemplateVariable {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ListStringCreativeTemplateVariable";
+
+ /**
+ * @access public
+ * @var ListStringCreativeTemplateVariableVariableChoice[]
+ */
+ public $choices;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowOtherChoice;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($choices = null, $allowOtherChoice = null, $defaultValue = null) {
+ parent::__construct();
+ $this->choices = $choices;
+ $this->allowOtherChoice = $allowOtherChoice;
+ $this->defaultValue = $defaultValue;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeTemplateService", false)) {
+ /**
+ * CreativeTemplateService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeTemplateService extends DfpSoapClient {
+
+ const SERVICE_NAME = "CreativeTemplateService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/CreativeTemplateService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/CreativeTemplateService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AuthenticationError" => "AuthenticationError",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "AssetCreativeTemplateVariable" => "AssetCreativeTemplateVariable",
+ "CreativeTemplate" => "CreativeTemplate",
+ "CreativeTemplateError" => "CreativeTemplateError",
+ "ListStringCreativeTemplateVariable" => "ListStringCreativeTemplateVariable",
+ "ListStringCreativeTemplateVariable.VariableChoice" => "ListStringCreativeTemplateVariableVariableChoice",
+ "LongCreativeTemplateVariable" => "LongCreativeTemplateVariable",
+ "CreativeTemplatePage" => "CreativeTemplatePage",
+ "StringCreativeTemplateVariable" => "StringCreativeTemplateVariable",
+ "UrlCreativeTemplateVariable" => "UrlCreativeTemplateVariable",
+ "CreativeTemplateVariable" => "CreativeTemplateVariable",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "FeatureError" => "FeatureError",
+ "InternalApiError" => "InternalApiError",
+ "InvalidUrlError" => "InvalidUrlError",
+ "NotNullError" => "NotNullError",
+ "NullError" => "NullError",
+ "NumberValue" => "NumberValue",
+ "ParseError" => "ParseError",
+ "PermissionError" => "PermissionError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RangeError" => "RangeError",
+ "RequiredError" => "RequiredError",
+ "RequiredNumberError" => "RequiredNumberError",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "StringLengthError" => "StringLengthError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "TextValue" => "TextValue",
+ "UniqueError" => "UniqueError",
+ "Value" => "Value",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "AssetCreativeTemplateVariable.MimeType" => "AssetCreativeTemplateVariableMimeType",
+ "CreativeTemplateError.Reason" => "CreativeTemplateErrorReason",
+ "CreativeTemplateStatus" => "CreativeTemplateStatus",
+ "CreativeTemplateType" => "CreativeTemplateType",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "InvalidUrlError.Reason" => "InvalidUrlErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "NullError.Reason" => "NullErrorReason",
+ "ParseError.Reason" => "ParseErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RangeError.Reason" => "RangeErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "RequiredNumberError.Reason" => "RequiredNumberErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "getCreativeTemplatesByStatement" => "GetCreativeTemplatesByStatement",
+ "getCreativeTemplatesByStatementResponse" => "GetCreativeTemplatesByStatementResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Gets a {@link CreativeTemplatePage} of {@link CreativeTemplate} objects that satisfy the
+ * given {@link Statement#query}. The following fields are supported for
+ * filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link CreativeTemplate#id} |
+ *
+ *
+ * {@code name} |
+ * {@link CreativeTemplate#name} |
+ *
+ *
+ * {@code type} |
+ * {@link CreativeTemplate#type} |
+ *
+ *
+ * {@code status} |
+ * {@link CreativeTemplate#status} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of creative templates.
+ * @return the creative templates that match the given filter
+ */
+ public function getCreativeTemplatesByStatement($filterStatement) {
+ $args = new GetCreativeTemplatesByStatement($filterStatement);
+ $result = $this->__soapCall("getCreativeTemplatesByStatement", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/CreativeWrapperService.php b/src/Google/Api/Ads/Dfp/v201505/CreativeWrapperService.php
new file mode 100755
index 000000000..b37d13791
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/CreativeWrapperService.php
@@ -0,0 +1,3344 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeWrapperAction", false)) {
+ /**
+ * Represents the actions that can be performed on {@link CreativeWrapper}
+ * objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeWrapperAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeWrapperAction";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeWrapper", false)) {
+ /**
+ * A {@code CreativeWrapper} allows the wrapping of HTML snippets to be
+ * served along with {@code Creative} objects.
+ *
+ * Creative wrappers must be associated with a
+ * {@link LabelType#CREATIVE_WRAPPER} label and applied to ad units by
+ * {@link AdUnit#appliedLabels}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeWrapper {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeWrapper";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $labelId;
+
+ /**
+ * @access public
+ * @var CreativeWrapperHtmlSnippet
+ */
+ public $header;
+
+ /**
+ * @access public
+ * @var CreativeWrapperHtmlSnippet
+ */
+ public $footer;
+
+ /**
+ * @access public
+ * @var tnsCreativeWrapperOrdering
+ */
+ public $ordering;
+
+ /**
+ * @access public
+ * @var tnsCreativeWrapperStatus
+ */
+ public $status;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $labelId = null, $header = null, $footer = null, $ordering = null, $status = null) {
+ $this->id = $id;
+ $this->labelId = $labelId;
+ $this->header = $header;
+ $this->footer = $footer;
+ $this->ordering = $ordering;
+ $this->status = $status;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeWrapperError", false)) {
+ /**
+ * Errors specific to creative wrappers.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeWrapperError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeWrapperError";
+
+ /**
+ * @access public
+ * @var tnsCreativeWrapperErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeWrapperPage", false)) {
+ /**
+ * Captures a page of {@link CreativeWrapper} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeWrapperPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeWrapperPage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var CreativeWrapper[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("DeactivateCreativeWrappers", false)) {
+ /**
+ * The action used for deactivating {@link CreativeWrapper} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeactivateCreativeWrappers extends CreativeWrapperAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeactivateCreativeWrappers";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeWrapperHtmlSnippet", false)) {
+ /**
+ * The {@code CreativeWrapperHtmlSnippet} contains the HTML snippet that is
+ * delivered as the header or footer.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeWrapperHtmlSnippet {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeWrapperHtmlSnippet";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $htmlSnippet;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($htmlSnippet = null) {
+ $this->htmlSnippet = $htmlSnippet;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LabelError", false)) {
+ /**
+ * Errors specific to labels.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelError";
+
+ /**
+ * @access public
+ * @var tnsLabelErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NullError", false)) {
+ /**
+ * Errors associated with violation of a NOT NULL check.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ParseError", false)) {
+ /**
+ * Lists errors related to parsing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError";
+
+ /**
+ * @access public
+ * @var tnsParseErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthError", false)) {
+ /**
+ * Errors for Strings which do not meet given length constraints.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("TypeError", false)) {
+ /**
+ * An error for a field which is an invalid type.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TypeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TypeError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateResult", false)) {
+ /**
+ * Represents the result of performing an action on objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UpdateResult";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numChanges;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($numChanges = null) {
+ $this->numChanges = $numChanges;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeWrapperErrorReason", false)) {
+ /**
+ * The reasons for the creative wrapper error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeWrapperErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeWrapperError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeWrapperOrdering", false)) {
+ /**
+ * Defines the order in which the header and footer HTML snippets will be
+ * wrapped around the served creative. {@code INNER} snippets will be wrapped
+ * first, followed by {@code NO_PREFERENCE} and finally {@code OUTER}. If the
+ * creative needs to be wrapped with more than one snippet with the same
+ * {@link CreativeWrapperOrdering}, then the order is unspecified.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeWrapperOrdering {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeWrapperOrdering";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeWrapperStatus", false)) {
+ /**
+ * Indicates whether the {@code CreativeWrapper} is active. HTML snippets
+ * are served to creatives only when the creative wrapper is active.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeWrapperStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeWrapperStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LabelErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NullErrorReason", false)) {
+ /**
+ * The reasons for the validation error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ParseErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreateCreativeWrappers", false)) {
+ /**
+ * Creates a new {@code CreativeWrapper} objects.
+ *
+ * The following fields are required:
+ *
+ * - {@link CreativeWrapper#labelId}
+ * - {@link CreativeWrapper#ordering}
+ * - {@link CreativeWrapper#header} or {@link CreativeWrapper#footer}
+ *
+ *
+ * @param creativeWrappers the creative wrappers to create
+ * @return the creative wrappers with their IDs filled in
+ * @throws ApiException
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateCreativeWrappers {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CreativeWrapper[]
+ */
+ public $creativeWrappers;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($creativeWrappers = null) {
+ $this->creativeWrappers = $creativeWrappers;
+ }
+
+ }
+}
+
+if (!class_exists("CreateCreativeWrappersResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateCreativeWrappersResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CreativeWrapper[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetCreativeWrappersByStatement", false)) {
+ /**
+ * Gets a {@link CreativeWrapperPage} of {@link CreativeWrapper}
+ * objects that satisfy the given {@link Statement#query}. The following
+ * fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link CreativeWrapper#id} |
+ *
+ *
+ * {@code labelId} |
+ * {@link CreativeWrapper#labelId} |
+ *
+ *
+ * {@code status} |
+ * {@link CreativeWrapper#status} |
+ *
+ *
+ * {@code ordering} |
+ * {@link CreativeWrapper#ordering} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of creative wrappers.
+ * @return the creative wrappers that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetCreativeWrappersByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetCreativeWrappersByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetCreativeWrappersByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CreativeWrapperPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("PerformCreativeWrapperAction", false)) {
+ /**
+ * Performs actions on {@link CreativeWrapper} objects that match the
+ * given {@link Statement#query}.
+ *
+ * @param creativeWrapperAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of labels
+ * @return the result of the action performed
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformCreativeWrapperAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CreativeWrapperAction
+ */
+ public $creativeWrapperAction;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($creativeWrapperAction = null, $filterStatement = null) {
+ $this->creativeWrapperAction = $creativeWrapperAction;
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("PerformCreativeWrapperActionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformCreativeWrapperActionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UpdateResult
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateCreativeWrappers", false)) {
+ /**
+ * Updates the specified {@code CreativeWrapper} objects.
+ *
+ * @param creativeWrappers the creative wrappers to update
+ * @return the updated creative wrapper objects
+ * @throws ApiException
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateCreativeWrappers {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CreativeWrapper[]
+ */
+ public $creativeWrappers;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($creativeWrappers = null) {
+ $this->creativeWrappers = $creativeWrappers;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateCreativeWrappersResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateCreativeWrappersResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CreativeWrapper[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ActivateCreativeWrappers", false)) {
+ /**
+ * The action used for activating {@link CreativeWrapper} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ActivateCreativeWrappers extends CreativeWrapperAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ActivateCreativeWrappers";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeWrapperService", false)) {
+ /**
+ * CreativeWrapperService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeWrapperService extends DfpSoapClient {
+
+ const SERVICE_NAME = "CreativeWrapperService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/CreativeWrapperService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/CreativeWrapperService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ActivateCreativeWrappers" => "ActivateCreativeWrappers",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AuthenticationError" => "AuthenticationError",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "CreativeWrapperAction" => "CreativeWrapperAction",
+ "CreativeWrapper" => "CreativeWrapper",
+ "CreativeWrapperError" => "CreativeWrapperError",
+ "CreativeWrapperPage" => "CreativeWrapperPage",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "DeactivateCreativeWrappers" => "DeactivateCreativeWrappers",
+ "FeatureError" => "FeatureError",
+ "CreativeWrapperHtmlSnippet" => "CreativeWrapperHtmlSnippet",
+ "InternalApiError" => "InternalApiError",
+ "LabelError" => "LabelError",
+ "NotNullError" => "NotNullError",
+ "NullError" => "NullError",
+ "NumberValue" => "NumberValue",
+ "ParseError" => "ParseError",
+ "PermissionError" => "PermissionError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RequiredError" => "RequiredError",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "StringLengthError" => "StringLengthError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "TextValue" => "TextValue",
+ "TypeError" => "TypeError",
+ "UniqueError" => "UniqueError",
+ "UpdateResult" => "UpdateResult",
+ "Value" => "Value",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "CreativeWrapperError.Reason" => "CreativeWrapperErrorReason",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "CreativeWrapperOrdering" => "CreativeWrapperOrdering",
+ "CreativeWrapperStatus" => "CreativeWrapperStatus",
+ "LabelError.Reason" => "LabelErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "NullError.Reason" => "NullErrorReason",
+ "ParseError.Reason" => "ParseErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "createCreativeWrappers" => "CreateCreativeWrappers",
+ "createCreativeWrappersResponse" => "CreateCreativeWrappersResponse",
+ "getCreativeWrappersByStatement" => "GetCreativeWrappersByStatement",
+ "getCreativeWrappersByStatementResponse" => "GetCreativeWrappersByStatementResponse",
+ "performCreativeWrapperAction" => "PerformCreativeWrapperAction",
+ "performCreativeWrapperActionResponse" => "PerformCreativeWrapperActionResponse",
+ "updateCreativeWrappers" => "UpdateCreativeWrappers",
+ "updateCreativeWrappersResponse" => "UpdateCreativeWrappersResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Creates a new {@code CreativeWrapper} objects.
+ *
+ * The following fields are required:
+ *
+ * - {@link CreativeWrapper#labelId}
+ * - {@link CreativeWrapper#ordering}
+ * - {@link CreativeWrapper#header} or {@link CreativeWrapper#footer}
+ *
+ *
+ * @param creativeWrappers the creative wrappers to create
+ * @return the creative wrappers with their IDs filled in
+ * @throws ApiException
+ */
+ public function createCreativeWrappers($creativeWrappers) {
+ $args = new CreateCreativeWrappers($creativeWrappers);
+ $result = $this->__soapCall("createCreativeWrappers", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@link CreativeWrapperPage} of {@link CreativeWrapper}
+ * objects that satisfy the given {@link Statement#query}. The following
+ * fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link CreativeWrapper#id} |
+ *
+ *
+ * {@code labelId} |
+ * {@link CreativeWrapper#labelId} |
+ *
+ *
+ * {@code status} |
+ * {@link CreativeWrapper#status} |
+ *
+ *
+ * {@code ordering} |
+ * {@link CreativeWrapper#ordering} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of creative wrappers.
+ * @return the creative wrappers that match the given filter
+ */
+ public function getCreativeWrappersByStatement($filterStatement) {
+ $args = new GetCreativeWrappersByStatement($filterStatement);
+ $result = $this->__soapCall("getCreativeWrappersByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Performs actions on {@link CreativeWrapper} objects that match the
+ * given {@link Statement#query}.
+ *
+ * @param creativeWrapperAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of labels
+ * @return the result of the action performed
+ */
+ public function performCreativeWrapperAction($creativeWrapperAction, $filterStatement) {
+ $args = new PerformCreativeWrapperAction($creativeWrapperAction, $filterStatement);
+ $result = $this->__soapCall("performCreativeWrapperAction", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@code CreativeWrapper} objects.
+ *
+ * @param creativeWrappers the creative wrappers to update
+ * @return the updated creative wrapper objects
+ * @throws ApiException
+ */
+ public function updateCreativeWrappers($creativeWrappers) {
+ $args = new UpdateCreativeWrappers($creativeWrappers);
+ $result = $this->__soapCall("updateCreativeWrappers", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/CustomFieldService.php b/src/Google/Api/Ads/Dfp/v201505/CustomFieldService.php
new file mode 100755
index 000000000..a0edce1ab
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/CustomFieldService.php
@@ -0,0 +1,3626 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldAction", false)) {
+ /**
+ * Represents the actions that can be performed on {@link CustomField} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldAction";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomField", false)) {
+ /**
+ * An additional, user-created field on an entity.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomField {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomField";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $description;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isActive;
+
+ /**
+ * @access public
+ * @var tnsCustomFieldEntityType
+ */
+ public $entityType;
+
+ /**
+ * @access public
+ * @var tnsCustomFieldDataType
+ */
+ public $dataType;
+
+ /**
+ * @access public
+ * @var tnsCustomFieldVisibility
+ */
+ public $visibility;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null, $description = null, $isActive = null, $entityType = null, $dataType = null, $visibility = null) {
+ $this->id = $id;
+ $this->name = $name;
+ $this->description = $description;
+ $this->isActive = $isActive;
+ $this->entityType = $entityType;
+ $this->dataType = $dataType;
+ $this->visibility = $visibility;
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldError", false)) {
+ /**
+ * Errors specific to editing custom fields
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldError";
+
+ /**
+ * @access public
+ * @var tnsCustomFieldErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldOption", false)) {
+ /**
+ * An option represents a permitted value for a custom field that
+ * has a {@link CustomField#dataType} of {@link CustomFieldDataType#DROP_DOWN}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldOption {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldOption";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customFieldId;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $displayName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $customFieldId = null, $displayName = null) {
+ $this->id = $id;
+ $this->customFieldId = $customFieldId;
+ $this->displayName = $displayName;
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldPage", false)) {
+ /**
+ * Captures a page of {@link CustomField} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldPage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var CustomField[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("DeactivateCustomFields", false)) {
+ /**
+ * The action used for deactivating {@link CustomField} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeactivateCustomFields extends CustomFieldAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeactivateCustomFields";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("DropDownCustomField", false)) {
+ /**
+ * A custom field that has the drop-down data type.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DropDownCustomField extends CustomField {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DropDownCustomField";
+
+ /**
+ * @access public
+ * @var CustomFieldOption[]
+ */
+ public $options;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($options = null, $id = null, $name = null, $description = null, $isActive = null, $entityType = null, $dataType = null, $visibility = null) {
+ parent::__construct();
+ $this->options = $options;
+ $this->id = $id;
+ $this->name = $name;
+ $this->description = $description;
+ $this->isActive = $isActive;
+ $this->entityType = $entityType;
+ $this->dataType = $dataType;
+ $this->visibility = $visibility;
+ }
+
+ }
+}
+
+if (!class_exists("EntityLimitReachedError", false)) {
+ /**
+ * An error that occurs when creating an entity if the limit on the number of allowed entities for
+ * a network has already been reached.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityLimitReachedError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NullError", false)) {
+ /**
+ * Errors associated with violation of a NOT NULL check.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ParseError", false)) {
+ /**
+ * Lists errors related to parsing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError";
+
+ /**
+ * @access public
+ * @var tnsParseErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("TypeError", false)) {
+ /**
+ * An error for a field which is an invalid type.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TypeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TypeError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateResult", false)) {
+ /**
+ * Represents the result of performing an action on objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UpdateResult";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numChanges;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($numChanges = null) {
+ $this->numChanges = $numChanges;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldDataType", false)) {
+ /**
+ * The data types allowed for {@link CustomField} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldDataType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldDataType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldEntityType", false)) {
+ /**
+ * Entity types recognized by custom fields
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldEntityType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldEntityType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldVisibility", false)) {
+ /**
+ * The visibility levels of a custom field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldVisibility {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldVisibility";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NullErrorReason", false)) {
+ /**
+ * The reasons for the validation error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ParseErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreateCustomFieldOptions", false)) {
+ /**
+ * Creates new {@link CustomFieldOption} objects.
+ *
+ * The following fields are required:
+ *
+ * - {@link CustomFieldOption#displayName}
+ * - {@link CustomFieldOption#customFieldId}
+ *
+ *
+ * @param customFieldOptions the custom fields to create
+ * @return the created custom field options with their IDs filled in
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateCustomFieldOptions {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CustomFieldOption[]
+ */
+ public $customFieldOptions;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customFieldOptions = null) {
+ $this->customFieldOptions = $customFieldOptions;
+ }
+
+ }
+}
+
+if (!class_exists("CreateCustomFieldOptionsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateCustomFieldOptionsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CustomFieldOption[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("CreateCustomFields", false)) {
+ /**
+ * Creates new {@link CustomField} objects.
+ *
+ * The following fields are required:
+ *
+ * - {@link CustomField#name}
+ * - {@link CustomField#entityType}
+ * - {@link CustomField#dataType}
+ * - {@link CustomField#visibility}
+ *
+ *
+ * @param customFields the custom fields to create
+ * @return the created custom fields with their IDs filled in
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateCustomFields {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CustomField[]
+ */
+ public $customFields;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customFields = null) {
+ $this->customFields = $customFields;
+ }
+
+ }
+}
+
+if (!class_exists("CreateCustomFieldsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateCustomFieldsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CustomField[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetCustomFieldOption", false)) {
+ /**
+ * Returns the {@link CustomFieldOption} uniquely identified by the given ID.
+ *
+ * @param customFieldOptionId the ID of the custom field option, which must already exist
+ * @return the {@code CustomFieldOption} uniquely identified by the given ID
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetCustomFieldOption {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customFieldOptionId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customFieldOptionId = null) {
+ $this->customFieldOptionId = $customFieldOptionId;
+ }
+
+ }
+}
+
+if (!class_exists("GetCustomFieldOptionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetCustomFieldOptionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CustomFieldOption
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetCustomFieldsByStatement", false)) {
+ /**
+ * Gets a {@link CustomFieldPage} of {@link CustomField} objects that satisfy the
+ * given {@link Statement#query}.
+ * The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link CustomField#id} |
+ *
+ *
+ * {@code entityType} |
+ * {@link CustomField#entityType} |
+ *
+ *
+ * {@code name} |
+ * {@link CustomField#name} |
+ *
+ *
+ * {@code isActive} |
+ * {@link CustomField#isActive} |
+ *
+ *
+ * {@code visibility} |
+ * {@link CustomField#visibility} |
+ *
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of custom fields.
+ * @return the custom fields that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetCustomFieldsByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetCustomFieldsByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetCustomFieldsByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CustomFieldPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("PerformCustomFieldAction", false)) {
+ /**
+ * Performs actions on {@link CustomField} objects that match the given
+ * {@link Statement#query}.
+ *
+ * @param customFieldAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of custom fields
+ * @return the result of the action performed
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformCustomFieldAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CustomFieldAction
+ */
+ public $customFieldAction;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customFieldAction = null, $filterStatement = null) {
+ $this->customFieldAction = $customFieldAction;
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("PerformCustomFieldActionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformCustomFieldActionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UpdateResult
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateCustomFieldOptions", false)) {
+ /**
+ * Updates the specified {@link CustomFieldOption} objects.
+ *
+ * @param customFieldOptions the custom field options to update
+ * @return the updated custom field options
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateCustomFieldOptions {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CustomFieldOption[]
+ */
+ public $customFieldOptions;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customFieldOptions = null) {
+ $this->customFieldOptions = $customFieldOptions;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateCustomFieldOptionsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateCustomFieldOptionsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CustomFieldOption[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateCustomFields", false)) {
+ /**
+ * Updates the specified {@link CustomField} objects.
+ *
+ * @param customFields the custom fields to update
+ * @return the updated custom fields
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateCustomFields {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CustomField[]
+ */
+ public $customFields;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customFields = null) {
+ $this->customFields = $customFields;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateCustomFieldsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateCustomFieldsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CustomField[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ActivateCustomFields", false)) {
+ /**
+ * The action used for activating {@link CustomField} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ActivateCustomFields extends CustomFieldAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ActivateCustomFields";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldService", false)) {
+ /**
+ * CustomFieldService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldService extends DfpSoapClient {
+
+ const SERVICE_NAME = "CustomFieldService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/CustomFieldService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/CustomFieldService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ActivateCustomFields" => "ActivateCustomFields",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AuthenticationError" => "AuthenticationError",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "CustomFieldAction" => "CustomFieldAction",
+ "CustomField" => "CustomField",
+ "CustomFieldError" => "CustomFieldError",
+ "CustomFieldOption" => "CustomFieldOption",
+ "CustomFieldPage" => "CustomFieldPage",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "DeactivateCustomFields" => "DeactivateCustomFields",
+ "DropDownCustomField" => "DropDownCustomField",
+ "EntityLimitReachedError" => "EntityLimitReachedError",
+ "FeatureError" => "FeatureError",
+ "InternalApiError" => "InternalApiError",
+ "NotNullError" => "NotNullError",
+ "NullError" => "NullError",
+ "NumberValue" => "NumberValue",
+ "ParseError" => "ParseError",
+ "PermissionError" => "PermissionError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RequiredError" => "RequiredError",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "TextValue" => "TextValue",
+ "TypeError" => "TypeError",
+ "UniqueError" => "UniqueError",
+ "UpdateResult" => "UpdateResult",
+ "Value" => "Value",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "CustomFieldDataType" => "CustomFieldDataType",
+ "CustomFieldEntityType" => "CustomFieldEntityType",
+ "CustomFieldError.Reason" => "CustomFieldErrorReason",
+ "CustomFieldVisibility" => "CustomFieldVisibility",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "NullError.Reason" => "NullErrorReason",
+ "ParseError.Reason" => "ParseErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "createCustomFieldOptions" => "CreateCustomFieldOptions",
+ "createCustomFieldOptionsResponse" => "CreateCustomFieldOptionsResponse",
+ "createCustomFields" => "CreateCustomFields",
+ "createCustomFieldsResponse" => "CreateCustomFieldsResponse",
+ "getCustomFieldOption" => "GetCustomFieldOption",
+ "getCustomFieldOptionResponse" => "GetCustomFieldOptionResponse",
+ "getCustomFieldsByStatement" => "GetCustomFieldsByStatement",
+ "getCustomFieldsByStatementResponse" => "GetCustomFieldsByStatementResponse",
+ "performCustomFieldAction" => "PerformCustomFieldAction",
+ "performCustomFieldActionResponse" => "PerformCustomFieldActionResponse",
+ "updateCustomFieldOptions" => "UpdateCustomFieldOptions",
+ "updateCustomFieldOptionsResponse" => "UpdateCustomFieldOptionsResponse",
+ "updateCustomFields" => "UpdateCustomFields",
+ "updateCustomFieldsResponse" => "UpdateCustomFieldsResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Creates new {@link CustomFieldOption} objects.
+ *
+ * The following fields are required:
+ *
+ * - {@link CustomFieldOption#displayName}
+ * - {@link CustomFieldOption#customFieldId}
+ *
+ *
+ * @param customFieldOptions the custom fields to create
+ * @return the created custom field options with their IDs filled in
+ */
+ public function createCustomFieldOptions($customFieldOptions) {
+ $args = new CreateCustomFieldOptions($customFieldOptions);
+ $result = $this->__soapCall("createCustomFieldOptions", array($args));
+ return $result->rval;
+ }
+ /**
+ * Creates new {@link CustomField} objects.
+ *
+ * The following fields are required:
+ *
+ * - {@link CustomField#name}
+ * - {@link CustomField#entityType}
+ * - {@link CustomField#dataType}
+ * - {@link CustomField#visibility}
+ *
+ *
+ * @param customFields the custom fields to create
+ * @return the created custom fields with their IDs filled in
+ */
+ public function createCustomFields($customFields) {
+ $args = new CreateCustomFields($customFields);
+ $result = $this->__soapCall("createCustomFields", array($args));
+ return $result->rval;
+ }
+ /**
+ * Returns the {@link CustomFieldOption} uniquely identified by the given ID.
+ *
+ * @param customFieldOptionId the ID of the custom field option, which must already exist
+ * @return the {@code CustomFieldOption} uniquely identified by the given ID
+ */
+ public function getCustomFieldOption($customFieldOptionId) {
+ $args = new GetCustomFieldOption($customFieldOptionId);
+ $result = $this->__soapCall("getCustomFieldOption", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@link CustomFieldPage} of {@link CustomField} objects that satisfy the
+ * given {@link Statement#query}.
+ * The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link CustomField#id} |
+ *
+ *
+ * {@code entityType} |
+ * {@link CustomField#entityType} |
+ *
+ *
+ * {@code name} |
+ * {@link CustomField#name} |
+ *
+ *
+ * {@code isActive} |
+ * {@link CustomField#isActive} |
+ *
+ *
+ * {@code visibility} |
+ * {@link CustomField#visibility} |
+ *
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of custom fields.
+ * @return the custom fields that match the given filter
+ */
+ public function getCustomFieldsByStatement($filterStatement) {
+ $args = new GetCustomFieldsByStatement($filterStatement);
+ $result = $this->__soapCall("getCustomFieldsByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Performs actions on {@link CustomField} objects that match the given
+ * {@link Statement#query}.
+ *
+ * @param customFieldAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of custom fields
+ * @return the result of the action performed
+ */
+ public function performCustomFieldAction($customFieldAction, $filterStatement) {
+ $args = new PerformCustomFieldAction($customFieldAction, $filterStatement);
+ $result = $this->__soapCall("performCustomFieldAction", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link CustomFieldOption} objects.
+ *
+ * @param customFieldOptions the custom field options to update
+ * @return the updated custom field options
+ */
+ public function updateCustomFieldOptions($customFieldOptions) {
+ $args = new UpdateCustomFieldOptions($customFieldOptions);
+ $result = $this->__soapCall("updateCustomFieldOptions", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link CustomField} objects.
+ *
+ * @param customFields the custom fields to update
+ * @return the updated custom fields
+ */
+ public function updateCustomFields($customFields) {
+ $args = new UpdateCustomFields($customFields);
+ $result = $this->__soapCall("updateCustomFields", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/CustomTargetingService.php b/src/Google/Api/Ads/Dfp/v201505/CustomTargetingService.php
new file mode 100755
index 000000000..91c0ae067
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/CustomTargetingService.php
@@ -0,0 +1,4062 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingError", false)) {
+ /**
+ * Lists all errors related to {@link CustomTargetingKey} and
+ * {@link CustomTargetingValue} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingError";
+
+ /**
+ * @access public
+ * @var tnsCustomTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingKeyAction", false)) {
+ /**
+ * Represents the actions that can be performed on {@link CustomTargetingKey}
+ * objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingKeyAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingKeyAction";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingKey", false)) {
+ /**
+ * {@code CustomTargetingKey} represents a key used for custom targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingKey {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingKey";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $displayName;
+
+ /**
+ * @access public
+ * @var tnsCustomTargetingKeyType
+ */
+ public $type;
+
+ /**
+ * @access public
+ * @var tnsCustomTargetingKeyStatus
+ */
+ public $status;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null, $displayName = null, $type = null, $status = null) {
+ $this->id = $id;
+ $this->name = $name;
+ $this->displayName = $displayName;
+ $this->type = $type;
+ $this->status = $status;
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingKeyPage", false)) {
+ /**
+ * Captures a page of {@link CustomTargetingKey} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingKeyPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingKeyPage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var CustomTargetingKey[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingValueAction", false)) {
+ /**
+ * Represents the actions that can be performed on {@link CustomTargetingValue}
+ * objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingValueAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingValueAction";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingValue", false)) {
+ /**
+ * {@code CustomTargetingValue} represents a value used for custom targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customTargetingKeyId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $displayName;
+
+ /**
+ * @access public
+ * @var tnsCustomTargetingValueMatchType
+ */
+ public $matchType;
+
+ /**
+ * @access public
+ * @var tnsCustomTargetingValueStatus
+ */
+ public $status;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customTargetingKeyId = null, $id = null, $name = null, $displayName = null, $matchType = null, $status = null) {
+ $this->customTargetingKeyId = $customTargetingKeyId;
+ $this->id = $id;
+ $this->name = $name;
+ $this->displayName = $displayName;
+ $this->matchType = $matchType;
+ $this->status = $status;
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingValuePage", false)) {
+ /**
+ * Captures a page of {@link CustomTargetingValue} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingValuePage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingValuePage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var CustomTargetingValue[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("DeleteCustomTargetingKeys", false)) {
+ /**
+ * Represents the delete action that can be performed on
+ * {@link CustomTargetingKey} objects. Deleting a key will not delete the
+ * {@link CustomTargetingValue} objects associated with it. Also, if a custom
+ * targeting key that has been deleted is recreated, any previous custom
+ * targeting values associated with it that were not deleted will continue to
+ * exist.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeleteCustomTargetingKeys extends CustomTargetingKeyAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeleteCustomTargetingKeys";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("DeleteCustomTargetingValues", false)) {
+ /**
+ * Represents the delete action that can be performed on
+ * {@link CustomTargetingValue} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeleteCustomTargetingValues extends CustomTargetingValueAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeleteCustomTargetingValues";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("EntityChildrenLimitReachedError", false)) {
+ /**
+ * Lists errors relating to having too many children on an entity.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityChildrenLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityChildrenLimitReachedError";
+
+ /**
+ * @access public
+ * @var tnsEntityChildrenLimitReachedErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("EntityLimitReachedError", false)) {
+ /**
+ * An error that occurs when creating an entity if the limit on the number of allowed entities for
+ * a network has already been reached.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityLimitReachedError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NullError", false)) {
+ /**
+ * Errors associated with violation of a NOT NULL check.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ParseError", false)) {
+ /**
+ * Lists errors related to parsing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError";
+
+ /**
+ * @access public
+ * @var tnsParseErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("TypeError", false)) {
+ /**
+ * An error for a field which is an invalid type.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TypeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TypeError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateResult", false)) {
+ /**
+ * Represents the result of performing an action on objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UpdateResult";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numChanges;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($numChanges = null) {
+ $this->numChanges = $numChanges;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingKeyStatus", false)) {
+ /**
+ * Describes the statuses for {@code CustomTargetingKey} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingKeyStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingKey.Status";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingKeyType", false)) {
+ /**
+ * Specifies the types for {@code CustomTargetingKey} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingKeyType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingKey.Type";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingValueMatchType", false)) {
+ /**
+ * Represents the ways in which {@link CustomTargetingValue#name} strings will
+ * be matched with ad requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingValueMatchType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingValue.MatchType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingValueStatus", false)) {
+ /**
+ * Describes the statuses for {@code CustomTargetingValue} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingValueStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingValue.Status";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("EntityChildrenLimitReachedErrorReason", false)) {
+ /**
+ * The reasons for the entity children limit reached error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityChildrenLimitReachedErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityChildrenLimitReachedError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NullErrorReason", false)) {
+ /**
+ * The reasons for the validation error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ParseErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreateCustomTargetingKeys", false)) {
+ /**
+ * Creates new {@link CustomTargetingKey} objects.
+ *
+ * The following fields are required:
+ *
+ * - {@link CustomTargetingKey#name}
+ * - {@link CustomTargetingKey#type}
+ *
+ *
+ * @param keys the custom targeting keys to update
+ * @return the updated custom targeting keys
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateCustomTargetingKeys {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CustomTargetingKey[]
+ */
+ public $keys;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($keys = null) {
+ $this->keys = $keys;
+ }
+
+ }
+}
+
+if (!class_exists("CreateCustomTargetingKeysResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateCustomTargetingKeysResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CustomTargetingKey[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("CreateCustomTargetingValues", false)) {
+ /**
+ * Creates new {@link CustomTargetingValue} objects.
+ *
+ * The following fields are required:
+ *
+ * - {@link CustomTargetingValue#customTargetingKeyId}
+ * - {@link CustomTargetingValue#name}
+ *
+ *
+ * @param values the custom targeting values to update
+ * @return the updated custom targeting keys
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateCustomTargetingValues {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CustomTargetingValue[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("CreateCustomTargetingValuesResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateCustomTargetingValuesResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CustomTargetingValue[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetCustomTargetingKeysByStatement", false)) {
+ /**
+ * Gets a {@link CustomTargetingKeyPage} of {@link CustomTargetingKey} objects
+ * that satisfy the given {@link Statement#query}. The following fields are
+ * supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ *
+ * {@code id} |
+ * {@link CustomTargetingKey#id} |
+ *
+ *
+ * {@code name} |
+ * {@link CustomTargetingKey#name} |
+ *
+ *
+ * {@code displayName} |
+ * {@link CustomTargetingKey#displayName} |
+ *
+ *
+ * {@code type} |
+ * {@link CustomTargetingKey#type} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of custom targeting keys
+ * @return the custom targeting keys that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetCustomTargetingKeysByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetCustomTargetingKeysByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetCustomTargetingKeysByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CustomTargetingKeyPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetCustomTargetingValuesByStatement", false)) {
+ /**
+ * Gets a {@link CustomTargetingValuePage} of {@link CustomTargetingValue}
+ * objects that satisfy the given {@link Statement#query}.
+ *
+ * The {@code WHERE} clause in the {@link Statement#query} must always contain
+ * {@link CustomTargetingValue#customTargetingKeyId} as one of its columns in
+ * a way that it is AND'ed with the rest of the query. So, if you want to
+ * retrieve values for a known set of key ids, valid {@link Statement#query}
+ * would look like:
+ *
+ *
+ * -
+ * "WHERE customTargetingKeyId IN ('17','18','19')" retrieves all values that
+ * are associated with keys having ids 17, 18, 19.
+ *
+ * -
+ * "WHERE customTargetingKeyId = '17' AND name = 'red'" retrieves values that
+ * are associated with keys having id 17 and value name is 'red'.
+ *
+ *
+ *
+ *
+ * The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property |
+ * Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link CustomTargetingValue#id} |
+ *
+ *
+ * {@code customTargetingKeyId} |
+ * {@link CustomTargetingValue#customTargetingKeyId} |
+ *
+ *
+ * {@code name} |
+ * {@link CustomTargetingValue#name} |
+ *
+ *
+ * {@code displayName} |
+ * {@link CustomTargetingValue#displayName} |
+ *
+ *
+ * {@code matchType} |
+ * {@link CustomTargetingValue#matchType} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of custom targeting values
+ * @return the custom targeting values that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetCustomTargetingValuesByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetCustomTargetingValuesByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetCustomTargetingValuesByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CustomTargetingValuePage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("PerformCustomTargetingKeyAction", false)) {
+ /**
+ * Performs actions on {@link CustomTargetingKey} objects that match the given
+ * {@link Statement#query}.
+ *
+ * @param customTargetingKeyAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of custom targeting keys
+ * @return the result of the action performed
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformCustomTargetingKeyAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CustomTargetingKeyAction
+ */
+ public $customTargetingKeyAction;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customTargetingKeyAction = null, $filterStatement = null) {
+ $this->customTargetingKeyAction = $customTargetingKeyAction;
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("PerformCustomTargetingKeyActionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformCustomTargetingKeyActionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UpdateResult
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("PerformCustomTargetingValueAction", false)) {
+ /**
+ * Performs actions on {@link CustomTargetingValue} objects that match the
+ * given {@link Statement#query}.
+ *
+ * @param customTargetingValueAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of ad units
+ * @return the result of the action performed
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformCustomTargetingValueAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CustomTargetingValueAction
+ */
+ public $customTargetingValueAction;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customTargetingValueAction = null, $filterStatement = null) {
+ $this->customTargetingValueAction = $customTargetingValueAction;
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("PerformCustomTargetingValueActionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformCustomTargetingValueActionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UpdateResult
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateCustomTargetingKeys", false)) {
+ /**
+ * Updates the specified {@link CustomTargetingKey} objects.
+ *
+ * @param keys the custom targeting keys to update
+ * @return the updated custom targeting keys
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateCustomTargetingKeys {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CustomTargetingKey[]
+ */
+ public $keys;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($keys = null) {
+ $this->keys = $keys;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateCustomTargetingKeysResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateCustomTargetingKeysResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CustomTargetingKey[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateCustomTargetingValues", false)) {
+ /**
+ * Updates the specified {@link CustomTargetingValue} objects.
+ *
+ * @param values the custom targeting values to update
+ * @return the updated custom targeting values
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateCustomTargetingValues {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CustomTargetingValue[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateCustomTargetingValuesResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateCustomTargetingValuesResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var CustomTargetingValue[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ActivateCustomTargetingKeys", false)) {
+ /**
+ * The action used for activating inactive (i.e. deleted)
+ * {@link CustomTargetingKey} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ActivateCustomTargetingKeys extends CustomTargetingKeyAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ActivateCustomTargetingKeys";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ActivateCustomTargetingValues", false)) {
+ /**
+ * The action used for activating inactive (i.e. deleted)
+ * {@link CustomTargetingValue} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ActivateCustomTargetingValues extends CustomTargetingValueAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ActivateCustomTargetingValues";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingService", false)) {
+ /**
+ * CustomTargetingService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingService extends DfpSoapClient {
+
+ const SERVICE_NAME = "CustomTargetingService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/CustomTargetingService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/CustomTargetingService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ActivateCustomTargetingKeys" => "ActivateCustomTargetingKeys",
+ "ActivateCustomTargetingValues" => "ActivateCustomTargetingValues",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AuthenticationError" => "AuthenticationError",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "CustomTargetingError" => "CustomTargetingError",
+ "CustomTargetingKeyAction" => "CustomTargetingKeyAction",
+ "CustomTargetingKey" => "CustomTargetingKey",
+ "CustomTargetingKeyPage" => "CustomTargetingKeyPage",
+ "CustomTargetingValueAction" => "CustomTargetingValueAction",
+ "CustomTargetingValue" => "CustomTargetingValue",
+ "CustomTargetingValuePage" => "CustomTargetingValuePage",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "DeleteCustomTargetingKeys" => "DeleteCustomTargetingKeys",
+ "DeleteCustomTargetingValues" => "DeleteCustomTargetingValues",
+ "EntityChildrenLimitReachedError" => "EntityChildrenLimitReachedError",
+ "EntityLimitReachedError" => "EntityLimitReachedError",
+ "FeatureError" => "FeatureError",
+ "InternalApiError" => "InternalApiError",
+ "NotNullError" => "NotNullError",
+ "NullError" => "NullError",
+ "NumberValue" => "NumberValue",
+ "ParseError" => "ParseError",
+ "PermissionError" => "PermissionError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RequiredError" => "RequiredError",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "TextValue" => "TextValue",
+ "TypeError" => "TypeError",
+ "UniqueError" => "UniqueError",
+ "UpdateResult" => "UpdateResult",
+ "Value" => "Value",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "CustomTargetingError.Reason" => "CustomTargetingErrorReason",
+ "CustomTargetingKey.Status" => "CustomTargetingKeyStatus",
+ "CustomTargetingKey.Type" => "CustomTargetingKeyType",
+ "CustomTargetingValue.MatchType" => "CustomTargetingValueMatchType",
+ "CustomTargetingValue.Status" => "CustomTargetingValueStatus",
+ "EntityChildrenLimitReachedError.Reason" => "EntityChildrenLimitReachedErrorReason",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "NullError.Reason" => "NullErrorReason",
+ "ParseError.Reason" => "ParseErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "createCustomTargetingKeys" => "CreateCustomTargetingKeys",
+ "createCustomTargetingKeysResponse" => "CreateCustomTargetingKeysResponse",
+ "createCustomTargetingValues" => "CreateCustomTargetingValues",
+ "createCustomTargetingValuesResponse" => "CreateCustomTargetingValuesResponse",
+ "getCustomTargetingKeysByStatement" => "GetCustomTargetingKeysByStatement",
+ "getCustomTargetingKeysByStatementResponse" => "GetCustomTargetingKeysByStatementResponse",
+ "getCustomTargetingValuesByStatement" => "GetCustomTargetingValuesByStatement",
+ "getCustomTargetingValuesByStatementResponse" => "GetCustomTargetingValuesByStatementResponse",
+ "performCustomTargetingKeyAction" => "PerformCustomTargetingKeyAction",
+ "performCustomTargetingKeyActionResponse" => "PerformCustomTargetingKeyActionResponse",
+ "performCustomTargetingValueAction" => "PerformCustomTargetingValueAction",
+ "performCustomTargetingValueActionResponse" => "PerformCustomTargetingValueActionResponse",
+ "updateCustomTargetingKeys" => "UpdateCustomTargetingKeys",
+ "updateCustomTargetingKeysResponse" => "UpdateCustomTargetingKeysResponse",
+ "updateCustomTargetingValues" => "UpdateCustomTargetingValues",
+ "updateCustomTargetingValuesResponse" => "UpdateCustomTargetingValuesResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Creates new {@link CustomTargetingKey} objects.
+ *
+ * The following fields are required:
+ *
+ * - {@link CustomTargetingKey#name}
+ * - {@link CustomTargetingKey#type}
+ *
+ *
+ * @param keys the custom targeting keys to update
+ * @return the updated custom targeting keys
+ */
+ public function createCustomTargetingKeys($keys) {
+ $args = new CreateCustomTargetingKeys($keys);
+ $result = $this->__soapCall("createCustomTargetingKeys", array($args));
+ return $result->rval;
+ }
+ /**
+ * Creates new {@link CustomTargetingValue} objects.
+ *
+ * The following fields are required:
+ *
+ * - {@link CustomTargetingValue#customTargetingKeyId}
+ * - {@link CustomTargetingValue#name}
+ *
+ *
+ * @param values the custom targeting values to update
+ * @return the updated custom targeting keys
+ */
+ public function createCustomTargetingValues($values) {
+ $args = new CreateCustomTargetingValues($values);
+ $result = $this->__soapCall("createCustomTargetingValues", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@link CustomTargetingKeyPage} of {@link CustomTargetingKey} objects
+ * that satisfy the given {@link Statement#query}. The following fields are
+ * supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ *
+ * {@code id} |
+ * {@link CustomTargetingKey#id} |
+ *
+ *
+ * {@code name} |
+ * {@link CustomTargetingKey#name} |
+ *
+ *
+ * {@code displayName} |
+ * {@link CustomTargetingKey#displayName} |
+ *
+ *
+ * {@code type} |
+ * {@link CustomTargetingKey#type} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of custom targeting keys
+ * @return the custom targeting keys that match the given filter
+ */
+ public function getCustomTargetingKeysByStatement($filterStatement) {
+ $args = new GetCustomTargetingKeysByStatement($filterStatement);
+ $result = $this->__soapCall("getCustomTargetingKeysByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@link CustomTargetingValuePage} of {@link CustomTargetingValue}
+ * objects that satisfy the given {@link Statement#query}.
+ *
+ * The {@code WHERE} clause in the {@link Statement#query} must always contain
+ * {@link CustomTargetingValue#customTargetingKeyId} as one of its columns in
+ * a way that it is AND'ed with the rest of the query. So, if you want to
+ * retrieve values for a known set of key ids, valid {@link Statement#query}
+ * would look like:
+ *
+ *
+ * -
+ * "WHERE customTargetingKeyId IN ('17','18','19')" retrieves all values that
+ * are associated with keys having ids 17, 18, 19.
+ *
+ * -
+ * "WHERE customTargetingKeyId = '17' AND name = 'red'" retrieves values that
+ * are associated with keys having id 17 and value name is 'red'.
+ *
+ *
+ *
+ *
+ * The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property |
+ * Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link CustomTargetingValue#id} |
+ *
+ *
+ * {@code customTargetingKeyId} |
+ * {@link CustomTargetingValue#customTargetingKeyId} |
+ *
+ *
+ * {@code name} |
+ * {@link CustomTargetingValue#name} |
+ *
+ *
+ * {@code displayName} |
+ * {@link CustomTargetingValue#displayName} |
+ *
+ *
+ * {@code matchType} |
+ * {@link CustomTargetingValue#matchType} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of custom targeting values
+ * @return the custom targeting values that match the given filter
+ */
+ public function getCustomTargetingValuesByStatement($filterStatement) {
+ $args = new GetCustomTargetingValuesByStatement($filterStatement);
+ $result = $this->__soapCall("getCustomTargetingValuesByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Performs actions on {@link CustomTargetingKey} objects that match the given
+ * {@link Statement#query}.
+ *
+ * @param customTargetingKeyAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of custom targeting keys
+ * @return the result of the action performed
+ */
+ public function performCustomTargetingKeyAction($customTargetingKeyAction, $filterStatement) {
+ $args = new PerformCustomTargetingKeyAction($customTargetingKeyAction, $filterStatement);
+ $result = $this->__soapCall("performCustomTargetingKeyAction", array($args));
+ return $result->rval;
+ }
+ /**
+ * Performs actions on {@link CustomTargetingValue} objects that match the
+ * given {@link Statement#query}.
+ *
+ * @param customTargetingValueAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of ad units
+ * @return the result of the action performed
+ */
+ public function performCustomTargetingValueAction($customTargetingValueAction, $filterStatement) {
+ $args = new PerformCustomTargetingValueAction($customTargetingValueAction, $filterStatement);
+ $result = $this->__soapCall("performCustomTargetingValueAction", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link CustomTargetingKey} objects.
+ *
+ * @param keys the custom targeting keys to update
+ * @return the updated custom targeting keys
+ */
+ public function updateCustomTargetingKeys($keys) {
+ $args = new UpdateCustomTargetingKeys($keys);
+ $result = $this->__soapCall("updateCustomTargetingKeys", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link CustomTargetingValue} objects.
+ *
+ * @param values the custom targeting values to update
+ * @return the updated custom targeting values
+ */
+ public function updateCustomTargetingValues($values) {
+ $args = new UpdateCustomTargetingValues($values);
+ $result = $this->__soapCall("updateCustomTargetingValues", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/ExchangeRateService.php b/src/Google/Api/Ads/Dfp/v201505/ExchangeRateService.php
new file mode 100755
index 000000000..d732357c0
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/ExchangeRateService.php
@@ -0,0 +1,2952 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("ExchangeRateAction", false)) {
+ /**
+ * Represents the actions that can be performed on {@link ExchangeRate} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ExchangeRateAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ExchangeRateAction";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ExchangeRate", false)) {
+ /**
+ * An {@code ExchangeRate} represents a currency which is one of the
+ * {@link Network#secondaryCurrencyCodes}, and the latest exchange rate between this currency and
+ * {@link Network#currencyCode}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ExchangeRate {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ExchangeRate";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $currencyCode;
+
+ /**
+ * @access public
+ * @var tnsExchangeRateRefreshRate
+ */
+ public $refreshRate;
+
+ /**
+ * @access public
+ * @var tnsExchangeRateDirection
+ */
+ public $direction;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $exchangeRate;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $currencyCode = null, $refreshRate = null, $direction = null, $exchangeRate = null) {
+ $this->id = $id;
+ $this->currencyCode = $currencyCode;
+ $this->refreshRate = $refreshRate;
+ $this->direction = $direction;
+ $this->exchangeRate = $exchangeRate;
+ }
+
+ }
+}
+
+if (!class_exists("ExchangeRateError", false)) {
+ /**
+ * Lists all errors associated with {@link ExchangeRate} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ExchangeRateError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ExchangeRateError";
+
+ /**
+ * @access public
+ * @var tnsExchangeRateErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ExchangeRatePage", false)) {
+ /**
+ * Captures a page of {@link ExchangeRate} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ExchangeRatePage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ExchangeRatePage";
+
+ /**
+ * @access public
+ * @var ExchangeRate[]
+ */
+ public $results;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($results = null, $startIndex = null, $totalResultSetSize = null) {
+ $this->results = $results;
+ $this->startIndex = $startIndex;
+ $this->totalResultSetSize = $totalResultSetSize;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberError", false)) {
+ /**
+ * A list of all errors to be used in conjunction with required number
+ * validators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError";
+
+ /**
+ * @access public
+ * @var tnsRequiredNumberErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateResult", false)) {
+ /**
+ * Represents the result of performing an action on objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UpdateResult";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numChanges;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($numChanges = null) {
+ $this->numChanges = $numChanges;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ExchangeRateDirection", false)) {
+ /**
+ * Determines which direction (from which currency to which currency) the exchange rate is in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ExchangeRateDirection {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ExchangeRateDirection";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ExchangeRateErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ExchangeRateErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ExchangeRateError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ExchangeRateRefreshRate", false)) {
+ /**
+ * Determines at which rate the exchange rate is refreshed.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ExchangeRateRefreshRate {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ExchangeRateRefreshRate";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberErrorReason", false)) {
+ /**
+ * Describes reasons for a number to be invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreateExchangeRates", false)) {
+ /**
+ * Creates new {@link ExchangeRate} objects.
+ *
+ * For each exchange rate, the following fields are required:
+ *
+ * - {@link ExchangeRate#currencyCode}
+ * - {@link ExchangeRate#exchangeRate} when {@link ExchangeRate#refreshRate} is
+ * {@link ExchangeRateRefreshRate#FIXED}
+ *
+ *
+ * @param exchangeRates the exchange rates to create
+ * @return the created exchange rates with their exchange rate values filled in
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateExchangeRates {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ExchangeRate[]
+ */
+ public $exchangeRates;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($exchangeRates = null) {
+ $this->exchangeRates = $exchangeRates;
+ }
+
+ }
+}
+
+if (!class_exists("CreateExchangeRatesResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateExchangeRatesResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ExchangeRate[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetExchangeRatesByStatement", false)) {
+ /**
+ * Gets a {@link ExchangeRatePage} of {@link ExchangeRate} objects that satisfy the given
+ * {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link ExchangeRate#id} |
+ *
+ *
+ * {@code currencyCode} |
+ * {@link ExchangeRate#currencyCode} |
+ *
+ *
+ * {@code refreshRate} |
+ * {@link ExchangeRate#refreshRate} |
+ *
+ *
+ * {@code direction} |
+ * {@link ExchangeRate#direction} |
+ *
+ *
+ * {@code exchangeRate} |
+ * {@link ExchangeRate#exchangeRate} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of exchange rates
+ * @return the exchange rates that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetExchangeRatesByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetExchangeRatesByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetExchangeRatesByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ExchangeRatePage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("PerformExchangeRateAction", false)) {
+ /**
+ * Performs an action on {@link ExchangeRate} objects that satisfy the given
+ * {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link ExchangeRate#id} |
+ *
+ *
+ * {@code currencyCode} |
+ * {@link ExchangeRate#currencyCode} |
+ *
+ *
+ * {@code refreshRate} |
+ * {@link ExchangeRate#refreshRate} |
+ *
+ *
+ * {@code direction} |
+ * {@link ExchangeRate#direction} |
+ *
+ *
+ * {@code exchangeRate} |
+ * {@link ExchangeRate#exchangeRate} |
+ *
+ *
+ *
+ * @param exchangeRateAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of exchange rates
+ * @return the result of the action performed
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformExchangeRateAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ExchangeRateAction
+ */
+ public $exchangeRateAction;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($exchangeRateAction = null, $filterStatement = null) {
+ $this->exchangeRateAction = $exchangeRateAction;
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("PerformExchangeRateActionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformExchangeRateActionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UpdateResult
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateExchangeRates", false)) {
+ /**
+ * Updates the specified {@link ExchangeRate} objects.
+ *
+ * @param exchangeRates the exchange rates to update
+ * @return the updated exchange rates
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateExchangeRates {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ExchangeRate[]
+ */
+ public $exchangeRates;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($exchangeRates = null) {
+ $this->exchangeRates = $exchangeRates;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateExchangeRatesResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateExchangeRatesResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ExchangeRate[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DeleteExchangeRates", false)) {
+ /**
+ * The action used to delete {@link ExchangeRate} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeleteExchangeRates extends ExchangeRateAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeleteExchangeRates";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("ExchangeRateService", false)) {
+ /**
+ * ExchangeRateService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ExchangeRateService extends DfpSoapClient {
+
+ const SERVICE_NAME = "ExchangeRateService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/ExchangeRateService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/ExchangeRateService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AuthenticationError" => "AuthenticationError",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "DeleteExchangeRates" => "DeleteExchangeRates",
+ "ExchangeRateAction" => "ExchangeRateAction",
+ "ExchangeRate" => "ExchangeRate",
+ "ExchangeRateError" => "ExchangeRateError",
+ "ExchangeRatePage" => "ExchangeRatePage",
+ "FeatureError" => "FeatureError",
+ "InternalApiError" => "InternalApiError",
+ "NotNullError" => "NotNullError",
+ "NumberValue" => "NumberValue",
+ "PermissionError" => "PermissionError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RequiredNumberError" => "RequiredNumberError",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "TextValue" => "TextValue",
+ "UniqueError" => "UniqueError",
+ "UpdateResult" => "UpdateResult",
+ "Value" => "Value",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "ExchangeRateDirection" => "ExchangeRateDirection",
+ "ExchangeRateError.Reason" => "ExchangeRateErrorReason",
+ "ExchangeRateRefreshRate" => "ExchangeRateRefreshRate",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RequiredNumberError.Reason" => "RequiredNumberErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "createExchangeRates" => "CreateExchangeRates",
+ "createExchangeRatesResponse" => "CreateExchangeRatesResponse",
+ "getExchangeRatesByStatement" => "GetExchangeRatesByStatement",
+ "getExchangeRatesByStatementResponse" => "GetExchangeRatesByStatementResponse",
+ "performExchangeRateAction" => "PerformExchangeRateAction",
+ "performExchangeRateActionResponse" => "PerformExchangeRateActionResponse",
+ "updateExchangeRates" => "UpdateExchangeRates",
+ "updateExchangeRatesResponse" => "UpdateExchangeRatesResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Creates new {@link ExchangeRate} objects.
+ *
+ * For each exchange rate, the following fields are required:
+ *
+ * - {@link ExchangeRate#currencyCode}
+ * - {@link ExchangeRate#exchangeRate} when {@link ExchangeRate#refreshRate} is
+ * {@link ExchangeRateRefreshRate#FIXED}
+ *
+ *
+ * @param exchangeRates the exchange rates to create
+ * @return the created exchange rates with their exchange rate values filled in
+ */
+ public function createExchangeRates($exchangeRates) {
+ $args = new CreateExchangeRates($exchangeRates);
+ $result = $this->__soapCall("createExchangeRates", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@link ExchangeRatePage} of {@link ExchangeRate} objects that satisfy the given
+ * {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link ExchangeRate#id} |
+ *
+ *
+ * {@code currencyCode} |
+ * {@link ExchangeRate#currencyCode} |
+ *
+ *
+ * {@code refreshRate} |
+ * {@link ExchangeRate#refreshRate} |
+ *
+ *
+ * {@code direction} |
+ * {@link ExchangeRate#direction} |
+ *
+ *
+ * {@code exchangeRate} |
+ * {@link ExchangeRate#exchangeRate} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of exchange rates
+ * @return the exchange rates that match the given filter
+ */
+ public function getExchangeRatesByStatement($filterStatement) {
+ $args = new GetExchangeRatesByStatement($filterStatement);
+ $result = $this->__soapCall("getExchangeRatesByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Performs an action on {@link ExchangeRate} objects that satisfy the given
+ * {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link ExchangeRate#id} |
+ *
+ *
+ * {@code currencyCode} |
+ * {@link ExchangeRate#currencyCode} |
+ *
+ *
+ * {@code refreshRate} |
+ * {@link ExchangeRate#refreshRate} |
+ *
+ *
+ * {@code direction} |
+ * {@link ExchangeRate#direction} |
+ *
+ *
+ * {@code exchangeRate} |
+ * {@link ExchangeRate#exchangeRate} |
+ *
+ *
+ *
+ * @param exchangeRateAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of exchange rates
+ * @return the result of the action performed
+ */
+ public function performExchangeRateAction($exchangeRateAction, $filterStatement) {
+ $args = new PerformExchangeRateAction($exchangeRateAction, $filterStatement);
+ $result = $this->__soapCall("performExchangeRateAction", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link ExchangeRate} objects.
+ *
+ * @param exchangeRates the exchange rates to update
+ * @return the updated exchange rates
+ */
+ public function updateExchangeRates($exchangeRates) {
+ $args = new UpdateExchangeRates($exchangeRates);
+ $result = $this->__soapCall("updateExchangeRates", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/ForecastService.php b/src/Google/Api/Ads/Dfp/v201505/ForecastService.php
new file mode 100755
index 000000000..8612b4228
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/ForecastService.php
@@ -0,0 +1,11324 @@
+adUnitId = $adUnitId;
+ $this->includeDescendants = $includeDescendants;
+ }
+
+ }
+}
+
+if (!class_exists("ApiError", false)) {
+ /**
+ * The API error base class that provides details about an error that occurred
+ * while processing a service request.
+ *
+ * The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TechnologyTargeting", false)) {
+ /**
+ * Provides {@link LineItem} objects the ability to target or exclude
+ * technologies.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TechnologyTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TechnologyTargeting";
+
+ /**
+ * @access public
+ * @var BandwidthGroupTargeting
+ */
+ public $bandwidthGroupTargeting;
+
+ /**
+ * @access public
+ * @var BrowserTargeting
+ */
+ public $browserTargeting;
+
+ /**
+ * @access public
+ * @var BrowserLanguageTargeting
+ */
+ public $browserLanguageTargeting;
+
+ /**
+ * @access public
+ * @var DeviceCapabilityTargeting
+ */
+ public $deviceCapabilityTargeting;
+
+ /**
+ * @access public
+ * @var DeviceCategoryTargeting
+ */
+ public $deviceCategoryTargeting;
+
+ /**
+ * @access public
+ * @var DeviceManufacturerTargeting
+ */
+ public $deviceManufacturerTargeting;
+
+ /**
+ * @access public
+ * @var MobileCarrierTargeting
+ */
+ public $mobileCarrierTargeting;
+
+ /**
+ * @access public
+ * @var MobileDeviceTargeting
+ */
+ public $mobileDeviceTargeting;
+
+ /**
+ * @access public
+ * @var MobileDeviceSubmodelTargeting
+ */
+ public $mobileDeviceSubmodelTargeting;
+
+ /**
+ * @access public
+ * @var OperatingSystemTargeting
+ */
+ public $operatingSystemTargeting;
+
+ /**
+ * @access public
+ * @var OperatingSystemVersionTargeting
+ */
+ public $operatingSystemVersionTargeting;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($bandwidthGroupTargeting = null, $browserTargeting = null, $browserLanguageTargeting = null, $deviceCapabilityTargeting = null, $deviceCategoryTargeting = null, $deviceManufacturerTargeting = null, $mobileCarrierTargeting = null, $mobileDeviceTargeting = null, $mobileDeviceSubmodelTargeting = null, $operatingSystemTargeting = null, $operatingSystemVersionTargeting = null) {
+ $this->bandwidthGroupTargeting = $bandwidthGroupTargeting;
+ $this->browserTargeting = $browserTargeting;
+ $this->browserLanguageTargeting = $browserLanguageTargeting;
+ $this->deviceCapabilityTargeting = $deviceCapabilityTargeting;
+ $this->deviceCategoryTargeting = $deviceCategoryTargeting;
+ $this->deviceManufacturerTargeting = $deviceManufacturerTargeting;
+ $this->mobileCarrierTargeting = $mobileCarrierTargeting;
+ $this->mobileDeviceTargeting = $mobileDeviceTargeting;
+ $this->mobileDeviceSubmodelTargeting = $mobileDeviceSubmodelTargeting;
+ $this->operatingSystemTargeting = $operatingSystemTargeting;
+ $this->operatingSystemVersionTargeting = $operatingSystemVersionTargeting;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AppliedLabel", false)) {
+ /**
+ * Represents a {@link Label} that can be applied to an entity. To negate an
+ * inherited label, create an {@code AppliedLabel} with {@code labelId} as the
+ * inherited label's ID and {@code isNegated} set to true.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AppliedLabel {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AppliedLabel";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $labelId;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isNegated;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($labelId = null, $isNegated = null) {
+ $this->labelId = $labelId;
+ $this->isNegated = $isNegated;
+ }
+
+ }
+}
+
+if (!class_exists("AudienceExtensionError", false)) {
+ /**
+ * Errors associated with audience extension enabled line items
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceExtensionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceExtensionError";
+
+ /**
+ * @access public
+ * @var tnsAudienceExtensionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("AvailabilityForecast", false)) {
+ /**
+ * Describes predicted inventory availability for a {@link ProspectiveLineItem}.
+ *
+ * Inventory has three threshold values along a line of possible inventory.
+ * From least to most, these are:
+ *
+ *
+ * Available units -- How many units can be booked without affecting any other line items.
+ * Booking more than this number can cause lower and same priority line items to underdeliver.
+ * Possible units -- How many units can be booked without affecting any higher priority line
+ * items. Booking more than this number can cause the line item to underdeliver.
+ * Matched (forecast) units -- How many units satisfy all specified
+ * criteria.
+ *
+ *
+ * Underdelivery is caused by overbooking. However, if more impressions are served than are
+ * predicted, the extra available inventory might enable all inventory guarantees to be met without
+ * overbooking.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AvailabilityForecast {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AvailabilityForecast";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $lineItemId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $orderId;
+
+ /**
+ * @access public
+ * @var tnsUnitType
+ */
+ public $unitType;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $availableUnits;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $deliveredUnits;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $matchedUnits;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $possibleUnits;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $reservedUnits;
+
+ /**
+ * @access public
+ * @var TargetingCriteriaBreakdown[]
+ */
+ public $targetingCriteriaBreakdowns;
+
+ /**
+ * @access public
+ * @var ContendingLineItem[]
+ */
+ public $contendingLineItems;
+
+ /**
+ * @access public
+ * @var GrpDemographicBreakdown[]
+ */
+ public $demographicBreakdowns;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($lineItemId = null, $orderId = null, $unitType = null, $availableUnits = null, $deliveredUnits = null, $matchedUnits = null, $possibleUnits = null, $reservedUnits = null, $targetingCriteriaBreakdowns = null, $contendingLineItems = null, $demographicBreakdowns = null) {
+ $this->lineItemId = $lineItemId;
+ $this->orderId = $orderId;
+ $this->unitType = $unitType;
+ $this->availableUnits = $availableUnits;
+ $this->deliveredUnits = $deliveredUnits;
+ $this->matchedUnits = $matchedUnits;
+ $this->possibleUnits = $possibleUnits;
+ $this->reservedUnits = $reservedUnits;
+ $this->targetingCriteriaBreakdowns = $targetingCriteriaBreakdowns;
+ $this->contendingLineItems = $contendingLineItems;
+ $this->demographicBreakdowns = $demographicBreakdowns;
+ }
+
+ }
+}
+
+if (!class_exists("AvailabilityForecastOptions", false)) {
+ /**
+ * Forecasting options for line item availability forecasts.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AvailabilityForecastOptions {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AvailabilityForecastOptions";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $includeTargetingCriteriaBreakdown;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $includeContendingLineItems;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($includeTargetingCriteriaBreakdown = null, $includeContendingLineItems = null) {
+ $this->includeTargetingCriteriaBreakdown = $includeTargetingCriteriaBreakdown;
+ $this->includeContendingLineItems = $includeContendingLineItems;
+ }
+
+ }
+}
+
+if (!class_exists("BandwidthGroupTargeting", false)) {
+ /**
+ * Represents bandwidth groups that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BandwidthGroupTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BandwidthGroupTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $bandwidthGroups;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $bandwidthGroups = null) {
+ $this->isTargeted = $isTargeted;
+ $this->bandwidthGroups = $bandwidthGroups;
+ }
+
+ }
+}
+
+if (!class_exists("BaseCustomFieldValue", false)) {
+ /**
+ * The value of a {@link CustomField} for a particular entity.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BaseCustomFieldValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customFieldId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customFieldId = null) {
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("BrowserLanguageTargeting", false)) {
+ /**
+ * Represents browser languages that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BrowserLanguageTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BrowserLanguageTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $browserLanguages;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $browserLanguages = null) {
+ $this->isTargeted = $isTargeted;
+ $this->browserLanguages = $browserLanguages;
+ }
+
+ }
+}
+
+if (!class_exists("BrowserTargeting", false)) {
+ /**
+ * Represents browsers that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BrowserTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BrowserTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $browsers;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $browsers = null) {
+ $this->isTargeted = $isTargeted;
+ $this->browsers = $browsers;
+ }
+
+ }
+}
+
+if (!class_exists("ClickTrackingLineItemError", false)) {
+ /**
+ * Click tracking is a special line item type with a number of unique errors as
+ * described below.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ClickTrackingLineItemError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ClickTrackingLineItemError";
+
+ /**
+ * @access public
+ * @var tnsClickTrackingLineItemErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CompanyCreditStatusError", false)) {
+ /**
+ * Lists all errors due to {@link Company#creditStatus}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CompanyCreditStatusError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CompanyCreditStatusError";
+
+ /**
+ * @access public
+ * @var tnsCompanyCreditStatusErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ContendingLineItem", false)) {
+ /**
+ * Describes contending line items for a {@link Forecast}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContendingLineItem {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContendingLineItem";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $lineItemId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $contendingImpressions;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($lineItemId = null, $contendingImpressions = null) {
+ $this->lineItemId = $lineItemId;
+ $this->contendingImpressions = $contendingImpressions;
+ }
+
+ }
+}
+
+if (!class_exists("ContentMetadataKeyHierarchyTargeting", false)) {
+ /**
+ * Represents one or more {@link CustomTargetingValue custom targeting values} from different
+ * {@link CustomTargetingKey custom targeting keys} ANDed together.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentMetadataKeyHierarchyTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentMetadataKeyHierarchyTargeting";
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $customTargetingValueIds;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customTargetingValueIds = null) {
+ $this->customTargetingValueIds = $customTargetingValueIds;
+ }
+
+ }
+}
+
+if (!class_exists("ContentMetadataTargetingError", false)) {
+ /**
+ * Lists all errors related to {@link ContentMetadataTargeting}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentMetadataTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentMetadataTargetingError";
+
+ /**
+ * @access public
+ * @var tnsContentMetadataTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ContentTargeting", false)) {
+ /**
+ * Used to target {@link LineItem}s to specific videos on a publisher's site.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentTargeting";
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $targetedContentIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $excludedContentIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $targetedVideoCategoryIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $excludedVideoCategoryIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $targetedVideoContentBundleIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $excludedVideoContentBundleIds;
+
+ /**
+ * @access public
+ * @var ContentMetadataKeyHierarchyTargeting[]
+ */
+ public $targetedContentMetadata;
+
+ /**
+ * @access public
+ * @var ContentMetadataKeyHierarchyTargeting[]
+ */
+ public $excludedContentMetadata;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedContentIds = null, $excludedContentIds = null, $targetedVideoCategoryIds = null, $excludedVideoCategoryIds = null, $targetedVideoContentBundleIds = null, $excludedVideoContentBundleIds = null, $targetedContentMetadata = null, $excludedContentMetadata = null) {
+ $this->targetedContentIds = $targetedContentIds;
+ $this->excludedContentIds = $excludedContentIds;
+ $this->targetedVideoCategoryIds = $targetedVideoCategoryIds;
+ $this->excludedVideoCategoryIds = $excludedVideoCategoryIds;
+ $this->targetedVideoContentBundleIds = $targetedVideoContentBundleIds;
+ $this->excludedVideoContentBundleIds = $excludedVideoContentBundleIds;
+ $this->targetedContentMetadata = $targetedContentMetadata;
+ $this->excludedContentMetadata = $excludedContentMetadata;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeError", false)) {
+ /**
+ * Lists all errors associated with creatives.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeError";
+
+ /**
+ * @access public
+ * @var tnsCreativeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CreativePlaceholder", false)) {
+ /**
+ * A {@code CreativePlaceholder} describes a slot that a creative is expected to
+ * fill. This is used primarily to help in forecasting, and also to validate
+ * that the correct creatives are associated with the line item. A
+ * {@code CreativePlaceholder} must contain a size, and it can optionally
+ * contain companions. Companions are only valid if the line item's environment
+ * type is {@link EnvironmentType#VIDEO_PLAYER}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativePlaceholder {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativePlaceholder";
+
+ /**
+ * @access public
+ * @var Size
+ */
+ public $size;
+
+ /**
+ * @access public
+ * @var CreativePlaceholder[]
+ */
+ public $companions;
+
+ /**
+ * @access public
+ * @var AppliedLabel[]
+ */
+ public $appliedLabels;
+
+ /**
+ * @access public
+ * @var AppliedLabel[]
+ */
+ public $effectiveAppliedLabels;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $expectedCreativeCount;
+
+ /**
+ * @access public
+ * @var tnsCreativeSizeType
+ */
+ public $creativeSizeType;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($size = null, $companions = null, $appliedLabels = null, $effectiveAppliedLabels = null, $id = null, $expectedCreativeCount = null, $creativeSizeType = null) {
+ $this->size = $size;
+ $this->companions = $companions;
+ $this->appliedLabels = $appliedLabels;
+ $this->effectiveAppliedLabels = $effectiveAppliedLabels;
+ $this->id = $id;
+ $this->expectedCreativeCount = $expectedCreativeCount;
+ $this->creativeSizeType = $creativeSizeType;
+ }
+
+ }
+}
+
+if (!class_exists("CrossSellError", false)) {
+ /**
+ * Lists all errors associated with cross selling.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CrossSellError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CrossSellError";
+
+ /**
+ * @access public
+ * @var tnsCrossSellErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValue", false)) {
+ /**
+ * The value of a {@link CustomField} that does not have a {@link CustomField#dataType}
+ * of {@link CustomFieldDataType#DROP_DOWN}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValue extends BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValue";
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null, $customFieldId = null) {
+ parent::__construct();
+ $this->value = $value;
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValueError", false)) {
+ /**
+ * Errors specific to editing custom field values
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValueError";
+
+ /**
+ * @access public
+ * @var tnsCustomFieldValueErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingError", false)) {
+ /**
+ * Lists all errors related to {@link CustomTargetingKey} and
+ * {@link CustomTargetingValue} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingError";
+
+ /**
+ * @access public
+ * @var tnsCustomTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaNode", false)) {
+ /**
+ * A {@link CustomCriteriaNode} is a node in the custom targeting tree. A custom
+ * criteria node can either be a {@link CustomCriteriaSet} (a non-leaf node) or
+ * a {@link CustomCriteria} (a leaf node). The custom criteria targeting tree is
+ * subject to the rules defined on {@link Targeting#customTargeting}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaNode {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteriaNode";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeRangeTargetingError", false)) {
+ /**
+ * Lists all date time range errors caused by associating a line item with a targeting
+ * expression.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeRangeTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeRangeTargetingError";
+
+ /**
+ * @access public
+ * @var tnsDateTimeRangeTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("DayPart", false)) {
+ /**
+ * {@code DayPart} represents a time-period within a day of the week which is
+ * targeted by a {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DayPart {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DayPart";
+
+ /**
+ * @access public
+ * @var tnsDayOfWeek
+ */
+ public $dayOfWeek;
+
+ /**
+ * @access public
+ * @var TimeOfDay
+ */
+ public $startTime;
+
+ /**
+ * @access public
+ * @var TimeOfDay
+ */
+ public $endTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($dayOfWeek = null, $startTime = null, $endTime = null) {
+ $this->dayOfWeek = $dayOfWeek;
+ $this->startTime = $startTime;
+ $this->endTime = $endTime;
+ }
+
+ }
+}
+
+if (!class_exists("DayPartTargeting", false)) {
+ /**
+ * Modify the delivery times of line items for particular days of the week. By
+ * default, line items are served at all days and times.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DayPartTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DayPartTargeting";
+
+ /**
+ * @access public
+ * @var DayPart[]
+ */
+ public $dayParts;
+
+ /**
+ * @access public
+ * @var tnsDeliveryTimeZone
+ */
+ public $timeZone;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($dayParts = null, $timeZone = null) {
+ $this->dayParts = $dayParts;
+ $this->timeZone = $timeZone;
+ }
+
+ }
+}
+
+if (!class_exists("DayPartTargetingError", false)) {
+ /**
+ * Lists all errors associated with day-part targeting for a line item.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DayPartTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DayPartTargetingError";
+
+ /**
+ * @access public
+ * @var tnsDayPartTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("DeliveryData", false)) {
+ /**
+ * Holds the number of clicks or impressions, determined by
+ * {@link LineItem#costType}, delivered for a single line item for the
+ * last 7 days
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeliveryData {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeliveryData";
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $units;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($units = null) {
+ $this->units = $units;
+ }
+
+ }
+}
+
+if (!class_exists("DeliveryForecastOptions", false)) {
+ /**
+ * Forecasting options for line item delivery forecasts.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeliveryForecastOptions {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeliveryForecastOptions";
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $ignoredLineItemIds;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($ignoredLineItemIds = null) {
+ $this->ignoredLineItemIds = $ignoredLineItemIds;
+ }
+
+ }
+}
+
+if (!class_exists("DeliveryForecast", false)) {
+ /**
+ * The forecast of delivery for a list of {@link ProspectiveLineItem} objects to be reserved at the
+ * same time.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeliveryForecast {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeliveryForecast";
+
+ /**
+ * @access public
+ * @var LineItemDeliveryForecast[]
+ */
+ public $lineItemDeliveryForecasts;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($lineItemDeliveryForecasts = null) {
+ $this->lineItemDeliveryForecasts = $lineItemDeliveryForecasts;
+ }
+
+ }
+}
+
+if (!class_exists("DeliveryIndicator", false)) {
+ /**
+ * Indicates the delivery performance of the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeliveryIndicator {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeliveryIndicator";
+
+ /**
+ * @access public
+ * @var double
+ */
+ public $expectedDeliveryPercentage;
+
+ /**
+ * @access public
+ * @var double
+ */
+ public $actualDeliveryPercentage;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($expectedDeliveryPercentage = null, $actualDeliveryPercentage = null) {
+ $this->expectedDeliveryPercentage = $expectedDeliveryPercentage;
+ $this->actualDeliveryPercentage = $actualDeliveryPercentage;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceCapabilityTargeting", false)) {
+ /**
+ * Represents device capabilities that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceCapabilityTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceCapabilityTargeting";
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $targetedDeviceCapabilities;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $excludedDeviceCapabilities;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedDeviceCapabilities = null, $excludedDeviceCapabilities = null) {
+ $this->targetedDeviceCapabilities = $targetedDeviceCapabilities;
+ $this->excludedDeviceCapabilities = $excludedDeviceCapabilities;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceCategoryTargeting", false)) {
+ /**
+ * Represents device categories that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceCategoryTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceCategoryTargeting";
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $targetedDeviceCategories;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $excludedDeviceCategories;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedDeviceCategories = null, $excludedDeviceCategories = null) {
+ $this->targetedDeviceCategories = $targetedDeviceCategories;
+ $this->excludedDeviceCategories = $excludedDeviceCategories;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceManufacturerTargeting", false)) {
+ /**
+ * Represents device manufacturer that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceManufacturerTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceManufacturerTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $deviceManufacturers;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $deviceManufacturers = null) {
+ $this->isTargeted = $isTargeted;
+ $this->deviceManufacturers = $deviceManufacturers;
+ }
+
+ }
+}
+
+if (!class_exists("DropDownCustomFieldValue", false)) {
+ /**
+ * A {@link CustomFieldValue} for a {@link CustomField} that has a {@link CustomField#dataType}
+ * of {@link CustomFieldDataType#DROP_DOWN}
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DropDownCustomFieldValue extends BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DropDownCustomFieldValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customFieldOptionId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customFieldOptionId = null, $customFieldId = null) {
+ parent::__construct();
+ $this->customFieldOptionId = $customFieldOptionId;
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("EntityChildrenLimitReachedError", false)) {
+ /**
+ * Lists errors relating to having too many children on an entity.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityChildrenLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityChildrenLimitReachedError";
+
+ /**
+ * @access public
+ * @var tnsEntityChildrenLimitReachedErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("EntityLimitReachedError", false)) {
+ /**
+ * An error that occurs when creating an entity if the limit on the number of allowed entities for
+ * a network has already been reached.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityLimitReachedError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ForecastError", false)) {
+ /**
+ * Errors that can result from a forecast request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ForecastError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ForecastError";
+
+ /**
+ * @access public
+ * @var tnsForecastErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FrequencyCap", false)) {
+ /**
+ * Represents a limit on the number of times a single viewer can be exposed to
+ * the same {@link LineItem} in a specified time period.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FrequencyCap {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FrequencyCap";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $maxImpressions;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numTimeUnits;
+
+ /**
+ * @access public
+ * @var tnsTimeUnit
+ */
+ public $timeUnit;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($maxImpressions = null, $numTimeUnits = null, $timeUnit = null) {
+ $this->maxImpressions = $maxImpressions;
+ $this->numTimeUnits = $numTimeUnits;
+ $this->timeUnit = $timeUnit;
+ }
+
+ }
+}
+
+if (!class_exists("FrequencyCapError", false)) {
+ /**
+ * Lists all errors associated with frequency caps.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FrequencyCapError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FrequencyCapError";
+
+ /**
+ * @access public
+ * @var tnsFrequencyCapErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("GenericTargetingError", false)) {
+ /**
+ * Targeting validation errors that can be used by different targeting types.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GenericTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GenericTargetingError";
+
+ /**
+ * @access public
+ * @var tnsGenericTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("GeoTargeting", false)) {
+ /**
+ * Provides line items the ability to target geographical locations. By default,
+ * line items target all countries and their subdivisions. With geographical
+ * targeting, you can target line items to specific countries, regions, metro
+ * areas, and cities. You can also exclude the same.
+ *
+ * The following rules apply for geographical targeting:
+ *
+ *
+ * - You cannot target and exclude the same location
+ * - You cannot target a child whose parent has been excluded. So if the state
+ * of Illinois has been excluded, then you cannot target Chicago
+ * - You must not target a location if you are also targeting its parent.
+ * So if you are targeting New York City, you must not have the state of New
+ * York as one of the targeted locations
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GeoTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GeoTargeting";
+
+ /**
+ * @access public
+ * @var Location[]
+ */
+ public $targetedLocations;
+
+ /**
+ * @access public
+ * @var Location[]
+ */
+ public $excludedLocations;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedLocations = null, $excludedLocations = null) {
+ $this->targetedLocations = $targetedLocations;
+ $this->excludedLocations = $excludedLocations;
+ }
+
+ }
+}
+
+if (!class_exists("GeoTargetingError", false)) {
+ /**
+ * Lists all errors associated with geographical targeting for a
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GeoTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GeoTargetingError";
+
+ /**
+ * @access public
+ * @var tnsGeoTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Goal", false)) {
+ /**
+ * Defines the criteria a {@link LineItem} needs to satisfy to meet its delivery goal.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Goal {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Goal";
+
+ /**
+ * @access public
+ * @var tnsGoalType
+ */
+ public $goalType;
+
+ /**
+ * @access public
+ * @var tnsUnitType
+ */
+ public $unitType;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $units;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($goalType = null, $unitType = null, $units = null) {
+ $this->goalType = $goalType;
+ $this->unitType = $unitType;
+ $this->units = $units;
+ }
+
+ }
+}
+
+if (!class_exists("GrpDemographicBreakdown", false)) {
+ /**
+ * GRP forecast breakdown counts associated with a gender and age demographic.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GrpDemographicBreakdown {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GrpDemographicBreakdown";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $availableUnits;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $matchedUnits;
+
+ /**
+ * @access public
+ * @var tnsGrpUnitType
+ */
+ public $unitType;
+
+ /**
+ * @access public
+ * @var tnsGrpGender
+ */
+ public $gender;
+
+ /**
+ * @access public
+ * @var tnsGrpAge
+ */
+ public $age;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($availableUnits = null, $matchedUnits = null, $unitType = null, $gender = null, $age = null) {
+ $this->availableUnits = $availableUnits;
+ $this->matchedUnits = $matchedUnits;
+ $this->unitType = $unitType;
+ $this->gender = $gender;
+ $this->age = $age;
+ }
+
+ }
+}
+
+if (!class_exists("GrpSettings", false)) {
+ /**
+ * {@code GrpSettings} contains information for a line item that will have a target demographic
+ * when serving. This information will be used to set up tracking and enable reporting on the
+ * demographic information.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GrpSettings {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GrpSettings";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minTargetAge;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $maxTargetAge;
+
+ /**
+ * @access public
+ * @var tnsGrpTargetGender
+ */
+ public $targetGender;
+
+ /**
+ * @access public
+ * @var tnsGrpProvider
+ */
+ public $provider;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $targetImpressionGoal;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($minTargetAge = null, $maxTargetAge = null, $targetGender = null, $provider = null, $targetImpressionGoal = null) {
+ $this->minTargetAge = $minTargetAge;
+ $this->maxTargetAge = $maxTargetAge;
+ $this->targetGender = $targetGender;
+ $this->provider = $provider;
+ $this->targetImpressionGoal = $targetImpressionGoal;
+ }
+
+ }
+}
+
+if (!class_exists("GrpSettingsError", false)) {
+ /**
+ * Errors associated with line items with GRP settings.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GrpSettingsError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GrpSettingsError";
+
+ /**
+ * @access public
+ * @var tnsGrpSettingsErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ImageError", false)) {
+ /**
+ * Lists all errors associated with images.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ImageError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ImageError";
+
+ /**
+ * @access public
+ * @var tnsImageErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InvalidUrlError", false)) {
+ /**
+ * Lists all errors associated with URLs.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidUrlError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidUrlError";
+
+ /**
+ * @access public
+ * @var tnsInvalidUrlErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InventoryTargeting", false)) {
+ /**
+ * A collection of targeted and excluded ad units and placements.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryTargeting";
+
+ /**
+ * @access public
+ * @var AdUnitTargeting[]
+ */
+ public $targetedAdUnits;
+
+ /**
+ * @access public
+ * @var AdUnitTargeting[]
+ */
+ public $excludedAdUnits;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $targetedPlacementIds;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedAdUnits = null, $excludedAdUnits = null, $targetedPlacementIds = null) {
+ $this->targetedAdUnits = $targetedAdUnits;
+ $this->excludedAdUnits = $excludedAdUnits;
+ $this->targetedPlacementIds = $targetedPlacementIds;
+ }
+
+ }
+}
+
+if (!class_exists("InventoryTargetingError", false)) {
+ /**
+ * Lists all inventory errors caused by associating a line item with a targeting
+ * expression.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryTargetingError";
+
+ /**
+ * @access public
+ * @var tnsInventoryTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InventoryUnitError", false)) {
+ /**
+ * Lists the generic errors associated with {@link AdUnit} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryUnitError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryUnitError";
+
+ /**
+ * @access public
+ * @var tnsInventoryUnitErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LabelEntityAssociationError", false)) {
+ /**
+ * Errors specific to creating label entity associations.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelEntityAssociationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelEntityAssociationError";
+
+ /**
+ * @access public
+ * @var tnsLabelEntityAssociationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemActivityAssociationError", false)) {
+ /**
+ * Errors specific to associating activities to line items.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemActivityAssociationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemActivityAssociationError";
+
+ /**
+ * @access public
+ * @var tnsLineItemActivityAssociationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemActivityAssociation", false)) {
+ /**
+ * A {@code LineItemActivityAssociation} associates a {@link LineItem} with an {@link Activity} so
+ * that the conversions of the {@link Activity} can be counted against the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemActivityAssociation {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemActivityAssociation";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $activityId;
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $clickThroughConversionCost;
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $viewThroughConversionCost;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($activityId = null, $clickThroughConversionCost = null, $viewThroughConversionCost = null) {
+ $this->activityId = $activityId;
+ $this->clickThroughConversionCost = $clickThroughConversionCost;
+ $this->viewThroughConversionCost = $viewThroughConversionCost;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemCreativeAssociationError", false)) {
+ /**
+ * Lists all errors associated with line item-to-creative association dates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemCreativeAssociationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemCreativeAssociationError";
+
+ /**
+ * @access public
+ * @var tnsLineItemCreativeAssociationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemDeliveryForecast", false)) {
+ /**
+ * The forecasted delivery of a {@link ProspectiveLineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemDeliveryForecast {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemDeliveryForecast";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $lineItemId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $orderId;
+
+ /**
+ * @access public
+ * @var tnsUnitType
+ */
+ public $unitType;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $predictedDeliveryUnits;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $deliveredUnits;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $matchedUnits;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($lineItemId = null, $orderId = null, $unitType = null, $predictedDeliveryUnits = null, $deliveredUnits = null, $matchedUnits = null) {
+ $this->lineItemId = $lineItemId;
+ $this->orderId = $orderId;
+ $this->unitType = $unitType;
+ $this->predictedDeliveryUnits = $predictedDeliveryUnits;
+ $this->deliveredUnits = $deliveredUnits;
+ $this->matchedUnits = $matchedUnits;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemError", false)) {
+ /**
+ * A catch-all error that lists all generic errors associated with LineItem.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemError";
+
+ /**
+ * @access public
+ * @var tnsLineItemErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemFlightDateError", false)) {
+ /**
+ * Lists all errors associated with LineItem start and end dates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemFlightDateError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemFlightDateError";
+
+ /**
+ * @access public
+ * @var tnsLineItemFlightDateErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemOperationError", false)) {
+ /**
+ * Lists all errors for executing operations on line items
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemOperationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemOperationError";
+
+ /**
+ * @access public
+ * @var tnsLineItemOperationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemSummary", false)) {
+ /**
+ * The {@code LineItemSummary} represents the base class from which a {@code
+ * LineItem} is derived.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemSummary {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemSummary";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $orderId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $externalId;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $orderName;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $startDateTime;
+
+ /**
+ * @access public
+ * @var tnsStartDateTimeType
+ */
+ public $startDateTimeType;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $endDateTime;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $autoExtensionDays;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $unlimitedEndDateTime;
+
+ /**
+ * @access public
+ * @var tnsCreativeRotationType
+ */
+ public $creativeRotationType;
+
+ /**
+ * @access public
+ * @var tnsDeliveryRateType
+ */
+ public $deliveryRateType;
+
+ /**
+ * @access public
+ * @var tnsRoadblockingType
+ */
+ public $roadblockingType;
+
+ /**
+ * @access public
+ * @var FrequencyCap[]
+ */
+ public $frequencyCaps;
+
+ /**
+ * @access public
+ * @var tnsLineItemType
+ */
+ public $lineItemType;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $priority;
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $costPerUnit;
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $valueCostPerUnit;
+
+ /**
+ * @access public
+ * @var tnsCostType
+ */
+ public $costType;
+
+ /**
+ * @access public
+ * @var tnsLineItemDiscountType
+ */
+ public $discountType;
+
+ /**
+ * @access public
+ * @var double
+ */
+ public $discount;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $contractedUnitsBought;
+
+ /**
+ * @access public
+ * @var CreativePlaceholder[]
+ */
+ public $creativePlaceholders;
+
+ /**
+ * @access public
+ * @var LineItemActivityAssociation[]
+ */
+ public $activityAssociations;
+
+ /**
+ * @access public
+ * @var tnsTargetPlatform
+ */
+ public $targetPlatform;
+
+ /**
+ * @access public
+ * @var tnsEnvironmentType
+ */
+ public $environmentType;
+
+ /**
+ * @access public
+ * @var tnsCompanionDeliveryOption
+ */
+ public $companionDeliveryOption;
+
+ /**
+ * @access public
+ * @var tnsCreativePersistenceType
+ */
+ public $creativePersistenceType;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowOverbook;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $skipInventoryCheck;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $skipCrossSellingRuleWarningChecks;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $reserveAtCreation;
+
+ /**
+ * @access public
+ * @var Stats
+ */
+ public $stats;
+
+ /**
+ * @access public
+ * @var DeliveryIndicator
+ */
+ public $deliveryIndicator;
+
+ /**
+ * @access public
+ * @var DeliveryData
+ */
+ public $deliveryData;
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $budget;
+
+ /**
+ * @access public
+ * @var tnsComputedStatus
+ */
+ public $status;
+
+ /**
+ * @access public
+ * @var tnsLineItemSummaryReservationStatus
+ */
+ public $reservationStatus;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isArchived;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $webPropertyCode;
+
+ /**
+ * @access public
+ * @var AppliedLabel[]
+ */
+ public $appliedLabels;
+
+ /**
+ * @access public
+ * @var AppliedLabel[]
+ */
+ public $effectiveAppliedLabels;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $disableSameAdvertiserCompetitiveExclusion;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $lastModifiedByApp;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $notes;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $lastModifiedDateTime;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $creationDateTime;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isPrioritizedPreferredDealsEnabled;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $adExchangeAuctionOpeningPriority;
+
+ /**
+ * @access public
+ * @var BaseCustomFieldValue[]
+ */
+ public $customFieldValues;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isSetTopBoxEnabled;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isMissingCreatives;
+
+ /**
+ * @access public
+ * @var SetTopBoxInfo
+ */
+ public $setTopBoxDisplayInfo;
+
+ /**
+ * @access public
+ * @var Goal
+ */
+ public $primaryGoal;
+
+ /**
+ * @access public
+ * @var Goal[]
+ */
+ public $secondaryGoals;
+
+ /**
+ * @access public
+ * @var GrpSettings
+ */
+ public $grpSettings;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($orderId = null, $id = null, $name = null, $externalId = null, $orderName = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $autoExtensionDays = null, $unlimitedEndDateTime = null, $creativeRotationType = null, $deliveryRateType = null, $roadblockingType = null, $frequencyCaps = null, $lineItemType = null, $priority = null, $costPerUnit = null, $valueCostPerUnit = null, $costType = null, $discountType = null, $discount = null, $contractedUnitsBought = null, $creativePlaceholders = null, $activityAssociations = null, $targetPlatform = null, $environmentType = null, $companionDeliveryOption = null, $creativePersistenceType = null, $allowOverbook = null, $skipInventoryCheck = null, $skipCrossSellingRuleWarningChecks = null, $reserveAtCreation = null, $stats = null, $deliveryIndicator = null, $deliveryData = null, $budget = null, $status = null, $reservationStatus = null, $isArchived = null, $webPropertyCode = null, $appliedLabels = null, $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $lastModifiedByApp = null, $notes = null, $lastModifiedDateTime = null, $creationDateTime = null, $isPrioritizedPreferredDealsEnabled = null, $adExchangeAuctionOpeningPriority = null, $customFieldValues = null, $isSetTopBoxEnabled = null, $isMissingCreatives = null, $setTopBoxDisplayInfo = null, $primaryGoal = null, $secondaryGoals = null, $grpSettings = null) {
+ $this->orderId = $orderId;
+ $this->id = $id;
+ $this->name = $name;
+ $this->externalId = $externalId;
+ $this->orderName = $orderName;
+ $this->startDateTime = $startDateTime;
+ $this->startDateTimeType = $startDateTimeType;
+ $this->endDateTime = $endDateTime;
+ $this->autoExtensionDays = $autoExtensionDays;
+ $this->unlimitedEndDateTime = $unlimitedEndDateTime;
+ $this->creativeRotationType = $creativeRotationType;
+ $this->deliveryRateType = $deliveryRateType;
+ $this->roadblockingType = $roadblockingType;
+ $this->frequencyCaps = $frequencyCaps;
+ $this->lineItemType = $lineItemType;
+ $this->priority = $priority;
+ $this->costPerUnit = $costPerUnit;
+ $this->valueCostPerUnit = $valueCostPerUnit;
+ $this->costType = $costType;
+ $this->discountType = $discountType;
+ $this->discount = $discount;
+ $this->contractedUnitsBought = $contractedUnitsBought;
+ $this->creativePlaceholders = $creativePlaceholders;
+ $this->activityAssociations = $activityAssociations;
+ $this->targetPlatform = $targetPlatform;
+ $this->environmentType = $environmentType;
+ $this->companionDeliveryOption = $companionDeliveryOption;
+ $this->creativePersistenceType = $creativePersistenceType;
+ $this->allowOverbook = $allowOverbook;
+ $this->skipInventoryCheck = $skipInventoryCheck;
+ $this->skipCrossSellingRuleWarningChecks = $skipCrossSellingRuleWarningChecks;
+ $this->reserveAtCreation = $reserveAtCreation;
+ $this->stats = $stats;
+ $this->deliveryIndicator = $deliveryIndicator;
+ $this->deliveryData = $deliveryData;
+ $this->budget = $budget;
+ $this->status = $status;
+ $this->reservationStatus = $reservationStatus;
+ $this->isArchived = $isArchived;
+ $this->webPropertyCode = $webPropertyCode;
+ $this->appliedLabels = $appliedLabels;
+ $this->effectiveAppliedLabels = $effectiveAppliedLabels;
+ $this->disableSameAdvertiserCompetitiveExclusion = $disableSameAdvertiserCompetitiveExclusion;
+ $this->lastModifiedByApp = $lastModifiedByApp;
+ $this->notes = $notes;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ $this->creationDateTime = $creationDateTime;
+ $this->isPrioritizedPreferredDealsEnabled = $isPrioritizedPreferredDealsEnabled;
+ $this->adExchangeAuctionOpeningPriority = $adExchangeAuctionOpeningPriority;
+ $this->customFieldValues = $customFieldValues;
+ $this->isSetTopBoxEnabled = $isSetTopBoxEnabled;
+ $this->isMissingCreatives = $isMissingCreatives;
+ $this->setTopBoxDisplayInfo = $setTopBoxDisplayInfo;
+ $this->primaryGoal = $primaryGoal;
+ $this->secondaryGoals = $secondaryGoals;
+ $this->grpSettings = $grpSettings;
+ }
+
+ }
+}
+
+if (!class_exists("DfpLocation", false)) {
+ /**
+ * A {@link Location} represents a geographical entity that can be targeted. If
+ * a location type is not available because of the API version you are using,
+ * the location will be represented as just the base class, otherwise it will be
+ * sub-classed correctly.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpLocation {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Location";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $type;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $canonicalParentId;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $displayName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $type = null, $canonicalParentId = null, $displayName = null) {
+ $this->id = $id;
+ $this->type = $type;
+ $this->canonicalParentId = $canonicalParentId;
+ $this->displayName = $displayName;
+ }
+
+ }
+}
+
+if (!class_exists("MobileCarrierTargeting", false)) {
+ /**
+ * Represents mobile carriers that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileCarrierTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileCarrierTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $mobileCarriers;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $mobileCarriers = null) {
+ $this->isTargeted = $isTargeted;
+ $this->mobileCarriers = $mobileCarriers;
+ }
+
+ }
+}
+
+if (!class_exists("MobileDeviceSubmodelTargeting", false)) {
+ /**
+ * Represents mobile devices that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileDeviceSubmodelTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileDeviceSubmodelTargeting";
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $targetedMobileDeviceSubmodels;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $excludedMobileDeviceSubmodels;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedMobileDeviceSubmodels = null, $excludedMobileDeviceSubmodels = null) {
+ $this->targetedMobileDeviceSubmodels = $targetedMobileDeviceSubmodels;
+ $this->excludedMobileDeviceSubmodels = $excludedMobileDeviceSubmodels;
+ }
+
+ }
+}
+
+if (!class_exists("MobileDeviceTargeting", false)) {
+ /**
+ * Represents mobile devices that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileDeviceTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileDeviceTargeting";
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $targetedMobileDevices;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $excludedMobileDevices;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedMobileDevices = null, $excludedMobileDevices = null) {
+ $this->targetedMobileDevices = $targetedMobileDevices;
+ $this->excludedMobileDevices = $excludedMobileDevices;
+ }
+
+ }
+}
+
+if (!class_exists("Money", false)) {
+ /**
+ * Represents a money amount.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Money {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Money";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $currencyCode;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $microAmount;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($currencyCode = null, $microAmount = null) {
+ $this->currencyCode = $currencyCode;
+ $this->microAmount = $microAmount;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NullError", false)) {
+ /**
+ * Errors associated with violation of a NOT NULL check.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("OperatingSystemTargeting", false)) {
+ /**
+ * Represents operating systems that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OperatingSystemTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OperatingSystemTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $operatingSystems;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $operatingSystems = null) {
+ $this->isTargeted = $isTargeted;
+ $this->operatingSystems = $operatingSystems;
+ }
+
+ }
+}
+
+if (!class_exists("OperatingSystemVersionTargeting", false)) {
+ /**
+ * Represents operating system versions that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OperatingSystemVersionTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OperatingSystemVersionTargeting";
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $targetedOperatingSystemVersions;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $excludedOperatingSystemVersions;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedOperatingSystemVersions = null, $excludedOperatingSystemVersions = null) {
+ $this->targetedOperatingSystemVersions = $targetedOperatingSystemVersions;
+ $this->excludedOperatingSystemVersions = $excludedOperatingSystemVersions;
+ }
+
+ }
+}
+
+if (!class_exists("OrderError", false)) {
+ /**
+ * Lists all errors associated with orders.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OrderError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OrderError";
+
+ /**
+ * @access public
+ * @var tnsOrderErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ParseError", false)) {
+ /**
+ * Lists errors related to parsing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError";
+
+ /**
+ * @access public
+ * @var tnsParseErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProgrammaticError", false)) {
+ /**
+ * Errors associated with programmatic line items
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProgrammaticError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProgrammaticError";
+
+ /**
+ * @access public
+ * @var tnsProgrammaticErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProspectiveLineItem", false)) {
+ /**
+ * Represents a prospective line item to be forecasted.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProspectiveLineItem {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProspectiveLineItem";
+
+ /**
+ * @access public
+ * @var LineItem
+ */
+ public $lineItem;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $advertiserId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($lineItem = null, $advertiserId = null) {
+ $this->lineItem = $lineItem;
+ $this->advertiserId = $advertiserId;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RangeError", false)) {
+ /**
+ * A list of all errors associated with the Range constraint.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError";
+
+ /**
+ * @access public
+ * @var tnsRangeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RegExError", false)) {
+ /**
+ * Caused by supplying a value for an object attribute that does not conform
+ * to a documented valid regular expression.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RegExError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RegExError";
+
+ /**
+ * @access public
+ * @var tnsRegExErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionError", false)) {
+ /**
+ * A list of all errors to be used for validating sizes of collections.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError";
+
+ /**
+ * @access public
+ * @var tnsRequiredCollectionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberError", false)) {
+ /**
+ * A list of all errors to be used in conjunction with required number
+ * validators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError";
+
+ /**
+ * @access public
+ * @var tnsRequiredNumberErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredSizeError", false)) {
+ /**
+ * A list of all errors to be used for validating {@link Size}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredSizeError";
+
+ /**
+ * @access public
+ * @var tnsRequiredSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ReservationDetailsError", false)) {
+ /**
+ * Lists all errors associated with LineItem's reservation details.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReservationDetailsError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReservationDetailsError";
+
+ /**
+ * @access public
+ * @var tnsReservationDetailsErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("AudienceSegmentError", false)) {
+ /**
+ * Errors that could occur on audience segment related requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceSegmentError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceSegmentError";
+
+ /**
+ * @access public
+ * @var tnsAudienceSegmentErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SetTopBoxInfo", false)) {
+ /**
+ * Contains data used to display information synchronized with Canoe for set-top box enabled
+ * {@link LineItem line items}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetTopBoxInfo {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetTopBoxInfo";
+
+ /**
+ * @access public
+ * @var tnsSetTopBoxSyncStatus
+ */
+ public $syncStatus;
+
+ /**
+ * @access public
+ * @var tnsCanoeSyncResult
+ */
+ public $lastSyncResult;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $lastSyncCanoeResponseMessage;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $nielsenProductCategoryCode;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($syncStatus = null, $lastSyncResult = null, $lastSyncCanoeResponseMessage = null, $nielsenProductCategoryCode = null) {
+ $this->syncStatus = $syncStatus;
+ $this->lastSyncResult = $lastSyncResult;
+ $this->lastSyncCanoeResponseMessage = $lastSyncCanoeResponseMessage;
+ $this->nielsenProductCategoryCode = $nielsenProductCategoryCode;
+ }
+
+ }
+}
+
+if (!class_exists("SetTopBoxLineItemError", false)) {
+ /**
+ * Errors associated with set-top box {@link LineItem line items}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetTopBoxLineItemError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetTopBoxLineItemError";
+
+ /**
+ * @access public
+ * @var tnsSetTopBoxLineItemErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Size", false)) {
+ /**
+ * Represents the dimensions of an {@link AdUnit}, {@link LineItem} or {@link Creative}.
+ *
+ * For interstitial size (out-of-page) and native size, {@code Size} must be 1x1.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Size {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Size";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $width;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $height;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isAspectRatio;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($width = null, $height = null, $isAspectRatio = null) {
+ $this->width = $width;
+ $this->height = $height;
+ $this->isAspectRatio = $isAspectRatio;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Stats", false)) {
+ /**
+ * {@code Stats} contains trafficking statistics for {@link LineItem} and
+ * {@link LineItemCreativeAssociation} objects
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Stats {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Stats";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $impressionsDelivered;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $clicksDelivered;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $videoCompletionsDelivered;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $videoStartsDelivered;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($impressionsDelivered = null, $clicksDelivered = null, $videoCompletionsDelivered = null, $videoStartsDelivered = null) {
+ $this->impressionsDelivered = $impressionsDelivered;
+ $this->clicksDelivered = $clicksDelivered;
+ $this->videoCompletionsDelivered = $videoCompletionsDelivered;
+ $this->videoStartsDelivered = $videoStartsDelivered;
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthError", false)) {
+ /**
+ * Errors for Strings which do not meet given length constraints.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TargetingCriteriaBreakdown", false)) {
+ /**
+ * A single targeting criteria breakdown result.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TargetingCriteriaBreakdown {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TargetingCriteriaBreakdown";
+
+ /**
+ * @access public
+ * @var tnsTargetingDimension
+ */
+ public $targetingDimension;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $targetingCriteriaId;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $targetingCriteriaName;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $excluded;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $availableUnits;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $matchedUnits;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetingDimension = null, $targetingCriteriaId = null, $targetingCriteriaName = null, $excluded = null, $availableUnits = null, $matchedUnits = null) {
+ $this->targetingDimension = $targetingDimension;
+ $this->targetingCriteriaId = $targetingCriteriaId;
+ $this->targetingCriteriaName = $targetingCriteriaName;
+ $this->excluded = $excluded;
+ $this->availableUnits = $availableUnits;
+ $this->matchedUnits = $matchedUnits;
+ }
+
+ }
+}
+
+if (!class_exists("Targeting", false)) {
+ /**
+ * Contains targeting criteria for {@link LineItem} objects. See
+ * {@link LineItem#targeting}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Targeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Targeting";
+
+ /**
+ * @access public
+ * @var GeoTargeting
+ */
+ public $geoTargeting;
+
+ /**
+ * @access public
+ * @var InventoryTargeting
+ */
+ public $inventoryTargeting;
+
+ /**
+ * @access public
+ * @var DayPartTargeting
+ */
+ public $dayPartTargeting;
+
+ /**
+ * @access public
+ * @var TechnologyTargeting
+ */
+ public $technologyTargeting;
+
+ /**
+ * @access public
+ * @var CustomCriteriaSet
+ */
+ public $customTargeting;
+
+ /**
+ * @access public
+ * @var UserDomainTargeting
+ */
+ public $userDomainTargeting;
+
+ /**
+ * @access public
+ * @var ContentTargeting
+ */
+ public $contentTargeting;
+
+ /**
+ * @access public
+ * @var VideoPositionTargeting
+ */
+ public $videoPositionTargeting;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($geoTargeting = null, $inventoryTargeting = null, $dayPartTargeting = null, $technologyTargeting = null, $customTargeting = null, $userDomainTargeting = null, $contentTargeting = null, $videoPositionTargeting = null) {
+ $this->geoTargeting = $geoTargeting;
+ $this->inventoryTargeting = $inventoryTargeting;
+ $this->dayPartTargeting = $dayPartTargeting;
+ $this->technologyTargeting = $technologyTargeting;
+ $this->customTargeting = $customTargeting;
+ $this->userDomainTargeting = $userDomainTargeting;
+ $this->contentTargeting = $contentTargeting;
+ $this->videoPositionTargeting = $videoPositionTargeting;
+ }
+
+ }
+}
+
+if (!class_exists("TeamError", false)) {
+ /**
+ * Errors related to a Team.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TeamError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TeamError";
+
+ /**
+ * @access public
+ * @var tnsTeamErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Technology", false)) {
+ /**
+ * Represents a technology entity that can be targeted.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Technology";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("TechnologyTargetingError", false)) {
+ /**
+ * Technology targeting validation errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TechnologyTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TechnologyTargetingError";
+
+ /**
+ * @access public
+ * @var tnsTechnologyTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TimeOfDay", false)) {
+ /**
+ * Represents a specific time in a day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TimeOfDay {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TimeOfDay";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var tnsMinuteOfHour
+ */
+ public $minute;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($hour = null, $minute = null) {
+ $this->hour = $hour;
+ $this->minute = $minute;
+ }
+
+ }
+}
+
+if (!class_exists("TimeZoneError", false)) {
+ /**
+ * Errors related to timezones.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TimeZoneError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TimeZoneError";
+
+ /**
+ * @access public
+ * @var tnsTimeZoneErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TypeError", false)) {
+ /**
+ * An error for a field which is an invalid type.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TypeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TypeError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UserDomainTargeting", false)) {
+ /**
+ * Provides line items the ability to target or exclude users visiting their
+ * websites from a list of domains or subdomains.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserDomainTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserDomainTargeting";
+
+ /**
+ * @access public
+ * @var string[]
+ */
+ public $domains;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $targeted;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($domains = null, $targeted = null) {
+ $this->domains = $domains;
+ $this->targeted = $targeted;
+ }
+
+ }
+}
+
+if (!class_exists("UserDomainTargetingError", false)) {
+ /**
+ * Lists all errors related to user domain targeting for a line item.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserDomainTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserDomainTargetingError";
+
+ /**
+ * @access public
+ * @var tnsUserDomainTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("VideoPosition", false)) {
+ /**
+ * Represents a targetable position within a video. A video ad can be targeted
+ * to a position (pre-roll, all mid-rolls, or post-roll), or to a specific mid-roll index.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPosition {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPosition";
+
+ /**
+ * @access public
+ * @var tnsVideoPositionType
+ */
+ public $positionType;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $midrollIndex;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($positionType = null, $midrollIndex = null) {
+ $this->positionType = $positionType;
+ $this->midrollIndex = $midrollIndex;
+ }
+
+ }
+}
+
+if (!class_exists("VideoPositionTargeting", false)) {
+ /**
+ * Represents positions within and around a video where ads can be targeted to.
+ *
+ * Example positions could be {@code pre-roll} (before the video plays),
+ * {@code post-roll} (after a video has completed playback) and
+ * {@code mid-roll} (during video playback).
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPositionTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPositionTargeting";
+
+ /**
+ * @access public
+ * @var VideoPositionTarget[]
+ */
+ public $targetedPositions;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedPositions = null) {
+ $this->targetedPositions = $targetedPositions;
+ }
+
+ }
+}
+
+if (!class_exists("VideoPositionWithinPod", false)) {
+ /**
+ * Represents a targetable position within a pod within a video stream. A video ad can be targeted
+ * to any position in the pod (first, second, third ... last). If there is only 1 ad in a pod,
+ * either first or last will target that position.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPositionWithinPod {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPositionWithinPod";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $index;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($index = null) {
+ $this->index = $index;
+ }
+
+ }
+}
+
+if (!class_exists("VideoPositionTarget", false)) {
+ /**
+ * Represents the options for targetable positions within a video.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPositionTarget {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPositionTarget";
+
+ /**
+ * @access public
+ * @var VideoPosition
+ */
+ public $videoPosition;
+
+ /**
+ * @access public
+ * @var tnsVideoBumperType
+ */
+ public $videoBumperType;
+
+ /**
+ * @access public
+ * @var VideoPositionWithinPod
+ */
+ public $videoPositionWithinPod;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($videoPosition = null, $videoBumperType = null, $videoPositionWithinPod = null) {
+ $this->videoPosition = $videoPosition;
+ $this->videoBumperType = $videoBumperType;
+ $this->videoPositionWithinPod = $videoPositionWithinPod;
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitAfcSizeErrorReason", false)) {
+ /**
+ * The supplied Afc size is not valid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitAfcSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnitAfcSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitCodeErrorReason", false)) {
+ /**
+ * For {@link AdUnit#adUnitCode}, only alpha-numeric characters,
+ * underscores, hyphens, periods, asterisks, double quotes, back slashes,
+ * forward slashes, exclamations, left angle brackets, colons and
+ * parentheses are allowed.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitCodeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnitCodeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AudienceExtensionErrorReason", false)) {
+ /**
+ * Specific audience extension error reasons.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceExtensionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceExtensionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CanoeSyncResult", false)) {
+ /**
+ * Represents sync result types between set-top box enabled {@link LineItem line items} and Canoe.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CanoeSyncResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CanoeSyncResult";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ClickTrackingLineItemErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ClickTrackingLineItemErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ClickTrackingLineItemError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CompanionDeliveryOption", false)) {
+ /**
+ * The delivery option for companions. Used for line items whose environmentType is
+ * {@link EnvironmentType#VIDEO_PLAYER}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CompanionDeliveryOption {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CompanionDeliveryOption";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CompanyCreditStatusErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CompanyCreditStatusErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CompanyCreditStatusError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ComputedStatus", false)) {
+ /**
+ * Describes the computed {@link LineItem} status that is derived from the
+ * current state of the line item.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ComputedStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ComputedStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ContentMetadataTargetingErrorReason", false)) {
+ /**
+ * The reasons for the metadata targeting error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentMetadataTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentMetadataTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CostType", false)) {
+ /**
+ * Describes the {@link LineItem} actions that are billable.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CostType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CostType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeRotationType", false)) {
+ /**
+ * The strategy to use for displaying multiple {@link Creative} objects that are
+ * associated with a {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeRotationType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeRotationType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeSizeType", false)) {
+ /**
+ * Descriptions of the types of sizes a creative can be. Not all creatives can
+ * be described by a height-width pair, this provides additional context.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeSizeType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeSizeType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CrossSellErrorReason", false)) {
+ /**
+ * The reason of the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CrossSellErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CrossSellError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaComparisonOperator", false)) {
+ /**
+ * Specifies the available comparison operators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaComparisonOperator {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteria.ComparisonOperator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaSetLogicalOperator", false)) {
+ /**
+ * Specifies the available logical operators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaSetLogicalOperator {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteriaSet.LogicalOperator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValueErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValueErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValueError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AudienceSegmentCriteriaComparisonOperator", false)) {
+ /**
+ * Specifies the available comparison operators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceSegmentCriteriaComparisonOperator {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceSegmentCriteria.ComparisonOperator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeRangeTargetingErrorReason", false)) {
+ /**
+ * {@link ApiErrorReason} enum for date time range targeting error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeRangeTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeRangeTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("DayOfWeek", false)) {
+ /**
+ * Days of the week.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DayOfWeek {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DayOfWeek";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("DayPartTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DayPartTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DayPartTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("DeliveryTimeZone", false)) {
+ /**
+ * Represents the time zone to be used for {@link DayPartTargeting}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeliveryTimeZone {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeliveryTimeZone";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("DeliveryRateType", false)) {
+ /**
+ * Possible delivery rates for a {@link LineItem}, which dictate the manner in
+ * which they are served.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeliveryRateType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeliveryRateType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("EntityChildrenLimitReachedErrorReason", false)) {
+ /**
+ * The reasons for the entity children limit reached error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityChildrenLimitReachedErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityChildrenLimitReachedError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("EnvironmentType", false)) {
+ /**
+ * Enum for the valid environments in which ads can be shown.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EnvironmentType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EnvironmentType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ForecastErrorReason", false)) {
+ /**
+ * Reason why a forecast could not be retrieved.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ForecastErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ForecastError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FrequencyCapErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FrequencyCapErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FrequencyCapError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GenericTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GenericTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GenericTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GeoTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GeoTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GeoTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GoalType", false)) {
+ /**
+ * Specifies the type of the goal for a {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GoalType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GoalType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GrpAge", false)) {
+ /**
+ * The age range associated with a GRP demographic forecast.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GrpAge {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GrpAge";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GrpGender", false)) {
+ /**
+ * The demographic gender associated with a GRP demographic forecast.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GrpGender {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GrpGender";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GrpProvider", false)) {
+ /**
+ * Represents available GRP providers that a line item will have its target demographic measured by.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GrpProvider {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GrpProvider";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GrpSettingsErrorReason", false)) {
+ /**
+ * Reason for GRP settings error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GrpSettingsErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GrpSettingsError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GrpTargetGender", false)) {
+ /**
+ * Represents the target gender for a GRP demographic targeted line item.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GrpTargetGender {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GrpTargetGender";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GrpUnitType", false)) {
+ /**
+ * Type of unit represented in a GRP demographic breakdown.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GrpUnitType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GrpUnitType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ImageErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ImageErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ImageError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InvalidUrlErrorReason", false)) {
+ /**
+ * The URL contains invalid characters.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidUrlErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidUrlError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InventoryTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InventoryUnitErrorReason", false)) {
+ /**
+ * Possible reasons for the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryUnitErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryUnitError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LabelEntityAssociationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelEntityAssociationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelEntityAssociationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemActivityAssociationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemActivityAssociationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemActivityAssociationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemCreativeAssociationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemCreativeAssociationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemCreativeAssociationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemDiscountType", false)) {
+ /**
+ * Describes the possible discount types on the cost of booking a
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemDiscountType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemDiscountType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemFlightDateErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemFlightDateErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemFlightDateError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemOperationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemOperationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemOperationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemSummaryReservationStatus", false)) {
+ /**
+ * Specifies the reservation status of the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemSummaryReservationStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemSummary.ReservationStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemType", false)) {
+ /**
+ * {@code LineItemType} indicates the priority of a {@link LineItem}, determined
+ * by the way in which impressions are reserved to be served for it.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("MinuteOfHour", false)) {
+ /**
+ * Minutes in an hour. Currently, only 0, 15, 30, and 45 are supported. This
+ * field is required.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MinuteOfHour {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MinuteOfHour";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NullErrorReason", false)) {
+ /**
+ * The reasons for the validation error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("OrderErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OrderErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OrderError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ParseErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativePersistenceType", false)) {
+ /**
+ * Specifies options to prevent ads from replacing or appearing with this
+ * line item. If persistence is set, this line item's ads will not be
+ * replaced over time, whether through AJAX or other means, such as
+ * companions of video ads.
+ * Additionally, if set to exclude none, other ads can be shown in any
+ * slots not being used by this line item. If set to exclude display ads,
+ * video ads can be shown, but no other display ads can be shown, even
+ * in slots that aren't used by this line item. If set to exclude video ads,
+ * video ads cannot be shown, but other display ads can be shown in unused
+ * slots. If set to exclude all ads, no other ads can be shown until the
+ * page is changed.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativePersistenceType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativePersistenceType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProgrammaticErrorReason", false)) {
+ /**
+ * Audience extension is not supported by programmatic line items.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProgrammaticErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProgrammaticError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RangeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RegExErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RegExErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RegExError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionErrorReason", false)) {
+ /**
+ * A required collection is missing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberErrorReason", false)) {
+ /**
+ * Describes reasons for a number to be invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredSizeErrorReason", false)) {
+ /**
+ * {@link Creative#size} or {@link LineItem#creativeSizes} is
+ * missing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ReservationDetailsErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReservationDetailsErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReservationDetailsError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RoadblockingType", false)) {
+ /**
+ * Describes the roadblocking types.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RoadblockingType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RoadblockingType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AudienceSegmentErrorReason", false)) {
+ /**
+ * Reason of the given {@link AudienceSegmentError}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceSegmentErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceSegmentError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("SetTopBoxLineItemErrorReason", false)) {
+ /**
+ * Reason for set-top box error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetTopBoxLineItemErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetTopBoxLineItemError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("SetTopBoxSyncStatus", false)) {
+ class SetTopBoxSyncStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetTopBoxSyncStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StartDateTimeType", false)) {
+ /**
+ * Specifies the start type to use for an entity with a start date time field.
+ * For example, a {@link LineItem} or {@link LineItemCreativeAssociation}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StartDateTimeType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StartDateTimeType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TargetPlatform", false)) {
+ /**
+ * Indicates the target platform.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TargetPlatform {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TargetPlatform";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TargetingDimension", false)) {
+ /**
+ * Targeting dimension of targeting breakdowns.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TargetingDimension {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TargetingDimension";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TeamErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TeamErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TeamError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TechnologyTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TechnologyTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TechnologyTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TimeUnit", false)) {
+ /**
+ * Represent the possible time units for frequency capping.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TimeUnit {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TimeUnit";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TimeZoneErrorReason", false)) {
+ /**
+ * Describes reasons for invalid timezone.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TimeZoneErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TimeZoneError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("UnitType", false)) {
+ /**
+ * Indicates the type of unit used for defining a reservation. The
+ * {@link CostType} can differ from the {@link UnitType} - an
+ * ad can have an impression goal, but be billed by its click. Usually
+ * {@link CostType} and {@link UnitType} will refer to the
+ * same unit.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UnitType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UnitType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("UserDomainTargetingErrorReason", false)) {
+ /**
+ * {@link ApiErrorReason} enum for user domain targeting error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserDomainTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserDomainTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("VideoBumperType", false)) {
+ /**
+ * Represents the options for targetable bumper positions, surrounding an ad
+ * pod, within a video stream. This includes before and after the supported ad
+ * pod positions, {@link VideoPositionType#PREROLL},
+ * {@link VideoPositionType#MIDROLL}, and {@link VideoPositionType#POSTROLL}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoBumperType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoBumperType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("VideoPositionType", false)) {
+ /**
+ * Represents a targetable position within a video.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPositionType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPosition.Type";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GetAvailabilityForecast", false)) {
+ /**
+ * Gets the availability forecast for a {@link ProspectiveLineItem}. An availability forecast
+ * reports the maximum number of available units that the line item can book, and the total
+ * number of units matching the line item's targeting.
+ *
+ * Note: Beginning in v201502, this replaces the previous getForecast method.
+ *
+ * @param lineItem the prospective line item (new or existing) to be forecasted for availability
+ * @param forecastOptions options controlling the forecast
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetAvailabilityForecast {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProspectiveLineItem
+ */
+ public $lineItem;
+
+ /**
+ * @access public
+ * @var AvailabilityForecastOptions
+ */
+ public $forecastOptions;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($lineItem = null, $forecastOptions = null) {
+ $this->lineItem = $lineItem;
+ $this->forecastOptions = $forecastOptions;
+ }
+
+ }
+}
+
+if (!class_exists("GetAvailabilityForecastResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetAvailabilityForecastResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var AvailabilityForecast
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetAvailabilityForecastById", false)) {
+ /**
+ * Gets an {@link AvailabilityForecast} for an existing {@link LineItem} object.
+ * An availability forecast reports the maximum number of available units that the line item can
+ * be booked with, and also the total number of units matching the line item's targeting.
+ *
+ * Only line items having type {@link LineItemType#SPONSORSHIP} or
+ * {@link LineItemType#STANDARD} are valid. Other types will result in
+ * {@link ReservationDetailsError.Reason#LINE_ITEM_TYPE_NOT_ALLOWED}.
+ *
+ * Note: Beginning in v201502, this replaces the previous getForecastById method.
+ *
+ * @param lineItemId the ID of a {@link LineItem} to run the forecast on.
+ * @param forecastOptions options controlling the forecast
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetAvailabilityForecastById {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $lineItemId;
+
+ /**
+ * @access public
+ * @var AvailabilityForecastOptions
+ */
+ public $forecastOptions;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($lineItemId = null, $forecastOptions = null) {
+ $this->lineItemId = $lineItemId;
+ $this->forecastOptions = $forecastOptions;
+ }
+
+ }
+}
+
+if (!class_exists("GetAvailabilityForecastByIdResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetAvailabilityForecastByIdResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var AvailabilityForecast
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetDeliveryForecast", false)) {
+ /**
+ * Gets the delivery forecast for a list of {@link ProspectiveLineItem} objects in a single
+ * delivery simulation with line items potentially contending with each other. A delivery
+ * forecast reports the number of units that will be delivered to each line item given the line
+ * item goals and contentions from other line items.
+ *
+ * @param lineItems line items to be forecasted for delivery
+ * @param forecastOptions options controlling the forecast
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetDeliveryForecast {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProspectiveLineItem[]
+ */
+ public $lineItems;
+
+ /**
+ * @access public
+ * @var DeliveryForecastOptions
+ */
+ public $forecastOptions;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($lineItems = null, $forecastOptions = null) {
+ $this->lineItems = $lineItems;
+ $this->forecastOptions = $forecastOptions;
+ }
+
+ }
+}
+
+if (!class_exists("GetDeliveryForecastResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetDeliveryForecastResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var DeliveryForecast
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetDeliveryForecastByIds", false)) {
+ /**
+ * Gets the delivery forecast for a list of existing {@link LineItem} objects in a single
+ * delivery simulation with line items potentially contending with each other. A delivery
+ * forecast reports the number of units that will be delivered to each line item given the line
+ * item goals and contentions from other line items.
+ *
+ * @param lineItemIds the IDs of line items to be forecasted for delivery
+ * @param forecastOptions options controlling the forecast
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetDeliveryForecastByIds {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $lineItemIds;
+
+ /**
+ * @access public
+ * @var DeliveryForecastOptions
+ */
+ public $forecastOptions;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($lineItemIds = null, $forecastOptions = null) {
+ $this->lineItemIds = $lineItemIds;
+ $this->forecastOptions = $forecastOptions;
+ }
+
+ }
+}
+
+if (!class_exists("GetDeliveryForecastByIdsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetDeliveryForecastByIdsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var DeliveryForecast
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitAfcSizeError", false)) {
+ /**
+ * Caused by supplying sizes that are not compatible with the Afc sizes.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitAfcSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnitAfcSizeError";
+
+ /**
+ * @access public
+ * @var tnsAdUnitAfcSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitCodeError", false)) {
+ /**
+ * Lists the generic errors associated with {@link AdUnit#adUnitCode}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitCodeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnitCodeError";
+
+ /**
+ * @access public
+ * @var tnsAdUnitCodeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("BandwidthGroup", false)) {
+ /**
+ * Represents a group of bandwidths that are logically organized by some well
+ * known generic names such as 'Cable' or 'DSL'.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BandwidthGroup extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BandwidthGroup";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("Browser", false)) {
+ /**
+ * Represents an internet browser.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Browser extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Browser";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $majorVersion;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $minorVersion;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($majorVersion = null, $minorVersion = null, $id = null, $name = null) {
+ parent::__construct();
+ $this->majorVersion = $majorVersion;
+ $this->minorVersion = $minorVersion;
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("BrowserLanguage", false)) {
+ /**
+ * Represents a Browser's language.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BrowserLanguage extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BrowserLanguage";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaSet", false)) {
+ /**
+ * A {@link CustomCriteriaSet} comprises of a set of {@link CustomCriteriaNode}
+ * objects combined by the
+ * {@link CustomCriteriaSet.LogicalOperator#logicalOperator}. The custom
+ * criteria targeting tree is subject to the rules defined on
+ * {@link Targeting#customTargeting}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaSet extends CustomCriteriaNode {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteriaSet";
+
+ /**
+ * @access public
+ * @var tnsCustomCriteriaSetLogicalOperator
+ */
+ public $logicalOperator;
+
+ /**
+ * @access public
+ * @var CustomCriteriaNode[]
+ */
+ public $children;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($logicalOperator = null, $children = null) {
+ parent::__construct();
+ $this->logicalOperator = $logicalOperator;
+ $this->children = $children;
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaLeaf", false)) {
+ /**
+ * A {@link CustomCriteriaLeaf} object represents a generic leaf of {@link CustomCriteria} tree
+ * structure.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaLeaf extends CustomCriteriaNode {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteriaLeaf";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("AudienceSegmentCriteria", false)) {
+ /**
+ * An {@link AudienceSegmentCriteria} object is used to target {@link AudienceSegment} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceSegmentCriteria extends CustomCriteriaLeaf {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceSegmentCriteria";
+
+ /**
+ * @access public
+ * @var tnsAudienceSegmentCriteriaComparisonOperator
+ */
+ public $operator;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $audienceSegmentIds;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($operator = null, $audienceSegmentIds = null) {
+ parent::__construct();
+ $this->operator = $operator;
+ $this->audienceSegmentIds = $audienceSegmentIds;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceCapability", false)) {
+ /**
+ * Represents a capability of a physical device.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceCapability extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceCapability";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceCategory", false)) {
+ /**
+ * Represents the category of a device.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceCategory extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceCategory";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceManufacturer", false)) {
+ /**
+ * Represents a mobile device's manufacturer.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceManufacturer extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceManufacturer";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("LineItem", false)) {
+ /**
+ * {@code LineItem} is an advertiser's commitment to purchase a specific number
+ * of ad impressions, clicks, or time.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItem extends LineItemSummary {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItem";
+
+ /**
+ * @access public
+ * @var Targeting
+ */
+ public $targeting;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targeting = null, $orderId = null, $id = null, $name = null, $externalId = null, $orderName = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $autoExtensionDays = null, $unlimitedEndDateTime = null, $creativeRotationType = null, $deliveryRateType = null, $roadblockingType = null, $frequencyCaps = null, $lineItemType = null, $priority = null, $costPerUnit = null, $valueCostPerUnit = null, $costType = null, $discountType = null, $discount = null, $contractedUnitsBought = null, $creativePlaceholders = null, $activityAssociations = null, $targetPlatform = null, $environmentType = null, $companionDeliveryOption = null, $creativePersistenceType = null, $allowOverbook = null, $skipInventoryCheck = null, $skipCrossSellingRuleWarningChecks = null, $reserveAtCreation = null, $stats = null, $deliveryIndicator = null, $deliveryData = null, $budget = null, $status = null, $reservationStatus = null, $isArchived = null, $webPropertyCode = null, $appliedLabels = null, $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $lastModifiedByApp = null, $notes = null, $lastModifiedDateTime = null, $creationDateTime = null, $isPrioritizedPreferredDealsEnabled = null, $adExchangeAuctionOpeningPriority = null, $customFieldValues = null, $isSetTopBoxEnabled = null, $isMissingCreatives = null, $setTopBoxDisplayInfo = null, $primaryGoal = null, $secondaryGoals = null, $grpSettings = null) {
+ parent::__construct();
+ $this->targeting = $targeting;
+ $this->orderId = $orderId;
+ $this->id = $id;
+ $this->name = $name;
+ $this->externalId = $externalId;
+ $this->orderName = $orderName;
+ $this->startDateTime = $startDateTime;
+ $this->startDateTimeType = $startDateTimeType;
+ $this->endDateTime = $endDateTime;
+ $this->autoExtensionDays = $autoExtensionDays;
+ $this->unlimitedEndDateTime = $unlimitedEndDateTime;
+ $this->creativeRotationType = $creativeRotationType;
+ $this->deliveryRateType = $deliveryRateType;
+ $this->roadblockingType = $roadblockingType;
+ $this->frequencyCaps = $frequencyCaps;
+ $this->lineItemType = $lineItemType;
+ $this->priority = $priority;
+ $this->costPerUnit = $costPerUnit;
+ $this->valueCostPerUnit = $valueCostPerUnit;
+ $this->costType = $costType;
+ $this->discountType = $discountType;
+ $this->discount = $discount;
+ $this->contractedUnitsBought = $contractedUnitsBought;
+ $this->creativePlaceholders = $creativePlaceholders;
+ $this->activityAssociations = $activityAssociations;
+ $this->targetPlatform = $targetPlatform;
+ $this->environmentType = $environmentType;
+ $this->companionDeliveryOption = $companionDeliveryOption;
+ $this->creativePersistenceType = $creativePersistenceType;
+ $this->allowOverbook = $allowOverbook;
+ $this->skipInventoryCheck = $skipInventoryCheck;
+ $this->skipCrossSellingRuleWarningChecks = $skipCrossSellingRuleWarningChecks;
+ $this->reserveAtCreation = $reserveAtCreation;
+ $this->stats = $stats;
+ $this->deliveryIndicator = $deliveryIndicator;
+ $this->deliveryData = $deliveryData;
+ $this->budget = $budget;
+ $this->status = $status;
+ $this->reservationStatus = $reservationStatus;
+ $this->isArchived = $isArchived;
+ $this->webPropertyCode = $webPropertyCode;
+ $this->appliedLabels = $appliedLabels;
+ $this->effectiveAppliedLabels = $effectiveAppliedLabels;
+ $this->disableSameAdvertiserCompetitiveExclusion = $disableSameAdvertiserCompetitiveExclusion;
+ $this->lastModifiedByApp = $lastModifiedByApp;
+ $this->notes = $notes;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ $this->creationDateTime = $creationDateTime;
+ $this->isPrioritizedPreferredDealsEnabled = $isPrioritizedPreferredDealsEnabled;
+ $this->adExchangeAuctionOpeningPriority = $adExchangeAuctionOpeningPriority;
+ $this->customFieldValues = $customFieldValues;
+ $this->isSetTopBoxEnabled = $isSetTopBoxEnabled;
+ $this->isMissingCreatives = $isMissingCreatives;
+ $this->setTopBoxDisplayInfo = $setTopBoxDisplayInfo;
+ $this->primaryGoal = $primaryGoal;
+ $this->secondaryGoals = $secondaryGoals;
+ $this->grpSettings = $grpSettings;
+ }
+
+ }
+}
+
+if (!class_exists("MobileCarrier", false)) {
+ /**
+ * Represents a mobile carrier.
+ * Carrier targeting is only available to DFP mobile publishers.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileCarrier extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileCarrier";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("MobileDevice", false)) {
+ /**
+ * Represents a Mobile Device.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileDevice extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileDevice";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $manufacturerCriterionId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($manufacturerCriterionId = null, $id = null, $name = null) {
+ parent::__construct();
+ $this->manufacturerCriterionId = $manufacturerCriterionId;
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("MobileDeviceSubmodel", false)) {
+ /**
+ * Represents a mobile device submodel.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileDeviceSubmodel extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileDeviceSubmodel";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $mobileDeviceCriterionId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $deviceManufacturerCriterionId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($mobileDeviceCriterionId = null, $deviceManufacturerCriterionId = null, $id = null, $name = null) {
+ parent::__construct();
+ $this->mobileDeviceCriterionId = $mobileDeviceCriterionId;
+ $this->deviceManufacturerCriterionId = $deviceManufacturerCriterionId;
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("OperatingSystem", false)) {
+ /**
+ * Represents an Operating System, such as Linux, Mac OS or Windows.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OperatingSystem extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OperatingSystem";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("OperatingSystemVersion", false)) {
+ /**
+ * Represents a specific version of an operating system.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OperatingSystemVersion extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OperatingSystemVersion";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $majorVersion;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minorVersion;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $microVersion;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($majorVersion = null, $minorVersion = null, $microVersion = null, $id = null, $name = null) {
+ parent::__construct();
+ $this->majorVersion = $majorVersion;
+ $this->minorVersion = $minorVersion;
+ $this->microVersion = $microVersion;
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteria", false)) {
+ /**
+ * A {@link CustomCriteria} object is used to perform custom criteria targeting
+ * on custom targeting keys of type {@link CustomTargetingKey.Type#PREDEFINED}
+ * or {@link CustomTargetingKey.Type#FREEFORM}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteria extends CustomCriteriaLeaf {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteria";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $keyId;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $valueIds;
+
+ /**
+ * @access public
+ * @var tnsCustomCriteriaComparisonOperator
+ */
+ public $operator;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($keyId = null, $valueIds = null, $operator = null) {
+ parent::__construct();
+ $this->keyId = $keyId;
+ $this->valueIds = $valueIds;
+ $this->operator = $operator;
+ }
+
+ }
+}
+
+if (!class_exists("ForecastService", false)) {
+ /**
+ * ForecastService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ForecastService extends DfpSoapClient {
+
+ const SERVICE_NAME = "ForecastService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/ForecastService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/ForecastService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "AdUnitAfcSizeError" => "AdUnitAfcSizeError",
+ "AdUnitCodeError" => "AdUnitCodeError",
+ "AdUnitTargeting" => "AdUnitTargeting",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "TechnologyTargeting" => "TechnologyTargeting",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AppliedLabel" => "AppliedLabel",
+ "AudienceExtensionError" => "AudienceExtensionError",
+ "AuthenticationError" => "AuthenticationError",
+ "AvailabilityForecast" => "AvailabilityForecast",
+ "AvailabilityForecastOptions" => "AvailabilityForecastOptions",
+ "BandwidthGroup" => "BandwidthGroup",
+ "BandwidthGroupTargeting" => "BandwidthGroupTargeting",
+ "BaseCustomFieldValue" => "BaseCustomFieldValue",
+ "BooleanValue" => "BooleanValue",
+ "Browser" => "Browser",
+ "BrowserLanguage" => "BrowserLanguage",
+ "BrowserLanguageTargeting" => "BrowserLanguageTargeting",
+ "BrowserTargeting" => "BrowserTargeting",
+ "ClickTrackingLineItemError" => "ClickTrackingLineItemError",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "CompanyCreditStatusError" => "CompanyCreditStatusError",
+ "ContendingLineItem" => "ContendingLineItem",
+ "ContentMetadataKeyHierarchyTargeting" => "ContentMetadataKeyHierarchyTargeting",
+ "ContentMetadataTargetingError" => "ContentMetadataTargetingError",
+ "ContentTargeting" => "ContentTargeting",
+ "CreativeError" => "CreativeError",
+ "CreativePlaceholder" => "CreativePlaceholder",
+ "CrossSellError" => "CrossSellError",
+ "CustomCriteria" => "CustomCriteria",
+ "CustomCriteriaSet" => "CustomCriteriaSet",
+ "CustomFieldValue" => "CustomFieldValue",
+ "CustomFieldValueError" => "CustomFieldValueError",
+ "CustomTargetingError" => "CustomTargetingError",
+ "CustomCriteriaLeaf" => "CustomCriteriaLeaf",
+ "CustomCriteriaNode" => "CustomCriteriaNode",
+ "AudienceSegmentCriteria" => "AudienceSegmentCriteria",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeRangeTargetingError" => "DateTimeRangeTargetingError",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "DayPart" => "DayPart",
+ "DayPartTargeting" => "DayPartTargeting",
+ "DayPartTargetingError" => "DayPartTargetingError",
+ "DeliveryData" => "DeliveryData",
+ "DeliveryForecastOptions" => "DeliveryForecastOptions",
+ "DeliveryForecast" => "DeliveryForecast",
+ "DeliveryIndicator" => "DeliveryIndicator",
+ "DeviceCapability" => "DeviceCapability",
+ "DeviceCapabilityTargeting" => "DeviceCapabilityTargeting",
+ "DeviceCategory" => "DeviceCategory",
+ "DeviceCategoryTargeting" => "DeviceCategoryTargeting",
+ "DeviceManufacturer" => "DeviceManufacturer",
+ "DeviceManufacturerTargeting" => "DeviceManufacturerTargeting",
+ "DropDownCustomFieldValue" => "DropDownCustomFieldValue",
+ "EntityChildrenLimitReachedError" => "EntityChildrenLimitReachedError",
+ "EntityLimitReachedError" => "EntityLimitReachedError",
+ "FeatureError" => "FeatureError",
+ "ForecastError" => "ForecastError",
+ "FrequencyCap" => "FrequencyCap",
+ "FrequencyCapError" => "FrequencyCapError",
+ "GenericTargetingError" => "GenericTargetingError",
+ "GeoTargeting" => "GeoTargeting",
+ "GeoTargetingError" => "GeoTargetingError",
+ "Goal" => "Goal",
+ "GrpDemographicBreakdown" => "GrpDemographicBreakdown",
+ "GrpSettings" => "GrpSettings",
+ "GrpSettingsError" => "GrpSettingsError",
+ "ImageError" => "ImageError",
+ "InternalApiError" => "InternalApiError",
+ "InvalidUrlError" => "InvalidUrlError",
+ "InventoryTargeting" => "InventoryTargeting",
+ "InventoryTargetingError" => "InventoryTargetingError",
+ "InventoryUnitError" => "InventoryUnitError",
+ "LabelEntityAssociationError" => "LabelEntityAssociationError",
+ "LineItemActivityAssociationError" => "LineItemActivityAssociationError",
+ "LineItemActivityAssociation" => "LineItemActivityAssociation",
+ "LineItemCreativeAssociationError" => "LineItemCreativeAssociationError",
+ "LineItemDeliveryForecast" => "LineItemDeliveryForecast",
+ "LineItem" => "LineItem",
+ "LineItemError" => "LineItemError",
+ "LineItemFlightDateError" => "LineItemFlightDateError",
+ "LineItemOperationError" => "LineItemOperationError",
+ "LineItemSummary" => "LineItemSummary",
+ "Location" => "DfpLocation",
+ "MobileCarrier" => "MobileCarrier",
+ "MobileCarrierTargeting" => "MobileCarrierTargeting",
+ "MobileDevice" => "MobileDevice",
+ "MobileDeviceSubmodel" => "MobileDeviceSubmodel",
+ "MobileDeviceSubmodelTargeting" => "MobileDeviceSubmodelTargeting",
+ "MobileDeviceTargeting" => "MobileDeviceTargeting",
+ "Money" => "Money",
+ "NotNullError" => "NotNullError",
+ "NullError" => "NullError",
+ "NumberValue" => "NumberValue",
+ "OperatingSystem" => "OperatingSystem",
+ "OperatingSystemTargeting" => "OperatingSystemTargeting",
+ "OperatingSystemVersion" => "OperatingSystemVersion",
+ "OperatingSystemVersionTargeting" => "OperatingSystemVersionTargeting",
+ "OrderError" => "OrderError",
+ "ParseError" => "ParseError",
+ "PermissionError" => "PermissionError",
+ "ProgrammaticError" => "ProgrammaticError",
+ "ProspectiveLineItem" => "ProspectiveLineItem",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RangeError" => "RangeError",
+ "RegExError" => "RegExError",
+ "RequiredCollectionError" => "RequiredCollectionError",
+ "RequiredError" => "RequiredError",
+ "RequiredNumberError" => "RequiredNumberError",
+ "RequiredSizeError" => "RequiredSizeError",
+ "ReservationDetailsError" => "ReservationDetailsError",
+ "AudienceSegmentError" => "AudienceSegmentError",
+ "ServerError" => "ServerError",
+ "SetTopBoxInfo" => "SetTopBoxInfo",
+ "SetTopBoxLineItemError" => "SetTopBoxLineItemError",
+ "SetValue" => "SetValue",
+ "Size" => "Size",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "StatementError" => "StatementError",
+ "Stats" => "Stats",
+ "StringLengthError" => "StringLengthError",
+ "TargetingCriteriaBreakdown" => "TargetingCriteriaBreakdown",
+ "Targeting" => "Targeting",
+ "TeamError" => "TeamError",
+ "Technology" => "Technology",
+ "TechnologyTargetingError" => "TechnologyTargetingError",
+ "TextValue" => "TextValue",
+ "TimeOfDay" => "TimeOfDay",
+ "TimeZoneError" => "TimeZoneError",
+ "TypeError" => "TypeError",
+ "UniqueError" => "UniqueError",
+ "UserDomainTargeting" => "UserDomainTargeting",
+ "UserDomainTargetingError" => "UserDomainTargetingError",
+ "Value" => "Value",
+ "VideoPosition" => "VideoPosition",
+ "VideoPositionTargeting" => "VideoPositionTargeting",
+ "VideoPositionWithinPod" => "VideoPositionWithinPod",
+ "VideoPositionTarget" => "VideoPositionTarget",
+ "AdUnitAfcSizeError.Reason" => "AdUnitAfcSizeErrorReason",
+ "AdUnitCodeError.Reason" => "AdUnitCodeErrorReason",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AudienceExtensionError.Reason" => "AudienceExtensionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CanoeSyncResult" => "CanoeSyncResult",
+ "ClickTrackingLineItemError.Reason" => "ClickTrackingLineItemErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "CompanionDeliveryOption" => "CompanionDeliveryOption",
+ "CompanyCreditStatusError.Reason" => "CompanyCreditStatusErrorReason",
+ "ComputedStatus" => "ComputedStatus",
+ "ContentMetadataTargetingError.Reason" => "ContentMetadataTargetingErrorReason",
+ "CostType" => "CostType",
+ "CreativeError.Reason" => "CreativeErrorReason",
+ "CreativeRotationType" => "CreativeRotationType",
+ "CreativeSizeType" => "CreativeSizeType",
+ "CrossSellError.Reason" => "CrossSellErrorReason",
+ "CustomCriteria.ComparisonOperator" => "CustomCriteriaComparisonOperator",
+ "CustomCriteriaSet.LogicalOperator" => "CustomCriteriaSetLogicalOperator",
+ "CustomFieldValueError.Reason" => "CustomFieldValueErrorReason",
+ "CustomTargetingError.Reason" => "CustomTargetingErrorReason",
+ "AudienceSegmentCriteria.ComparisonOperator" => "AudienceSegmentCriteriaComparisonOperator",
+ "DateTimeRangeTargetingError.Reason" => "DateTimeRangeTargetingErrorReason",
+ "DayOfWeek" => "DayOfWeek",
+ "DayPartTargetingError.Reason" => "DayPartTargetingErrorReason",
+ "DeliveryTimeZone" => "DeliveryTimeZone",
+ "DeliveryRateType" => "DeliveryRateType",
+ "EntityChildrenLimitReachedError.Reason" => "EntityChildrenLimitReachedErrorReason",
+ "EnvironmentType" => "EnvironmentType",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "ForecastError.Reason" => "ForecastErrorReason",
+ "FrequencyCapError.Reason" => "FrequencyCapErrorReason",
+ "GenericTargetingError.Reason" => "GenericTargetingErrorReason",
+ "GeoTargetingError.Reason" => "GeoTargetingErrorReason",
+ "GoalType" => "GoalType",
+ "GrpAge" => "GrpAge",
+ "GrpGender" => "GrpGender",
+ "GrpProvider" => "GrpProvider",
+ "GrpSettingsError.Reason" => "GrpSettingsErrorReason",
+ "GrpTargetGender" => "GrpTargetGender",
+ "GrpUnitType" => "GrpUnitType",
+ "ImageError.Reason" => "ImageErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "InvalidUrlError.Reason" => "InvalidUrlErrorReason",
+ "InventoryTargetingError.Reason" => "InventoryTargetingErrorReason",
+ "InventoryUnitError.Reason" => "InventoryUnitErrorReason",
+ "LabelEntityAssociationError.Reason" => "LabelEntityAssociationErrorReason",
+ "LineItemActivityAssociationError.Reason" => "LineItemActivityAssociationErrorReason",
+ "LineItemCreativeAssociationError.Reason" => "LineItemCreativeAssociationErrorReason",
+ "LineItemDiscountType" => "LineItemDiscountType",
+ "LineItemError.Reason" => "LineItemErrorReason",
+ "LineItemFlightDateError.Reason" => "LineItemFlightDateErrorReason",
+ "LineItemOperationError.Reason" => "LineItemOperationErrorReason",
+ "LineItemSummary.ReservationStatus" => "LineItemSummaryReservationStatus",
+ "LineItemType" => "LineItemType",
+ "MinuteOfHour" => "MinuteOfHour",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "NullError.Reason" => "NullErrorReason",
+ "OrderError.Reason" => "OrderErrorReason",
+ "ParseError.Reason" => "ParseErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "CreativePersistenceType" => "CreativePersistenceType",
+ "ProgrammaticError.Reason" => "ProgrammaticErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RangeError.Reason" => "RangeErrorReason",
+ "RegExError.Reason" => "RegExErrorReason",
+ "RequiredCollectionError.Reason" => "RequiredCollectionErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "RequiredNumberError.Reason" => "RequiredNumberErrorReason",
+ "RequiredSizeError.Reason" => "RequiredSizeErrorReason",
+ "ReservationDetailsError.Reason" => "ReservationDetailsErrorReason",
+ "RoadblockingType" => "RoadblockingType",
+ "AudienceSegmentError.Reason" => "AudienceSegmentErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "SetTopBoxLineItemError.Reason" => "SetTopBoxLineItemErrorReason",
+ "SetTopBoxSyncStatus" => "SetTopBoxSyncStatus",
+ "StartDateTimeType" => "StartDateTimeType",
+ "StatementError.Reason" => "StatementErrorReason",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "TargetPlatform" => "TargetPlatform",
+ "TargetingDimension" => "TargetingDimension",
+ "TeamError.Reason" => "TeamErrorReason",
+ "TechnologyTargetingError.Reason" => "TechnologyTargetingErrorReason",
+ "TimeUnit" => "TimeUnit",
+ "TimeZoneError.Reason" => "TimeZoneErrorReason",
+ "UnitType" => "UnitType",
+ "UserDomainTargetingError.Reason" => "UserDomainTargetingErrorReason",
+ "VideoBumperType" => "VideoBumperType",
+ "VideoPosition.Type" => "VideoPositionType",
+ "getAvailabilityForecast" => "GetAvailabilityForecast",
+ "getAvailabilityForecastResponse" => "GetAvailabilityForecastResponse",
+ "getAvailabilityForecastById" => "GetAvailabilityForecastById",
+ "getAvailabilityForecastByIdResponse" => "GetAvailabilityForecastByIdResponse",
+ "getDeliveryForecast" => "GetDeliveryForecast",
+ "getDeliveryForecastResponse" => "GetDeliveryForecastResponse",
+ "getDeliveryForecastByIds" => "GetDeliveryForecastByIds",
+ "getDeliveryForecastByIdsResponse" => "GetDeliveryForecastByIdsResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Gets the availability forecast for a {@link ProspectiveLineItem}. An availability forecast
+ * reports the maximum number of available units that the line item can book, and the total
+ * number of units matching the line item's targeting.
+ *
+ * Note: Beginning in v201502, this replaces the previous getForecast method.
+ *
+ * @param lineItem the prospective line item (new or existing) to be forecasted for availability
+ * @param forecastOptions options controlling the forecast
+ */
+ public function getAvailabilityForecast($lineItem, $forecastOptions) {
+ $args = new GetAvailabilityForecast($lineItem, $forecastOptions);
+ $result = $this->__soapCall("getAvailabilityForecast", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets an {@link AvailabilityForecast} for an existing {@link LineItem} object.
+ * An availability forecast reports the maximum number of available units that the line item can
+ * be booked with, and also the total number of units matching the line item's targeting.
+ *
+ * Only line items having type {@link LineItemType#SPONSORSHIP} or
+ * {@link LineItemType#STANDARD} are valid. Other types will result in
+ * {@link ReservationDetailsError.Reason#LINE_ITEM_TYPE_NOT_ALLOWED}.
+ *
+ * Note: Beginning in v201502, this replaces the previous getForecastById method.
+ *
+ * @param lineItemId the ID of a {@link LineItem} to run the forecast on.
+ * @param forecastOptions options controlling the forecast
+ */
+ public function getAvailabilityForecastById($lineItemId, $forecastOptions) {
+ $args = new GetAvailabilityForecastById($lineItemId, $forecastOptions);
+ $result = $this->__soapCall("getAvailabilityForecastById", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets the delivery forecast for a list of {@link ProspectiveLineItem} objects in a single
+ * delivery simulation with line items potentially contending with each other. A delivery
+ * forecast reports the number of units that will be delivered to each line item given the line
+ * item goals and contentions from other line items.
+ *
+ * @param lineItems line items to be forecasted for delivery
+ * @param forecastOptions options controlling the forecast
+ */
+ public function getDeliveryForecast($lineItems, $forecastOptions) {
+ $args = new GetDeliveryForecast($lineItems, $forecastOptions);
+ $result = $this->__soapCall("getDeliveryForecast", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets the delivery forecast for a list of existing {@link LineItem} objects in a single
+ * delivery simulation with line items potentially contending with each other. A delivery
+ * forecast reports the number of units that will be delivered to each line item given the line
+ * item goals and contentions from other line items.
+ *
+ * @param lineItemIds the IDs of line items to be forecasted for delivery
+ * @param forecastOptions options controlling the forecast
+ */
+ public function getDeliveryForecastByIds($lineItemIds, $forecastOptions) {
+ $args = new GetDeliveryForecastByIds($lineItemIds, $forecastOptions);
+ $result = $this->__soapCall("getDeliveryForecastByIds", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/InventoryService.php b/src/Google/Api/Ads/Dfp/v201505/InventoryService.php
new file mode 100755
index 000000000..3c52afc32
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/InventoryService.php
@@ -0,0 +1,5815 @@
+adSenseEnabled = $adSenseEnabled;
+ $this->borderColor = $borderColor;
+ $this->titleColor = $titleColor;
+ $this->backgroundColor = $backgroundColor;
+ $this->textColor = $textColor;
+ $this->urlColor = $urlColor;
+ $this->adType = $adType;
+ $this->borderStyle = $borderStyle;
+ $this->fontFamily = $fontFamily;
+ $this->fontSize = $fontSize;
+ $this->afcFormats = $afcFormats;
+ }
+
+ }
+}
+
+if (!class_exists("AdSenseSettingsInheritedProperty", false)) {
+ /**
+ * The property of the AdUnit that specifies how and from where the
+ * AdSenseSettings are inherited.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdSenseSettingsInheritedProperty {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdSenseSettingsInheritedProperty";
+
+ /**
+ * @access public
+ * @var AdSenseSettings
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitAction", false)) {
+ /**
+ * Represents the actions that can be performed on {@link AdUnit} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnitAction";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AdUnit", false)) {
+ /**
+ * An {@code AdUnit} represents a chunk of identified inventory for the
+ * publisher. It contains all the settings that need to be associated with
+ * inventory in order to serve ads to it. An {@code AdUnit} can also be the
+ * parent of other ad units in the inventory hierarchy.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnit {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnit";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $parentId;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $hasChildren;
+
+ /**
+ * @access public
+ * @var AdUnitParent[]
+ */
+ public $parentPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $description;
+
+ /**
+ * @access public
+ * @var tnsAdUnitTargetWindow
+ */
+ public $targetWindow;
+
+ /**
+ * @access public
+ * @var tnsInventoryStatus
+ */
+ public $status;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $adUnitCode;
+
+ /**
+ * @access public
+ * @var AdUnitSize[]
+ */
+ public $adUnitSizes;
+
+ /**
+ * @access public
+ * @var tnsTargetPlatform
+ */
+ public $targetPlatform;
+
+ /**
+ * @access public
+ * @var tnsMobilePlatform
+ */
+ public $mobilePlatform;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $explicitlyTargeted;
+
+ /**
+ * @access public
+ * @var AdSenseSettingsInheritedProperty
+ */
+ public $inheritedAdSenseSettings;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $partnerId;
+
+ /**
+ * @access public
+ * @var LabelFrequencyCap[]
+ */
+ public $appliedLabelFrequencyCaps;
+
+ /**
+ * @access public
+ * @var LabelFrequencyCap[]
+ */
+ public $effectiveLabelFrequencyCaps;
+
+ /**
+ * @access public
+ * @var AppliedLabel[]
+ */
+ public $appliedLabels;
+
+ /**
+ * @access public
+ * @var AppliedLabel[]
+ */
+ public $effectiveAppliedLabels;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $effectiveTeamIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $appliedTeamIds;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $lastModifiedDateTime;
+
+ /**
+ * @access public
+ * @var tnsSmartSizeMode
+ */
+ public $smartSizeMode;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $refreshRate;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isSharedByDistributor;
+
+ /**
+ * @access public
+ * @var CrossSellingDistributor
+ */
+ public $crossSellingDistributor;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $externalSetTopBoxChannelId;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isSetTopBoxEnabled;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $parentId = null, $hasChildren = null, $parentPath = null, $name = null, $description = null, $targetWindow = null, $status = null, $adUnitCode = null, $adUnitSizes = null, $targetPlatform = null, $mobilePlatform = null, $explicitlyTargeted = null, $inheritedAdSenseSettings = null, $partnerId = null, $appliedLabelFrequencyCaps = null, $effectiveLabelFrequencyCaps = null, $appliedLabels = null, $effectiveAppliedLabels = null, $effectiveTeamIds = null, $appliedTeamIds = null, $lastModifiedDateTime = null, $smartSizeMode = null, $refreshRate = null, $isSharedByDistributor = null, $crossSellingDistributor = null, $externalSetTopBoxChannelId = null, $isSetTopBoxEnabled = null) {
+ $this->id = $id;
+ $this->parentId = $parentId;
+ $this->hasChildren = $hasChildren;
+ $this->parentPath = $parentPath;
+ $this->name = $name;
+ $this->description = $description;
+ $this->targetWindow = $targetWindow;
+ $this->status = $status;
+ $this->adUnitCode = $adUnitCode;
+ $this->adUnitSizes = $adUnitSizes;
+ $this->targetPlatform = $targetPlatform;
+ $this->mobilePlatform = $mobilePlatform;
+ $this->explicitlyTargeted = $explicitlyTargeted;
+ $this->inheritedAdSenseSettings = $inheritedAdSenseSettings;
+ $this->partnerId = $partnerId;
+ $this->appliedLabelFrequencyCaps = $appliedLabelFrequencyCaps;
+ $this->effectiveLabelFrequencyCaps = $effectiveLabelFrequencyCaps;
+ $this->appliedLabels = $appliedLabels;
+ $this->effectiveAppliedLabels = $effectiveAppliedLabels;
+ $this->effectiveTeamIds = $effectiveTeamIds;
+ $this->appliedTeamIds = $appliedTeamIds;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ $this->smartSizeMode = $smartSizeMode;
+ $this->refreshRate = $refreshRate;
+ $this->isSharedByDistributor = $isSharedByDistributor;
+ $this->crossSellingDistributor = $crossSellingDistributor;
+ $this->externalSetTopBoxChannelId = $externalSetTopBoxChannelId;
+ $this->isSetTopBoxEnabled = $isSetTopBoxEnabled;
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitPage", false)) {
+ /**
+ * Captures a page of {@link AdUnit} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnitPage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var AdUnit[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitParent", false)) {
+ /**
+ * The summary of a parent {@link AdUnit}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitParent {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnitParent";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $adUnitCode;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null, $adUnitCode = null) {
+ $this->id = $id;
+ $this->name = $name;
+ $this->adUnitCode = $adUnitCode;
+ }
+
+ }
+}
+
+if (!class_exists("ApiError", false)) {
+ /**
+ * The API error base class that provides details about an error that occurred
+ * while processing a service request.
+ *
+ * The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AppliedLabel", false)) {
+ /**
+ * Represents a {@link Label} that can be applied to an entity. To negate an
+ * inherited label, create an {@code AppliedLabel} with {@code labelId} as the
+ * inherited label's ID and {@code isNegated} set to true.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AppliedLabel {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AppliedLabel";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $labelId;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isNegated;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($labelId = null, $isNegated = null) {
+ $this->labelId = $labelId;
+ $this->isNegated = $isNegated;
+ }
+
+ }
+}
+
+if (!class_exists("ArchiveAdUnits", false)) {
+ /**
+ * The action used for archiving {@link AdUnit} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ArchiveAdUnits extends AdUnitAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ArchiveAdUnits";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("AssignAdUnitsToPlacement", false)) {
+ /**
+ * The action used for assigning a group of {@link AdUnit} objects to a
+ * {@link Placement}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AssignAdUnitsToPlacement extends AdUnitAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AssignAdUnitsToPlacement";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $placementId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($placementId = null) {
+ parent::__construct();
+ $this->placementId = $placementId;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeWrapperError", false)) {
+ /**
+ * Errors specific to creative wrappers.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeWrapperError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeWrapperError";
+
+ /**
+ * @access public
+ * @var tnsCreativeWrapperErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CrossSellError", false)) {
+ /**
+ * Lists all errors associated with cross selling.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CrossSellError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CrossSellError";
+
+ /**
+ * @access public
+ * @var tnsCrossSellErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CrossSellingDistributor", false)) {
+ /**
+ * Encapsulation of data describing a distributor network that has shared an ad unit with a
+ * content provider network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CrossSellingDistributor {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CrossSellingDistributor";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkName = null) {
+ $this->networkName = $networkName;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("DeactivateAdUnits", false)) {
+ /**
+ * The action used for deactivating {@link AdUnit} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeactivateAdUnits extends AdUnitAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeactivateAdUnits";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("EntityLimitReachedError", false)) {
+ /**
+ * An error that occurs when creating an entity if the limit on the number of allowed entities for
+ * a network has already been reached.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityLimitReachedError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FrequencyCap", false)) {
+ /**
+ * Represents a limit on the number of times a single viewer can be exposed to
+ * the same {@link LineItem} in a specified time period.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FrequencyCap {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FrequencyCap";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $maxImpressions;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numTimeUnits;
+
+ /**
+ * @access public
+ * @var tnsTimeUnit
+ */
+ public $timeUnit;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($maxImpressions = null, $numTimeUnits = null, $timeUnit = null) {
+ $this->maxImpressions = $maxImpressions;
+ $this->numTimeUnits = $numTimeUnits;
+ $this->timeUnit = $timeUnit;
+ }
+
+ }
+}
+
+if (!class_exists("FrequencyCapError", false)) {
+ /**
+ * Lists all errors associated with frequency caps.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FrequencyCapError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FrequencyCapError";
+
+ /**
+ * @access public
+ * @var tnsFrequencyCapErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InvalidColorError", false)) {
+ /**
+ * A list of all errors associated with a color attribute.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidColorError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidColorError";
+
+ /**
+ * @access public
+ * @var tnsInvalidColorErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InventoryUnitError", false)) {
+ /**
+ * Lists the generic errors associated with {@link AdUnit} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryUnitError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryUnitError";
+
+ /**
+ * @access public
+ * @var tnsInventoryUnitErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InventoryUnitPartnerAssociationError", false)) {
+ /**
+ * Errors relating to the association of partner companies with inventory units.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryUnitPartnerAssociationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryUnitPartnerAssociationError";
+
+ /**
+ * @access public
+ * @var tnsInventoryUnitPartnerAssociationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InventoryUnitRefreshRateError", false)) {
+ /**
+ * Lists errors relating to {@link AdUnit#refreshRate}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryUnitRefreshRateError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryUnitRefreshRateError";
+
+ /**
+ * @access public
+ * @var tnsInventoryUnitRefreshRateErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitSize", false)) {
+ /**
+ * An {@code AdUnitSize} represents the size of an ad in an ad unit. Starting
+ * with v201108 this also represents the environment, and companions of a
+ * particular ad in an ad unit. In most cases, it is a simple size with just a
+ * width and a height (sometimes representing an aspect ratio).
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitSize {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnitSize";
+
+ /**
+ * @access public
+ * @var Size
+ */
+ public $size;
+
+ /**
+ * @access public
+ * @var tnsEnvironmentType
+ */
+ public $environmentType;
+
+ /**
+ * @access public
+ * @var AdUnitSize[]
+ */
+ public $companions;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fullDisplayString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($size = null, $environmentType = null, $companions = null, $fullDisplayString = null) {
+ $this->size = $size;
+ $this->environmentType = $environmentType;
+ $this->companions = $companions;
+ $this->fullDisplayString = $fullDisplayString;
+ }
+
+ }
+}
+
+if (!class_exists("InventoryUnitSizesError", false)) {
+ /**
+ * An error specifically for InventoryUnitSizes.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryUnitSizesError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryUnitSizesError";
+
+ /**
+ * @access public
+ * @var tnsInventoryUnitSizesErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitTypeError", false)) {
+ /**
+ * Lists the errors associated with the type of {@link AdUnit} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitTypeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnitTypeError";
+
+ /**
+ * @access public
+ * @var tnsAdUnitTypeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LabelFrequencyCap", false)) {
+ /**
+ * A {@code LabelFrequencyCap} assigns a frequency cap to a label. The
+ * frequency cap will limit the cumulative number of impressions of any ad
+ * units with this label that may be shown to a particular user over a time
+ * unit.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelFrequencyCap {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelFrequencyCap";
+
+ /**
+ * @access public
+ * @var FrequencyCap
+ */
+ public $frequencyCap;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $labelId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($frequencyCap = null, $labelId = null) {
+ $this->frequencyCap = $frequencyCap;
+ $this->labelId = $labelId;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NullError", false)) {
+ /**
+ * Errors associated with violation of a NOT NULL check.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ParseError", false)) {
+ /**
+ * Lists errors related to parsing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError";
+
+ /**
+ * @access public
+ * @var tnsParseErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RegExError", false)) {
+ /**
+ * Caused by supplying a value for an object attribute that does not conform
+ * to a documented valid regular expression.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RegExError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RegExError";
+
+ /**
+ * @access public
+ * @var tnsRegExErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RemoveAdUnitsFromPlacement", false)) {
+ /**
+ * The action used for removing a group of {@link AdUnit} objects
+ * from a {@link Placement}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RemoveAdUnitsFromPlacement extends AdUnitAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RemoveAdUnitsFromPlacement";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $placementId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($placementId = null) {
+ parent::__construct();
+ $this->placementId = $placementId;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionError", false)) {
+ /**
+ * A list of all errors to be used for validating sizes of collections.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError";
+
+ /**
+ * @access public
+ * @var tnsRequiredCollectionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberError", false)) {
+ /**
+ * A list of all errors to be used in conjunction with required number
+ * validators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError";
+
+ /**
+ * @access public
+ * @var tnsRequiredNumberErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Size", false)) {
+ /**
+ * Represents the dimensions of an {@link AdUnit}, {@link LineItem} or {@link Creative}.
+ *
+ * For interstitial size (out-of-page) and native size, {@code Size} must be 1x1.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Size {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Size";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $width;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $height;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isAspectRatio;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($width = null, $height = null, $isAspectRatio = null) {
+ $this->width = $width;
+ $this->height = $height;
+ $this->isAspectRatio = $isAspectRatio;
+ }
+
+ }
+}
+
+if (!class_exists("Size_StringMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type Size
+ * and value of type String.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Size_StringMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Size_StringMapEntry";
+
+ /**
+ * @access public
+ * @var Size
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthError", false)) {
+ /**
+ * Errors for Strings which do not meet given length constraints.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("TeamError", false)) {
+ /**
+ * Errors related to a Team.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TeamError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TeamError";
+
+ /**
+ * @access public
+ * @var tnsTeamErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TypeError", false)) {
+ /**
+ * An error for a field which is an invalid type.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TypeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TypeError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateResult", false)) {
+ /**
+ * Represents the result of performing an action on objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UpdateResult";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numChanges;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($numChanges = null) {
+ $this->numChanges = $numChanges;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AdSenseAccountErrorReason", false)) {
+ /**
+ * An error occured while trying to associate an AdSense account with GFP. Unable to create an
+ * association with AdSense or Ad Exchange account.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdSenseAccountErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdSenseAccountError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AdSenseSettingsAdType", false)) {
+ /**
+ * Specifies the type of ads that can be served through this {@link AdUnit}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdSenseSettingsAdType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdSenseSettings.AdType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AdSenseSettingsBorderStyle", false)) {
+ /**
+ * Describes the border of the HTML elements used to surround an ad
+ * displayed by the {@link AdUnit}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdSenseSettingsBorderStyle {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdSenseSettings.BorderStyle";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AdSenseSettingsFontFamily", false)) {
+ /**
+ * List of all possible font families.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdSenseSettingsFontFamily {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdSenseSettings.FontFamily";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AdSenseSettingsFontSize", false)) {
+ /**
+ * List of all possible font sizes the user can choose.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdSenseSettingsFontSize {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdSenseSettings.FontSize";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitAfcSizeErrorReason", false)) {
+ /**
+ * The supplied Afc size is not valid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitAfcSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnitAfcSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitCodeErrorReason", false)) {
+ /**
+ * For {@link AdUnit#adUnitCode}, only alpha-numeric characters,
+ * underscores, hyphens, periods, asterisks, double quotes, back slashes,
+ * forward slashes, exclamations, left angle brackets, colons and
+ * parentheses are allowed.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitCodeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnitCodeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitTargetWindow", false)) {
+ /**
+ * Corresponds to an HTML link's {@code target} attribute.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitTargetWindow {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnit.TargetWindow";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitHierarchyErrorReason", false)) {
+ /**
+ * The depth of the {@link AdUnit} in the inventory hierarchy is greater
+ * than is allowed. The maximum allowed depth is two below the effective
+ * root ad unit for Premium accounts and one level below effective root ad
+ * unit for Small Business accounts.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitHierarchyErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnitHierarchyError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeWrapperErrorReason", false)) {
+ /**
+ * The reasons for the creative wrapper error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeWrapperErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeWrapperError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CrossSellErrorReason", false)) {
+ /**
+ * The reason of the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CrossSellErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CrossSellError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("EnvironmentType", false)) {
+ /**
+ * Enum for the valid environments in which ads can be shown.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EnvironmentType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EnvironmentType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FrequencyCapErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FrequencyCapErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FrequencyCapError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InvalidColorErrorReason", false)) {
+ /**
+ * The provided value is not a valid hexadecimal color.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidColorErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidColorError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InventoryStatus", false)) {
+ /**
+ * Represents the status of objects that represent inventory - ad units and
+ * placements.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InventoryUnitErrorReason", false)) {
+ /**
+ * Possible reasons for the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryUnitErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryUnitError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InventoryUnitPartnerAssociationErrorReason", false)) {
+ /**
+ * Partner association error reason types.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryUnitPartnerAssociationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryUnitPartnerAssociationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InventoryUnitRefreshRateErrorReason", false)) {
+ /**
+ * Reasons for the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryUnitRefreshRateErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryUnitRefreshRateError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InventoryUnitSizesErrorReason", false)) {
+ /**
+ * All possible reasons the error can be thrown.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryUnitSizesErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryUnitSizesError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitTypeErrorReason", false)) {
+ /**
+ * Possible reasons for the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitTypeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnitTypeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("MobilePlatform", false)) {
+ /**
+ * The platform associated with a mobile {@code AdUnit}, i.e. whether this ad unit
+ * appears in a mobile application or in a mobile web site.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobilePlatform {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobilePlatform";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NullErrorReason", false)) {
+ /**
+ * The reasons for the validation error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ParseErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RegExErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RegExErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RegExError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionErrorReason", false)) {
+ /**
+ * A required collection is missing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberErrorReason", false)) {
+ /**
+ * Describes reasons for a number to be invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("SmartSizeMode", false)) {
+ /**
+ * Represents smart size modes.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SmartSizeMode {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SmartSizeMode";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TargetPlatform", false)) {
+ /**
+ * Indicates the target platform.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TargetPlatform {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TargetPlatform";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TeamErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TeamErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TeamError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TimeUnit", false)) {
+ /**
+ * Represent the possible time units for frequency capping.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TimeUnit {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TimeUnit";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreateAdUnits", false)) {
+ /**
+ * Creates new {@link AdUnit} objects.
+ *
+ * @param adUnits the ad units to create
+ * @return the created ad units, with their IDs filled in
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateAdUnits {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var AdUnit[]
+ */
+ public $adUnits;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($adUnits = null) {
+ $this->adUnits = $adUnits;
+ }
+
+ }
+}
+
+if (!class_exists("CreateAdUnitsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateAdUnitsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var AdUnit[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetAdUnitSizesByStatement", false)) {
+ /**
+ * Gets a set of {@link AdUnitSize} objects that satisfy the given
+ * {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code targetPlatform} |
+ * {@link TargetPlatform} |
+ *
+ *
+ * An exception will be thrown for queries with unsupported fields.
+ *
+ * Paging is not supported, as aren't the LIMIT and OFFSET PQL keywords.
+ *
+ * Only "=" operator is supported.
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of ad unit sizes
+ * @return the ad unit sizes that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetAdUnitSizesByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetAdUnitSizesByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetAdUnitSizesByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var AdUnitSize[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetAdUnitsByStatement", false)) {
+ /**
+ * Gets a {@link AdUnitPage} of {@link AdUnit} objects that satisfy the given
+ * {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code adUnitCode} |
+ * {@link AdUnit#adUnitCode} |
+ *
+ *
+ * {@code id} |
+ * {@link AdUnit#id} |
+ *
+ *
+ * {@code name} |
+ * {@link AdUnit#name} |
+ *
+ *
+ * {@code parentId} |
+ * {@link AdUnit#parentId} |
+ *
+ *
+ * {@code status} |
+ * {@link AdUnit#status} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link AdUnit#lastModifiedDateTime} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of ad units
+ * @return the ad units that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetAdUnitsByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetAdUnitsByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetAdUnitsByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var AdUnitPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("PerformAdUnitAction", false)) {
+ /**
+ * Performs actions on {@link AdUnit} objects that match the given
+ * {@link Statement#query}.
+ *
+ * @param adUnitAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of ad units
+ * @return the result of the action performed
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformAdUnitAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var AdUnitAction
+ */
+ public $adUnitAction;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($adUnitAction = null, $filterStatement = null) {
+ $this->adUnitAction = $adUnitAction;
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("PerformAdUnitActionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformAdUnitActionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UpdateResult
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateAdUnits", false)) {
+ /**
+ * Updates the specified {@link AdUnit} objects.
+ *
+ * @param adUnits the ad units to update
+ * @return the updated ad units
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateAdUnits {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var AdUnit[]
+ */
+ public $adUnits;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($adUnits = null) {
+ $this->adUnits = $adUnits;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateAdUnitsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateAdUnitsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var AdUnit[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ActivateAdUnits", false)) {
+ /**
+ * The action used for activating {@link AdUnit} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ActivateAdUnits extends AdUnitAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ActivateAdUnits";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("AdSenseAccountError", false)) {
+ /**
+ * Error for AdSense related API calls.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdSenseAccountError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdSenseAccountError";
+
+ /**
+ * @access public
+ * @var tnsAdSenseAccountErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitAfcSizeError", false)) {
+ /**
+ * Caused by supplying sizes that are not compatible with the Afc sizes.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitAfcSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnitAfcSizeError";
+
+ /**
+ * @access public
+ * @var tnsAdUnitAfcSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitCodeError", false)) {
+ /**
+ * Lists the generic errors associated with {@link AdUnit#adUnitCode}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitCodeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnitCodeError";
+
+ /**
+ * @access public
+ * @var tnsAdUnitCodeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitHierarchyError", false)) {
+ /**
+ * Caused by creating an {@link AdUnit} object with an invalid hierarchy.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitHierarchyError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnitHierarchyError";
+
+ /**
+ * @access public
+ * @var tnsAdUnitHierarchyErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("InventoryService", false)) {
+ /**
+ * InventoryService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryService extends DfpSoapClient {
+
+ const SERVICE_NAME = "InventoryService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/InventoryService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/InventoryService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ActivateAdUnits" => "ActivateAdUnits",
+ "AdSenseAccountError" => "AdSenseAccountError",
+ "AdSenseSettings" => "AdSenseSettings",
+ "AdSenseSettingsInheritedProperty" => "AdSenseSettingsInheritedProperty",
+ "AdUnitAction" => "AdUnitAction",
+ "AdUnitAfcSizeError" => "AdUnitAfcSizeError",
+ "AdUnitCodeError" => "AdUnitCodeError",
+ "AdUnit" => "AdUnit",
+ "AdUnitHierarchyError" => "AdUnitHierarchyError",
+ "AdUnitPage" => "AdUnitPage",
+ "AdUnitParent" => "AdUnitParent",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AppliedLabel" => "AppliedLabel",
+ "ArchiveAdUnits" => "ArchiveAdUnits",
+ "AssignAdUnitsToPlacement" => "AssignAdUnitsToPlacement",
+ "AuthenticationError" => "AuthenticationError",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "CreativeWrapperError" => "CreativeWrapperError",
+ "CrossSellError" => "CrossSellError",
+ "CrossSellingDistributor" => "CrossSellingDistributor",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "DeactivateAdUnits" => "DeactivateAdUnits",
+ "EntityLimitReachedError" => "EntityLimitReachedError",
+ "FeatureError" => "FeatureError",
+ "FrequencyCap" => "FrequencyCap",
+ "FrequencyCapError" => "FrequencyCapError",
+ "InternalApiError" => "InternalApiError",
+ "InvalidColorError" => "InvalidColorError",
+ "InventoryUnitError" => "InventoryUnitError",
+ "InventoryUnitPartnerAssociationError" => "InventoryUnitPartnerAssociationError",
+ "InventoryUnitRefreshRateError" => "InventoryUnitRefreshRateError",
+ "AdUnitSize" => "AdUnitSize",
+ "InventoryUnitSizesError" => "InventoryUnitSizesError",
+ "AdUnitTypeError" => "AdUnitTypeError",
+ "LabelFrequencyCap" => "LabelFrequencyCap",
+ "NotNullError" => "NotNullError",
+ "NullError" => "NullError",
+ "NumberValue" => "NumberValue",
+ "ParseError" => "ParseError",
+ "PermissionError" => "PermissionError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RegExError" => "RegExError",
+ "RemoveAdUnitsFromPlacement" => "RemoveAdUnitsFromPlacement",
+ "RequiredCollectionError" => "RequiredCollectionError",
+ "RequiredError" => "RequiredError",
+ "RequiredNumberError" => "RequiredNumberError",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "Size" => "Size",
+ "Size_StringMapEntry" => "Size_StringMapEntry",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "StringLengthError" => "StringLengthError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "TeamError" => "TeamError",
+ "TextValue" => "TextValue",
+ "TypeError" => "TypeError",
+ "UniqueError" => "UniqueError",
+ "UpdateResult" => "UpdateResult",
+ "Value" => "Value",
+ "AdSenseAccountError.Reason" => "AdSenseAccountErrorReason",
+ "AdSenseSettings.AdType" => "AdSenseSettingsAdType",
+ "AdSenseSettings.BorderStyle" => "AdSenseSettingsBorderStyle",
+ "AdSenseSettings.FontFamily" => "AdSenseSettingsFontFamily",
+ "AdSenseSettings.FontSize" => "AdSenseSettingsFontSize",
+ "AdUnitAfcSizeError.Reason" => "AdUnitAfcSizeErrorReason",
+ "AdUnitCodeError.Reason" => "AdUnitCodeErrorReason",
+ "AdUnit.TargetWindow" => "AdUnitTargetWindow",
+ "AdUnitHierarchyError.Reason" => "AdUnitHierarchyErrorReason",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "CreativeWrapperError.Reason" => "CreativeWrapperErrorReason",
+ "CrossSellError.Reason" => "CrossSellErrorReason",
+ "EnvironmentType" => "EnvironmentType",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "FrequencyCapError.Reason" => "FrequencyCapErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "InvalidColorError.Reason" => "InvalidColorErrorReason",
+ "InventoryStatus" => "InventoryStatus",
+ "InventoryUnitError.Reason" => "InventoryUnitErrorReason",
+ "InventoryUnitPartnerAssociationError.Reason" => "InventoryUnitPartnerAssociationErrorReason",
+ "InventoryUnitRefreshRateError.Reason" => "InventoryUnitRefreshRateErrorReason",
+ "InventoryUnitSizesError.Reason" => "InventoryUnitSizesErrorReason",
+ "AdUnitTypeError.Reason" => "AdUnitTypeErrorReason",
+ "MobilePlatform" => "MobilePlatform",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "NullError.Reason" => "NullErrorReason",
+ "ParseError.Reason" => "ParseErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RegExError.Reason" => "RegExErrorReason",
+ "RequiredCollectionError.Reason" => "RequiredCollectionErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "RequiredNumberError.Reason" => "RequiredNumberErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "SmartSizeMode" => "SmartSizeMode",
+ "StatementError.Reason" => "StatementErrorReason",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "TargetPlatform" => "TargetPlatform",
+ "TeamError.Reason" => "TeamErrorReason",
+ "TimeUnit" => "TimeUnit",
+ "createAdUnits" => "CreateAdUnits",
+ "createAdUnitsResponse" => "CreateAdUnitsResponse",
+ "getAdUnitSizesByStatement" => "GetAdUnitSizesByStatement",
+ "getAdUnitSizesByStatementResponse" => "GetAdUnitSizesByStatementResponse",
+ "getAdUnitsByStatement" => "GetAdUnitsByStatement",
+ "getAdUnitsByStatementResponse" => "GetAdUnitsByStatementResponse",
+ "performAdUnitAction" => "PerformAdUnitAction",
+ "performAdUnitActionResponse" => "PerformAdUnitActionResponse",
+ "updateAdUnits" => "UpdateAdUnits",
+ "updateAdUnitsResponse" => "UpdateAdUnitsResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Creates new {@link AdUnit} objects.
+ *
+ * @param adUnits the ad units to create
+ * @return the created ad units, with their IDs filled in
+ */
+ public function createAdUnits($adUnits) {
+ $args = new CreateAdUnits($adUnits);
+ $result = $this->__soapCall("createAdUnits", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a set of {@link AdUnitSize} objects that satisfy the given
+ * {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code targetPlatform} |
+ * {@link TargetPlatform} |
+ *
+ *
+ * An exception will be thrown for queries with unsupported fields.
+ *
+ * Paging is not supported, as aren't the LIMIT and OFFSET PQL keywords.
+ *
+ * Only "=" operator is supported.
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of ad unit sizes
+ * @return the ad unit sizes that match the given filter
+ */
+ public function getAdUnitSizesByStatement($filterStatement) {
+ $args = new GetAdUnitSizesByStatement($filterStatement);
+ $result = $this->__soapCall("getAdUnitSizesByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@link AdUnitPage} of {@link AdUnit} objects that satisfy the given
+ * {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code adUnitCode} |
+ * {@link AdUnit#adUnitCode} |
+ *
+ *
+ * {@code id} |
+ * {@link AdUnit#id} |
+ *
+ *
+ * {@code name} |
+ * {@link AdUnit#name} |
+ *
+ *
+ * {@code parentId} |
+ * {@link AdUnit#parentId} |
+ *
+ *
+ * {@code status} |
+ * {@link AdUnit#status} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link AdUnit#lastModifiedDateTime} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of ad units
+ * @return the ad units that match the given filter
+ */
+ public function getAdUnitsByStatement($filterStatement) {
+ $args = new GetAdUnitsByStatement($filterStatement);
+ $result = $this->__soapCall("getAdUnitsByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Performs actions on {@link AdUnit} objects that match the given
+ * {@link Statement#query}.
+ *
+ * @param adUnitAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of ad units
+ * @return the result of the action performed
+ */
+ public function performAdUnitAction($adUnitAction, $filterStatement) {
+ $args = new PerformAdUnitAction($adUnitAction, $filterStatement);
+ $result = $this->__soapCall("performAdUnitAction", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link AdUnit} objects.
+ *
+ * @param adUnits the ad units to update
+ * @return the updated ad units
+ */
+ public function updateAdUnits($adUnits) {
+ $args = new UpdateAdUnits($adUnits);
+ $result = $this->__soapCall("updateAdUnits", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/LabelService.php b/src/Google/Api/Ads/Dfp/v201505/LabelService.php
new file mode 100755
index 000000000..499f4fe58
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/LabelService.php
@@ -0,0 +1,3242 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeWrapperError", false)) {
+ /**
+ * Errors specific to creative wrappers.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeWrapperError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeWrapperError";
+
+ /**
+ * @access public
+ * @var tnsCreativeWrapperErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LabelAction", false)) {
+ /**
+ * Represents the actions that can be performed on {@link Label} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelAction";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("Label", false)) {
+ /**
+ * A {@code Label} is additional information that can be added to an entity.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Label {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Label";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $description;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isActive;
+
+ /**
+ * @access public
+ * @var tnsLabelType[]
+ */
+ public $types;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null, $description = null, $isActive = null, $types = null) {
+ $this->id = $id;
+ $this->name = $name;
+ $this->description = $description;
+ $this->isActive = $isActive;
+ $this->types = $types;
+ }
+
+ }
+}
+
+if (!class_exists("LabelError", false)) {
+ /**
+ * Errors specific to labels.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelError";
+
+ /**
+ * @access public
+ * @var tnsLabelErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LabelPage", false)) {
+ /**
+ * Captures a page of {@link Label} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelPage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var Label[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NullError", false)) {
+ /**
+ * Errors associated with violation of a NOT NULL check.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ParseError", false)) {
+ /**
+ * Lists errors related to parsing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError";
+
+ /**
+ * @access public
+ * @var tnsParseErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthError", false)) {
+ /**
+ * Errors for Strings which do not meet given length constraints.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("TypeError", false)) {
+ /**
+ * An error for a field which is an invalid type.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TypeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TypeError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateResult", false)) {
+ /**
+ * Represents the result of performing an action on objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UpdateResult";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numChanges;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($numChanges = null) {
+ $this->numChanges = $numChanges;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeWrapperErrorReason", false)) {
+ /**
+ * The reasons for the creative wrapper error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeWrapperErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeWrapperError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LabelErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LabelType", false)) {
+ /**
+ * Represents the types of labels supported.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NullErrorReason", false)) {
+ /**
+ * The reasons for the validation error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ParseErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreateLabels", false)) {
+ /**
+ * Creates new {@link Label} objects.
+ *
+ * @param labels the labels to create
+ * @return the created labels with their IDs filled in
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateLabels {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Label[]
+ */
+ public $labels;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($labels = null) {
+ $this->labels = $labels;
+ }
+
+ }
+}
+
+if (!class_exists("CreateLabelsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateLabelsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Label[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetLabelsByStatement", false)) {
+ /**
+ * Gets a {@link LabelPage} of {@link Label} objects that satisfy the
+ * given {@link Statement#query}. The following fields are supported for
+ * filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link Label#id} |
+ *
+ *
+ * {@code type} |
+ * {@link Label#type} |
+ *
+ *
+ * {@code name} |
+ * {@link Label#name} |
+ *
+ *
+ * {@code description} |
+ * {@link Label#description} |
+ *
+ *
+ * {@code isActive} |
+ * {@link Label#isActive} |
+ *
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of labels.
+ * @return the labels that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetLabelsByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetLabelsByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetLabelsByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var LabelPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("PerformLabelAction", false)) {
+ /**
+ * Performs actions on {@link Label} objects that match the given
+ * {@link Statement#query}.
+ *
+ * @param labelAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of labels
+ * @return the result of the action performed
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformLabelAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var LabelAction
+ */
+ public $labelAction;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($labelAction = null, $filterStatement = null) {
+ $this->labelAction = $labelAction;
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("PerformLabelActionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformLabelActionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UpdateResult
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateLabels", false)) {
+ /**
+ * Updates the specified {@link Label} objects.
+ *
+ * @param labels the labels to update
+ * @return the updated labels
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateLabels {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Label[]
+ */
+ public $labels;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($labels = null) {
+ $this->labels = $labels;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateLabelsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateLabelsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Label[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ActivateLabels", false)) {
+ /**
+ * The action used for activating {@link Label} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ActivateLabels extends LabelAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ActivateLabels";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DeactivateLabels", false)) {
+ /**
+ * The action used for deactivating {@link Label} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeactivateLabels extends LabelAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeactivateLabels";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("LabelService", false)) {
+ /**
+ * LabelService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelService extends DfpSoapClient {
+
+ const SERVICE_NAME = "LabelService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/LabelService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/LabelService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ActivateLabels" => "ActivateLabels",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AuthenticationError" => "AuthenticationError",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "CreativeWrapperError" => "CreativeWrapperError",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "DeactivateLabels" => "DeactivateLabels",
+ "FeatureError" => "FeatureError",
+ "InternalApiError" => "InternalApiError",
+ "LabelAction" => "LabelAction",
+ "Label" => "Label",
+ "LabelError" => "LabelError",
+ "LabelPage" => "LabelPage",
+ "NotNullError" => "NotNullError",
+ "NullError" => "NullError",
+ "NumberValue" => "NumberValue",
+ "ParseError" => "ParseError",
+ "PermissionError" => "PermissionError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RequiredError" => "RequiredError",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "StringLengthError" => "StringLengthError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "TextValue" => "TextValue",
+ "TypeError" => "TypeError",
+ "UniqueError" => "UniqueError",
+ "UpdateResult" => "UpdateResult",
+ "Value" => "Value",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "CreativeWrapperError.Reason" => "CreativeWrapperErrorReason",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "LabelError.Reason" => "LabelErrorReason",
+ "LabelType" => "LabelType",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "NullError.Reason" => "NullErrorReason",
+ "ParseError.Reason" => "ParseErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "createLabels" => "CreateLabels",
+ "createLabelsResponse" => "CreateLabelsResponse",
+ "getLabelsByStatement" => "GetLabelsByStatement",
+ "getLabelsByStatementResponse" => "GetLabelsByStatementResponse",
+ "performLabelAction" => "PerformLabelAction",
+ "performLabelActionResponse" => "PerformLabelActionResponse",
+ "updateLabels" => "UpdateLabels",
+ "updateLabelsResponse" => "UpdateLabelsResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Creates new {@link Label} objects.
+ *
+ * @param labels the labels to create
+ * @return the created labels with their IDs filled in
+ */
+ public function createLabels($labels) {
+ $args = new CreateLabels($labels);
+ $result = $this->__soapCall("createLabels", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@link LabelPage} of {@link Label} objects that satisfy the
+ * given {@link Statement#query}. The following fields are supported for
+ * filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link Label#id} |
+ *
+ *
+ * {@code type} |
+ * {@link Label#type} |
+ *
+ *
+ * {@code name} |
+ * {@link Label#name} |
+ *
+ *
+ * {@code description} |
+ * {@link Label#description} |
+ *
+ *
+ * {@code isActive} |
+ * {@link Label#isActive} |
+ *
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of labels.
+ * @return the labels that match the given filter
+ */
+ public function getLabelsByStatement($filterStatement) {
+ $args = new GetLabelsByStatement($filterStatement);
+ $result = $this->__soapCall("getLabelsByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Performs actions on {@link Label} objects that match the given
+ * {@link Statement#query}.
+ *
+ * @param labelAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of labels
+ * @return the result of the action performed
+ */
+ public function performLabelAction($labelAction, $filterStatement) {
+ $args = new PerformLabelAction($labelAction, $filterStatement);
+ $result = $this->__soapCall("performLabelAction", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link Label} objects.
+ *
+ * @param labels the labels to update
+ * @return the updated labels
+ */
+ public function updateLabels($labels) {
+ $args = new UpdateLabels($labels);
+ $result = $this->__soapCall("updateLabels", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/LineItemCreativeAssociationService.php b/src/Google/Api/Ads/Dfp/v201505/LineItemCreativeAssociationService.php
new file mode 100755
index 000000000..34680a4a2
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/LineItemCreativeAssociationService.php
@@ -0,0 +1,5679 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AssetError", false)) {
+ /**
+ * Lists all errors associated with assets.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AssetError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AssetError";
+
+ /**
+ * @access public
+ * @var tnsAssetErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("AudienceExtensionError", false)) {
+ /**
+ * Errors associated with audience extension enabled line items
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceExtensionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceExtensionError";
+
+ /**
+ * @access public
+ * @var tnsAudienceExtensionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeAssetMacroError", false)) {
+ /**
+ * Lists all errors associated with creative asset macros.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeAssetMacroError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeAssetMacroError";
+
+ /**
+ * @access public
+ * @var tnsCreativeAssetMacroErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeError", false)) {
+ /**
+ * Lists all errors associated with creatives.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeError";
+
+ /**
+ * @access public
+ * @var tnsCreativeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CreativePreviewError", false)) {
+ /**
+ * Errors associated with generation of creative preview URIs.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativePreviewError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativePreviewError";
+
+ /**
+ * @access public
+ * @var tnsCreativePreviewErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeSetError", false)) {
+ /**
+ * Errors relating to creative sets & subclasses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeSetError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeSetError";
+
+ /**
+ * @access public
+ * @var tnsCreativeSetErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomCreativeError", false)) {
+ /**
+ * Lists all errors associated with custom creatives.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCreativeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCreativeError";
+
+ /**
+ * @access public
+ * @var tnsCustomCreativeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValueError", false)) {
+ /**
+ * Errors specific to editing custom field values
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValueError";
+
+ /**
+ * @access public
+ * @var tnsCustomFieldValueErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("EntityChildrenLimitReachedError", false)) {
+ /**
+ * Lists errors relating to having too many children on an entity.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityChildrenLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityChildrenLimitReachedError";
+
+ /**
+ * @access public
+ * @var tnsEntityChildrenLimitReachedErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("EntityLimitReachedError", false)) {
+ /**
+ * An error that occurs when creating an entity if the limit on the number of allowed entities for
+ * a network has already been reached.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityLimitReachedError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FileError", false)) {
+ /**
+ * A list of all errors to be used for problems related to files.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FileError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FileError";
+
+ /**
+ * @access public
+ * @var tnsFileErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ImageError", false)) {
+ /**
+ * Lists all errors associated with images.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ImageError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ImageError";
+
+ /**
+ * @access public
+ * @var tnsImageErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InvalidPhoneNumberError", false)) {
+ /**
+ * Lists all errors associated with phone numbers.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidPhoneNumberError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidPhoneNumberError";
+
+ /**
+ * @access public
+ * @var tnsInvalidPhoneNumberErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InvalidUrlError", false)) {
+ /**
+ * Lists all errors associated with URLs.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidUrlError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidUrlError";
+
+ /**
+ * @access public
+ * @var tnsInvalidUrlErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LabelEntityAssociationError", false)) {
+ /**
+ * Errors specific to creating label entity associations.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelEntityAssociationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelEntityAssociationError";
+
+ /**
+ * @access public
+ * @var tnsLabelEntityAssociationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemCreativeAssociationAction", false)) {
+ /**
+ * Represents the actions that can be performed on
+ * {@link LineItemCreativeAssociation} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemCreativeAssociationAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemCreativeAssociationAction";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemCreativeAssociation", false)) {
+ /**
+ * A {@code LineItemCreativeAssociation} associates a {@link Creative} or {@link CreativeSet} with a
+ * {@link LineItem} so that the creative can be served in ad units targeted by the line item.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemCreativeAssociation {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemCreativeAssociation";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $lineItemId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $creativeId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $creativeSetId;
+
+ /**
+ * @access public
+ * @var double
+ */
+ public $manualCreativeRotationWeight;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $sequentialCreativeRotationIndex;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $startDateTime;
+
+ /**
+ * @access public
+ * @var tnsStartDateTimeType
+ */
+ public $startDateTimeType;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $endDateTime;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $destinationUrl;
+
+ /**
+ * @access public
+ * @var Size[]
+ */
+ public $sizes;
+
+ /**
+ * @access public
+ * @var tnsLineItemCreativeAssociationStatus
+ */
+ public $status;
+
+ /**
+ * @access public
+ * @var LineItemCreativeAssociationStats
+ */
+ public $stats;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $lastModifiedDateTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($lineItemId = null, $creativeId = null, $creativeSetId = null, $manualCreativeRotationWeight = null, $sequentialCreativeRotationIndex = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $destinationUrl = null, $sizes = null, $status = null, $stats = null, $lastModifiedDateTime = null) {
+ $this->lineItemId = $lineItemId;
+ $this->creativeId = $creativeId;
+ $this->creativeSetId = $creativeSetId;
+ $this->manualCreativeRotationWeight = $manualCreativeRotationWeight;
+ $this->sequentialCreativeRotationIndex = $sequentialCreativeRotationIndex;
+ $this->startDateTime = $startDateTime;
+ $this->startDateTimeType = $startDateTimeType;
+ $this->endDateTime = $endDateTime;
+ $this->destinationUrl = $destinationUrl;
+ $this->sizes = $sizes;
+ $this->status = $status;
+ $this->stats = $stats;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemCreativeAssociationError", false)) {
+ /**
+ * Lists all errors associated with line item-to-creative association dates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemCreativeAssociationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemCreativeAssociationError";
+
+ /**
+ * @access public
+ * @var tnsLineItemCreativeAssociationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemCreativeAssociationOperationError", false)) {
+ /**
+ * Lists all errors for executing operations on
+ * line item-to-creative associations
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemCreativeAssociationOperationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemCreativeAssociationOperationError";
+
+ /**
+ * @access public
+ * @var tnsLineItemCreativeAssociationOperationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemCreativeAssociationPage", false)) {
+ /**
+ * Captures a page of {@link LineItemCreativeAssociation} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemCreativeAssociationPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemCreativeAssociationPage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var LineItemCreativeAssociation[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemCreativeAssociationStats", false)) {
+ /**
+ * Contains statistics such as impressions, clicks delivered and cost
+ * for {@link LineItemCreativeAssociation} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemCreativeAssociationStats {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemCreativeAssociationStats";
+
+ /**
+ * @access public
+ * @var Stats
+ */
+ public $stats;
+
+ /**
+ * @access public
+ * @var Long_StatsMapEntry[]
+ */
+ public $creativeSetStats;
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $costInOrderCurrency;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($stats = null, $creativeSetStats = null, $costInOrderCurrency = null) {
+ $this->stats = $stats;
+ $this->creativeSetStats = $creativeSetStats;
+ $this->costInOrderCurrency = $costInOrderCurrency;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemError", false)) {
+ /**
+ * A catch-all error that lists all generic errors associated with LineItem.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemError";
+
+ /**
+ * @access public
+ * @var tnsLineItemErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Long_StatsMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type Long
+ * and value of type Stats.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Long_StatsMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Long_StatsMapEntry";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Stats
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("Money", false)) {
+ /**
+ * Represents a money amount.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Money {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Money";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $currencyCode;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $microAmount;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($currencyCode = null, $microAmount = null) {
+ $this->currencyCode = $currencyCode;
+ $this->microAmount = $microAmount;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NullError", false)) {
+ /**
+ * Errors associated with violation of a NOT NULL check.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ParseError", false)) {
+ /**
+ * Lists errors related to parsing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError";
+
+ /**
+ * @access public
+ * @var tnsParseErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RangeError", false)) {
+ /**
+ * A list of all errors associated with the Range constraint.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError";
+
+ /**
+ * @access public
+ * @var tnsRangeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionError", false)) {
+ /**
+ * A list of all errors to be used for validating sizes of collections.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError";
+
+ /**
+ * @access public
+ * @var tnsRequiredCollectionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberError", false)) {
+ /**
+ * A list of all errors to be used in conjunction with required number
+ * validators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError";
+
+ /**
+ * @access public
+ * @var tnsRequiredNumberErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredSizeError", false)) {
+ /**
+ * A list of all errors to be used for validating {@link Size}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredSizeError";
+
+ /**
+ * @access public
+ * @var tnsRequiredSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RichMediaStudioCreativeError", false)) {
+ /**
+ * Lists all errors associated with Rich Media Studio creatives.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RichMediaStudioCreativeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RichMediaStudioCreativeError";
+
+ /**
+ * @access public
+ * @var tnsRichMediaStudioCreativeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SetTopBoxCreativeError", false)) {
+ /**
+ * Errors associated with {@link SetTopBoxCreative set-top box creatives}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetTopBoxCreativeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetTopBoxCreativeError";
+
+ /**
+ * @access public
+ * @var tnsSetTopBoxCreativeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Size", false)) {
+ /**
+ * Represents the dimensions of an {@link AdUnit}, {@link LineItem} or {@link Creative}.
+ *
+ * For interstitial size (out-of-page) and native size, {@code Size} must be 1x1.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Size {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Size";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $width;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $height;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isAspectRatio;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($width = null, $height = null, $isAspectRatio = null) {
+ $this->width = $width;
+ $this->height = $height;
+ $this->isAspectRatio = $isAspectRatio;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Stats", false)) {
+ /**
+ * {@code Stats} contains trafficking statistics for {@link LineItem} and
+ * {@link LineItemCreativeAssociation} objects
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Stats {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Stats";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $impressionsDelivered;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $clicksDelivered;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $videoCompletionsDelivered;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $videoStartsDelivered;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($impressionsDelivered = null, $clicksDelivered = null, $videoCompletionsDelivered = null, $videoStartsDelivered = null) {
+ $this->impressionsDelivered = $impressionsDelivered;
+ $this->clicksDelivered = $clicksDelivered;
+ $this->videoCompletionsDelivered = $videoCompletionsDelivered;
+ $this->videoStartsDelivered = $videoStartsDelivered;
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthError", false)) {
+ /**
+ * Errors for Strings which do not meet given length constraints.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SwiffyConversionError", false)) {
+ /**
+ * Error for converting flash to swiffy asset.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SwiffyConversionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SwiffyConversionError";
+
+ /**
+ * @access public
+ * @var tnsSwiffyConversionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TemplateInstantiatedCreativeError", false)) {
+ /**
+ * Lists all errors associated with template instantiated creatives.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TemplateInstantiatedCreativeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TemplateInstantiatedCreativeError";
+
+ /**
+ * @access public
+ * @var tnsTemplateInstantiatedCreativeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TypeError", false)) {
+ /**
+ * An error for a field which is an invalid type.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TypeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TypeError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateResult", false)) {
+ /**
+ * Represents the result of performing an action on objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UpdateResult";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numChanges;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($numChanges = null) {
+ $this->numChanges = $numChanges;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AdSenseAccountErrorReason", false)) {
+ /**
+ * An error occured while trying to associate an AdSense account with GFP. Unable to create an
+ * association with AdSense or Ad Exchange account.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdSenseAccountErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdSenseAccountError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AssetErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AssetErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AssetError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AudienceExtensionErrorReason", false)) {
+ /**
+ * Specific audience extension error reasons.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceExtensionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceExtensionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeAssetMacroErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeAssetMacroErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeAssetMacroError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativePreviewErrorReason", false)) {
+ /**
+ * The creative cannot be previewed on this page.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativePreviewErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativePreviewError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeSetErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeSetErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeSetError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomCreativeErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCreativeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCreativeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValueErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValueErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValueError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("EntityChildrenLimitReachedErrorReason", false)) {
+ /**
+ * The reasons for the entity children limit reached error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityChildrenLimitReachedErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityChildrenLimitReachedError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FileErrorReason", false)) {
+ /**
+ * The provided byte array is empty.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FileErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FileError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ImageErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ImageErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ImageError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InvalidPhoneNumberErrorReason", false)) {
+ /**
+ * The phone number is invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidPhoneNumberErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidPhoneNumberError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InvalidUrlErrorReason", false)) {
+ /**
+ * The URL contains invalid characters.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidUrlErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidUrlError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LabelEntityAssociationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelEntityAssociationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelEntityAssociationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemCreativeAssociationStatus", false)) {
+ /**
+ * Describes the status of the association.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemCreativeAssociationStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemCreativeAssociation.Status";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemCreativeAssociationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemCreativeAssociationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemCreativeAssociationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemCreativeAssociationOperationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemCreativeAssociationOperationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemCreativeAssociationOperationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NullErrorReason", false)) {
+ /**
+ * The reasons for the validation error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ParseErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RangeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionErrorReason", false)) {
+ /**
+ * A required collection is missing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberErrorReason", false)) {
+ /**
+ * Describes reasons for a number to be invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredSizeErrorReason", false)) {
+ /**
+ * {@link Creative#size} or {@link LineItem#creativeSizes} is
+ * missing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RichMediaStudioCreativeErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RichMediaStudioCreativeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RichMediaStudioCreativeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("SetTopBoxCreativeErrorReason", false)) {
+ /**
+ * Error reasons for set-top box creatives.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetTopBoxCreativeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetTopBoxCreativeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StartDateTimeType", false)) {
+ /**
+ * Specifies the start type to use for an entity with a start date time field.
+ * For example, a {@link LineItem} or {@link LineItemCreativeAssociation}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StartDateTimeType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StartDateTimeType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("SwiffyConversionErrorReason", false)) {
+ /**
+ * Error reason for {@link SwiffyConversionError}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SwiffyConversionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SwiffyConversionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TemplateInstantiatedCreativeErrorReason", false)) {
+ /**
+ * The reason for the error
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TemplateInstantiatedCreativeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TemplateInstantiatedCreativeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreateLineItemCreativeAssociations", false)) {
+ /**
+ * Creates new {@link LineItemCreativeAssociation} objects
+ *
+ * @param lineItemCreativeAssociations the line item creative associations to
+ * create
+ * @return the created line item creative associations with their IDs filled
+ * in
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateLineItemCreativeAssociations {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var LineItemCreativeAssociation[]
+ */
+ public $lineItemCreativeAssociations;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($lineItemCreativeAssociations = null) {
+ $this->lineItemCreativeAssociations = $lineItemCreativeAssociations;
+ }
+
+ }
+}
+
+if (!class_exists("CreateLineItemCreativeAssociationsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateLineItemCreativeAssociationsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var LineItemCreativeAssociation[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetLineItemCreativeAssociationsByStatement", false)) {
+ /**
+ * Gets a {@link LineItemCreativeAssociationPage} of
+ * {@link LineItemCreativeAssociation} objects that satisfy the given
+ * {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code creativeId} |
+ * {@link LineItemCreativeAssociation#creativeId} |
+ *
+ *
+ * {@code manualCreativeRotationWeight} |
+ * {@link LineItemCreativeAssociation#manualCreativeRotationWeight} |
+ *
+ *
+ * {@code destinationUrl} |
+ * {@link LineItemCreativeAssociation#destinationUrl} |
+ *
+ *
+ * {@code lineItemId} |
+ * {@link LineItemCreativeAssociation#lineItemId} |
+ *
+ *
+ * {@code status} |
+ * {@link LineItemCreativeAssociation#status} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link LineItemCreativeAssociation#lastModifiedDateTime} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of line item creative associations
+ * @return the line item creative associations that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetLineItemCreativeAssociationsByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetLineItemCreativeAssociationsByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetLineItemCreativeAssociationsByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var LineItemCreativeAssociationPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetPreviewUrl", false)) {
+ /**
+ * Returns an insite preview URL that references the specified site URL with
+ * the specified creative from the association served to it. For Creative Set
+ * previewing you may specify the master creative Id.
+ *
+ * @param lineItemId the ID of the line item, which must already exist
+ * @param creativeId the ID of the creative, which must already exist
+ * @param siteUrl the URL of the site that the creative should be previewed in
+ * @return a URL that references the specified site URL with the specified
+ * creative served to it
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetPreviewUrl {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $lineItemId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $creativeId;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $siteUrl;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($lineItemId = null, $creativeId = null, $siteUrl = null) {
+ $this->lineItemId = $lineItemId;
+ $this->creativeId = $creativeId;
+ $this->siteUrl = $siteUrl;
+ }
+
+ }
+}
+
+if (!class_exists("GetPreviewUrlResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetPreviewUrlResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("PerformLineItemCreativeAssociationAction", false)) {
+ /**
+ * Performs actions on {@link LineItemCreativeAssociation} objects that match
+ * the given {@link Statement#query}.
+ *
+ * @param lineItemCreativeAssociationAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of line item creative associations
+ * @return the result of the action performed
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformLineItemCreativeAssociationAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var LineItemCreativeAssociationAction
+ */
+ public $lineItemCreativeAssociationAction;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($lineItemCreativeAssociationAction = null, $filterStatement = null) {
+ $this->lineItemCreativeAssociationAction = $lineItemCreativeAssociationAction;
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("PerformLineItemCreativeAssociationActionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformLineItemCreativeAssociationActionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UpdateResult
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateLineItemCreativeAssociations", false)) {
+ /**
+ * Updates the specified {@link LineItemCreativeAssociation} objects
+ *
+ * @param lineItemCreativeAssociations the line item creative associations to
+ * update
+ * @return the updated line item creative associations
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateLineItemCreativeAssociations {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var LineItemCreativeAssociation[]
+ */
+ public $lineItemCreativeAssociations;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($lineItemCreativeAssociations = null) {
+ $this->lineItemCreativeAssociations = $lineItemCreativeAssociations;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateLineItemCreativeAssociationsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateLineItemCreativeAssociationsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var LineItemCreativeAssociation[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ActivateLineItemCreativeAssociations", false)) {
+ /**
+ * The action used for activating {@link LineItemCreativeAssociation} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ActivateLineItemCreativeAssociations extends LineItemCreativeAssociationAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ActivateLineItemCreativeAssociations";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("AdSenseAccountError", false)) {
+ /**
+ * Error for AdSense related API calls.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdSenseAccountError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdSenseAccountError";
+
+ /**
+ * @access public
+ * @var tnsAdSenseAccountErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DeactivateLineItemCreativeAssociations", false)) {
+ /**
+ * The action used for deactivating {@link LineItemCreativeAssociation} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeactivateLineItemCreativeAssociations extends LineItemCreativeAssociationAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeactivateLineItemCreativeAssociations";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemCreativeAssociationService", false)) {
+ /**
+ * LineItemCreativeAssociationService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemCreativeAssociationService extends DfpSoapClient {
+
+ const SERVICE_NAME = "LineItemCreativeAssociationService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/LineItemCreativeAssociationService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/LineItemCreativeAssociationService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ActivateLineItemCreativeAssociations" => "ActivateLineItemCreativeAssociations",
+ "AdSenseAccountError" => "AdSenseAccountError",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AssetError" => "AssetError",
+ "AudienceExtensionError" => "AudienceExtensionError",
+ "AuthenticationError" => "AuthenticationError",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "CreativeAssetMacroError" => "CreativeAssetMacroError",
+ "CreativeError" => "CreativeError",
+ "CreativePreviewError" => "CreativePreviewError",
+ "CreativeSetError" => "CreativeSetError",
+ "CustomCreativeError" => "CustomCreativeError",
+ "CustomFieldValueError" => "CustomFieldValueError",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "DeactivateLineItemCreativeAssociations" => "DeactivateLineItemCreativeAssociations",
+ "EntityChildrenLimitReachedError" => "EntityChildrenLimitReachedError",
+ "EntityLimitReachedError" => "EntityLimitReachedError",
+ "FeatureError" => "FeatureError",
+ "FileError" => "FileError",
+ "ImageError" => "ImageError",
+ "InternalApiError" => "InternalApiError",
+ "InvalidPhoneNumberError" => "InvalidPhoneNumberError",
+ "InvalidUrlError" => "InvalidUrlError",
+ "LabelEntityAssociationError" => "LabelEntityAssociationError",
+ "LineItemCreativeAssociationAction" => "LineItemCreativeAssociationAction",
+ "LineItemCreativeAssociation" => "LineItemCreativeAssociation",
+ "LineItemCreativeAssociationError" => "LineItemCreativeAssociationError",
+ "LineItemCreativeAssociationOperationError" => "LineItemCreativeAssociationOperationError",
+ "LineItemCreativeAssociationPage" => "LineItemCreativeAssociationPage",
+ "LineItemCreativeAssociationStats" => "LineItemCreativeAssociationStats",
+ "LineItemError" => "LineItemError",
+ "Long_StatsMapEntry" => "Long_StatsMapEntry",
+ "Money" => "Money",
+ "NotNullError" => "NotNullError",
+ "NullError" => "NullError",
+ "NumberValue" => "NumberValue",
+ "ParseError" => "ParseError",
+ "PermissionError" => "PermissionError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RangeError" => "RangeError",
+ "RequiredCollectionError" => "RequiredCollectionError",
+ "RequiredError" => "RequiredError",
+ "RequiredNumberError" => "RequiredNumberError",
+ "RequiredSizeError" => "RequiredSizeError",
+ "RichMediaStudioCreativeError" => "RichMediaStudioCreativeError",
+ "ServerError" => "ServerError",
+ "SetTopBoxCreativeError" => "SetTopBoxCreativeError",
+ "SetValue" => "SetValue",
+ "Size" => "Size",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "Stats" => "Stats",
+ "StringLengthError" => "StringLengthError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "SwiffyConversionError" => "SwiffyConversionError",
+ "TemplateInstantiatedCreativeError" => "TemplateInstantiatedCreativeError",
+ "TextValue" => "TextValue",
+ "TypeError" => "TypeError",
+ "UniqueError" => "UniqueError",
+ "UpdateResult" => "UpdateResult",
+ "Value" => "Value",
+ "AdSenseAccountError.Reason" => "AdSenseAccountErrorReason",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AssetError.Reason" => "AssetErrorReason",
+ "AudienceExtensionError.Reason" => "AudienceExtensionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "CreativeAssetMacroError.Reason" => "CreativeAssetMacroErrorReason",
+ "CreativeError.Reason" => "CreativeErrorReason",
+ "CreativePreviewError.Reason" => "CreativePreviewErrorReason",
+ "CreativeSetError.Reason" => "CreativeSetErrorReason",
+ "CustomCreativeError.Reason" => "CustomCreativeErrorReason",
+ "CustomFieldValueError.Reason" => "CustomFieldValueErrorReason",
+ "EntityChildrenLimitReachedError.Reason" => "EntityChildrenLimitReachedErrorReason",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "FileError.Reason" => "FileErrorReason",
+ "ImageError.Reason" => "ImageErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "InvalidPhoneNumberError.Reason" => "InvalidPhoneNumberErrorReason",
+ "InvalidUrlError.Reason" => "InvalidUrlErrorReason",
+ "LabelEntityAssociationError.Reason" => "LabelEntityAssociationErrorReason",
+ "LineItemCreativeAssociation.Status" => "LineItemCreativeAssociationStatus",
+ "LineItemCreativeAssociationError.Reason" => "LineItemCreativeAssociationErrorReason",
+ "LineItemCreativeAssociationOperationError.Reason" => "LineItemCreativeAssociationOperationErrorReason",
+ "LineItemError.Reason" => "LineItemErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "NullError.Reason" => "NullErrorReason",
+ "ParseError.Reason" => "ParseErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RangeError.Reason" => "RangeErrorReason",
+ "RequiredCollectionError.Reason" => "RequiredCollectionErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "RequiredNumberError.Reason" => "RequiredNumberErrorReason",
+ "RequiredSizeError.Reason" => "RequiredSizeErrorReason",
+ "RichMediaStudioCreativeError.Reason" => "RichMediaStudioCreativeErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "SetTopBoxCreativeError.Reason" => "SetTopBoxCreativeErrorReason",
+ "StartDateTimeType" => "StartDateTimeType",
+ "StatementError.Reason" => "StatementErrorReason",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "SwiffyConversionError.Reason" => "SwiffyConversionErrorReason",
+ "TemplateInstantiatedCreativeError.Reason" => "TemplateInstantiatedCreativeErrorReason",
+ "createLineItemCreativeAssociations" => "CreateLineItemCreativeAssociations",
+ "createLineItemCreativeAssociationsResponse" => "CreateLineItemCreativeAssociationsResponse",
+ "getLineItemCreativeAssociationsByStatement" => "GetLineItemCreativeAssociationsByStatement",
+ "getLineItemCreativeAssociationsByStatementResponse" => "GetLineItemCreativeAssociationsByStatementResponse",
+ "getPreviewUrl" => "GetPreviewUrl",
+ "getPreviewUrlResponse" => "GetPreviewUrlResponse",
+ "performLineItemCreativeAssociationAction" => "PerformLineItemCreativeAssociationAction",
+ "performLineItemCreativeAssociationActionResponse" => "PerformLineItemCreativeAssociationActionResponse",
+ "updateLineItemCreativeAssociations" => "UpdateLineItemCreativeAssociations",
+ "updateLineItemCreativeAssociationsResponse" => "UpdateLineItemCreativeAssociationsResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Creates new {@link LineItemCreativeAssociation} objects
+ *
+ * @param lineItemCreativeAssociations the line item creative associations to
+ * create
+ * @return the created line item creative associations with their IDs filled
+ * in
+ */
+ public function createLineItemCreativeAssociations($lineItemCreativeAssociations) {
+ $args = new CreateLineItemCreativeAssociations($lineItemCreativeAssociations);
+ $result = $this->__soapCall("createLineItemCreativeAssociations", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@link LineItemCreativeAssociationPage} of
+ * {@link LineItemCreativeAssociation} objects that satisfy the given
+ * {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code creativeId} |
+ * {@link LineItemCreativeAssociation#creativeId} |
+ *
+ *
+ * {@code manualCreativeRotationWeight} |
+ * {@link LineItemCreativeAssociation#manualCreativeRotationWeight} |
+ *
+ *
+ * {@code destinationUrl} |
+ * {@link LineItemCreativeAssociation#destinationUrl} |
+ *
+ *
+ * {@code lineItemId} |
+ * {@link LineItemCreativeAssociation#lineItemId} |
+ *
+ *
+ * {@code status} |
+ * {@link LineItemCreativeAssociation#status} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link LineItemCreativeAssociation#lastModifiedDateTime} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of line item creative associations
+ * @return the line item creative associations that match the given filter
+ */
+ public function getLineItemCreativeAssociationsByStatement($filterStatement) {
+ $args = new GetLineItemCreativeAssociationsByStatement($filterStatement);
+ $result = $this->__soapCall("getLineItemCreativeAssociationsByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Returns an insite preview URL that references the specified site URL with
+ * the specified creative from the association served to it. For Creative Set
+ * previewing you may specify the master creative Id.
+ *
+ * @param lineItemId the ID of the line item, which must already exist
+ * @param creativeId the ID of the creative, which must already exist
+ * @param siteUrl the URL of the site that the creative should be previewed in
+ * @return a URL that references the specified site URL with the specified
+ * creative served to it
+ */
+ public function getPreviewUrl($lineItemId, $creativeId, $siteUrl) {
+ $args = new GetPreviewUrl($lineItemId, $creativeId, $siteUrl);
+ $result = $this->__soapCall("getPreviewUrl", array($args));
+ return $result->rval;
+ }
+ /**
+ * Performs actions on {@link LineItemCreativeAssociation} objects that match
+ * the given {@link Statement#query}.
+ *
+ * @param lineItemCreativeAssociationAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of line item creative associations
+ * @return the result of the action performed
+ */
+ public function performLineItemCreativeAssociationAction($lineItemCreativeAssociationAction, $filterStatement) {
+ $args = new PerformLineItemCreativeAssociationAction($lineItemCreativeAssociationAction, $filterStatement);
+ $result = $this->__soapCall("performLineItemCreativeAssociationAction", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link LineItemCreativeAssociation} objects
+ *
+ * @param lineItemCreativeAssociations the line item creative associations to
+ * update
+ * @return the updated line item creative associations
+ */
+ public function updateLineItemCreativeAssociations($lineItemCreativeAssociations) {
+ $args = new UpdateLineItemCreativeAssociations($lineItemCreativeAssociations);
+ $result = $this->__soapCall("updateLineItemCreativeAssociations", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/LineItemService.php b/src/Google/Api/Ads/Dfp/v201505/LineItemService.php
new file mode 100755
index 000000000..c8e256359
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/LineItemService.php
@@ -0,0 +1,10908 @@
+adUnitId = $adUnitId;
+ $this->includeDescendants = $includeDescendants;
+ }
+
+ }
+}
+
+if (!class_exists("ApiError", false)) {
+ /**
+ * The API error base class that provides details about an error that occurred
+ * while processing a service request.
+ *
+ * The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TechnologyTargeting", false)) {
+ /**
+ * Provides {@link LineItem} objects the ability to target or exclude
+ * technologies.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TechnologyTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TechnologyTargeting";
+
+ /**
+ * @access public
+ * @var BandwidthGroupTargeting
+ */
+ public $bandwidthGroupTargeting;
+
+ /**
+ * @access public
+ * @var BrowserTargeting
+ */
+ public $browserTargeting;
+
+ /**
+ * @access public
+ * @var BrowserLanguageTargeting
+ */
+ public $browserLanguageTargeting;
+
+ /**
+ * @access public
+ * @var DeviceCapabilityTargeting
+ */
+ public $deviceCapabilityTargeting;
+
+ /**
+ * @access public
+ * @var DeviceCategoryTargeting
+ */
+ public $deviceCategoryTargeting;
+
+ /**
+ * @access public
+ * @var DeviceManufacturerTargeting
+ */
+ public $deviceManufacturerTargeting;
+
+ /**
+ * @access public
+ * @var MobileCarrierTargeting
+ */
+ public $mobileCarrierTargeting;
+
+ /**
+ * @access public
+ * @var MobileDeviceTargeting
+ */
+ public $mobileDeviceTargeting;
+
+ /**
+ * @access public
+ * @var MobileDeviceSubmodelTargeting
+ */
+ public $mobileDeviceSubmodelTargeting;
+
+ /**
+ * @access public
+ * @var OperatingSystemTargeting
+ */
+ public $operatingSystemTargeting;
+
+ /**
+ * @access public
+ * @var OperatingSystemVersionTargeting
+ */
+ public $operatingSystemVersionTargeting;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($bandwidthGroupTargeting = null, $browserTargeting = null, $browserLanguageTargeting = null, $deviceCapabilityTargeting = null, $deviceCategoryTargeting = null, $deviceManufacturerTargeting = null, $mobileCarrierTargeting = null, $mobileDeviceTargeting = null, $mobileDeviceSubmodelTargeting = null, $operatingSystemTargeting = null, $operatingSystemVersionTargeting = null) {
+ $this->bandwidthGroupTargeting = $bandwidthGroupTargeting;
+ $this->browserTargeting = $browserTargeting;
+ $this->browserLanguageTargeting = $browserLanguageTargeting;
+ $this->deviceCapabilityTargeting = $deviceCapabilityTargeting;
+ $this->deviceCategoryTargeting = $deviceCategoryTargeting;
+ $this->deviceManufacturerTargeting = $deviceManufacturerTargeting;
+ $this->mobileCarrierTargeting = $mobileCarrierTargeting;
+ $this->mobileDeviceTargeting = $mobileDeviceTargeting;
+ $this->mobileDeviceSubmodelTargeting = $mobileDeviceSubmodelTargeting;
+ $this->operatingSystemTargeting = $operatingSystemTargeting;
+ $this->operatingSystemVersionTargeting = $operatingSystemVersionTargeting;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AppliedLabel", false)) {
+ /**
+ * Represents a {@link Label} that can be applied to an entity. To negate an
+ * inherited label, create an {@code AppliedLabel} with {@code labelId} as the
+ * inherited label's ID and {@code isNegated} set to true.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AppliedLabel {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AppliedLabel";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $labelId;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isNegated;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($labelId = null, $isNegated = null) {
+ $this->labelId = $labelId;
+ $this->isNegated = $isNegated;
+ }
+
+ }
+}
+
+if (!class_exists("AudienceExtensionError", false)) {
+ /**
+ * Errors associated with audience extension enabled line items
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceExtensionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceExtensionError";
+
+ /**
+ * @access public
+ * @var tnsAudienceExtensionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("BandwidthGroupTargeting", false)) {
+ /**
+ * Represents bandwidth groups that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BandwidthGroupTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BandwidthGroupTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $bandwidthGroups;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $bandwidthGroups = null) {
+ $this->isTargeted = $isTargeted;
+ $this->bandwidthGroups = $bandwidthGroups;
+ }
+
+ }
+}
+
+if (!class_exists("BaseCustomFieldValue", false)) {
+ /**
+ * The value of a {@link CustomField} for a particular entity.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BaseCustomFieldValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customFieldId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customFieldId = null) {
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("BrowserLanguageTargeting", false)) {
+ /**
+ * Represents browser languages that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BrowserLanguageTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BrowserLanguageTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $browserLanguages;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $browserLanguages = null) {
+ $this->isTargeted = $isTargeted;
+ $this->browserLanguages = $browserLanguages;
+ }
+
+ }
+}
+
+if (!class_exists("BrowserTargeting", false)) {
+ /**
+ * Represents browsers that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BrowserTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BrowserTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $browsers;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $browsers = null) {
+ $this->isTargeted = $isTargeted;
+ $this->browsers = $browsers;
+ }
+
+ }
+}
+
+if (!class_exists("ClickTrackingLineItemError", false)) {
+ /**
+ * Click tracking is a special line item type with a number of unique errors as
+ * described below.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ClickTrackingLineItemError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ClickTrackingLineItemError";
+
+ /**
+ * @access public
+ * @var tnsClickTrackingLineItemErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CompanyCreditStatusError", false)) {
+ /**
+ * Lists all errors due to {@link Company#creditStatus}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CompanyCreditStatusError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CompanyCreditStatusError";
+
+ /**
+ * @access public
+ * @var tnsCompanyCreditStatusErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ContentMetadataKeyHierarchyTargeting", false)) {
+ /**
+ * Represents one or more {@link CustomTargetingValue custom targeting values} from different
+ * {@link CustomTargetingKey custom targeting keys} ANDed together.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentMetadataKeyHierarchyTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentMetadataKeyHierarchyTargeting";
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $customTargetingValueIds;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customTargetingValueIds = null) {
+ $this->customTargetingValueIds = $customTargetingValueIds;
+ }
+
+ }
+}
+
+if (!class_exists("ContentMetadataTargetingError", false)) {
+ /**
+ * Lists all errors related to {@link ContentMetadataTargeting}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentMetadataTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentMetadataTargetingError";
+
+ /**
+ * @access public
+ * @var tnsContentMetadataTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ContentTargeting", false)) {
+ /**
+ * Used to target {@link LineItem}s to specific videos on a publisher's site.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentTargeting";
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $targetedContentIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $excludedContentIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $targetedVideoCategoryIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $excludedVideoCategoryIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $targetedVideoContentBundleIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $excludedVideoContentBundleIds;
+
+ /**
+ * @access public
+ * @var ContentMetadataKeyHierarchyTargeting[]
+ */
+ public $targetedContentMetadata;
+
+ /**
+ * @access public
+ * @var ContentMetadataKeyHierarchyTargeting[]
+ */
+ public $excludedContentMetadata;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedContentIds = null, $excludedContentIds = null, $targetedVideoCategoryIds = null, $excludedVideoCategoryIds = null, $targetedVideoContentBundleIds = null, $excludedVideoContentBundleIds = null, $targetedContentMetadata = null, $excludedContentMetadata = null) {
+ $this->targetedContentIds = $targetedContentIds;
+ $this->excludedContentIds = $excludedContentIds;
+ $this->targetedVideoCategoryIds = $targetedVideoCategoryIds;
+ $this->excludedVideoCategoryIds = $excludedVideoCategoryIds;
+ $this->targetedVideoContentBundleIds = $targetedVideoContentBundleIds;
+ $this->excludedVideoContentBundleIds = $excludedVideoContentBundleIds;
+ $this->targetedContentMetadata = $targetedContentMetadata;
+ $this->excludedContentMetadata = $excludedContentMetadata;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeError", false)) {
+ /**
+ * Lists all errors associated with creatives.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeError";
+
+ /**
+ * @access public
+ * @var tnsCreativeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CreativePlaceholder", false)) {
+ /**
+ * A {@code CreativePlaceholder} describes a slot that a creative is expected to
+ * fill. This is used primarily to help in forecasting, and also to validate
+ * that the correct creatives are associated with the line item. A
+ * {@code CreativePlaceholder} must contain a size, and it can optionally
+ * contain companions. Companions are only valid if the line item's environment
+ * type is {@link EnvironmentType#VIDEO_PLAYER}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativePlaceholder {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativePlaceholder";
+
+ /**
+ * @access public
+ * @var Size
+ */
+ public $size;
+
+ /**
+ * @access public
+ * @var CreativePlaceholder[]
+ */
+ public $companions;
+
+ /**
+ * @access public
+ * @var AppliedLabel[]
+ */
+ public $appliedLabels;
+
+ /**
+ * @access public
+ * @var AppliedLabel[]
+ */
+ public $effectiveAppliedLabels;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $expectedCreativeCount;
+
+ /**
+ * @access public
+ * @var tnsCreativeSizeType
+ */
+ public $creativeSizeType;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($size = null, $companions = null, $appliedLabels = null, $effectiveAppliedLabels = null, $id = null, $expectedCreativeCount = null, $creativeSizeType = null) {
+ $this->size = $size;
+ $this->companions = $companions;
+ $this->appliedLabels = $appliedLabels;
+ $this->effectiveAppliedLabels = $effectiveAppliedLabels;
+ $this->id = $id;
+ $this->expectedCreativeCount = $expectedCreativeCount;
+ $this->creativeSizeType = $creativeSizeType;
+ }
+
+ }
+}
+
+if (!class_exists("CrossSellError", false)) {
+ /**
+ * Lists all errors associated with cross selling.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CrossSellError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CrossSellError";
+
+ /**
+ * @access public
+ * @var tnsCrossSellErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValue", false)) {
+ /**
+ * The value of a {@link CustomField} that does not have a {@link CustomField#dataType}
+ * of {@link CustomFieldDataType#DROP_DOWN}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValue extends BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValue";
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null, $customFieldId = null) {
+ parent::__construct();
+ $this->value = $value;
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValueError", false)) {
+ /**
+ * Errors specific to editing custom field values
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValueError";
+
+ /**
+ * @access public
+ * @var tnsCustomFieldValueErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingError", false)) {
+ /**
+ * Lists all errors related to {@link CustomTargetingKey} and
+ * {@link CustomTargetingValue} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingError";
+
+ /**
+ * @access public
+ * @var tnsCustomTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaNode", false)) {
+ /**
+ * A {@link CustomCriteriaNode} is a node in the custom targeting tree. A custom
+ * criteria node can either be a {@link CustomCriteriaSet} (a non-leaf node) or
+ * a {@link CustomCriteria} (a leaf node). The custom criteria targeting tree is
+ * subject to the rules defined on {@link Targeting#customTargeting}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaNode {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteriaNode";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeRangeTargetingError", false)) {
+ /**
+ * Lists all date time range errors caused by associating a line item with a targeting
+ * expression.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeRangeTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeRangeTargetingError";
+
+ /**
+ * @access public
+ * @var tnsDateTimeRangeTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("DayPart", false)) {
+ /**
+ * {@code DayPart} represents a time-period within a day of the week which is
+ * targeted by a {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DayPart {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DayPart";
+
+ /**
+ * @access public
+ * @var tnsDayOfWeek
+ */
+ public $dayOfWeek;
+
+ /**
+ * @access public
+ * @var TimeOfDay
+ */
+ public $startTime;
+
+ /**
+ * @access public
+ * @var TimeOfDay
+ */
+ public $endTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($dayOfWeek = null, $startTime = null, $endTime = null) {
+ $this->dayOfWeek = $dayOfWeek;
+ $this->startTime = $startTime;
+ $this->endTime = $endTime;
+ }
+
+ }
+}
+
+if (!class_exists("DayPartTargeting", false)) {
+ /**
+ * Modify the delivery times of line items for particular days of the week. By
+ * default, line items are served at all days and times.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DayPartTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DayPartTargeting";
+
+ /**
+ * @access public
+ * @var DayPart[]
+ */
+ public $dayParts;
+
+ /**
+ * @access public
+ * @var tnsDeliveryTimeZone
+ */
+ public $timeZone;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($dayParts = null, $timeZone = null) {
+ $this->dayParts = $dayParts;
+ $this->timeZone = $timeZone;
+ }
+
+ }
+}
+
+if (!class_exists("DayPartTargetingError", false)) {
+ /**
+ * Lists all errors associated with day-part targeting for a line item.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DayPartTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DayPartTargetingError";
+
+ /**
+ * @access public
+ * @var tnsDayPartTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("DeliveryData", false)) {
+ /**
+ * Holds the number of clicks or impressions, determined by
+ * {@link LineItem#costType}, delivered for a single line item for the
+ * last 7 days
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeliveryData {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeliveryData";
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $units;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($units = null) {
+ $this->units = $units;
+ }
+
+ }
+}
+
+if (!class_exists("DeliveryIndicator", false)) {
+ /**
+ * Indicates the delivery performance of the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeliveryIndicator {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeliveryIndicator";
+
+ /**
+ * @access public
+ * @var double
+ */
+ public $expectedDeliveryPercentage;
+
+ /**
+ * @access public
+ * @var double
+ */
+ public $actualDeliveryPercentage;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($expectedDeliveryPercentage = null, $actualDeliveryPercentage = null) {
+ $this->expectedDeliveryPercentage = $expectedDeliveryPercentage;
+ $this->actualDeliveryPercentage = $actualDeliveryPercentage;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceCapabilityTargeting", false)) {
+ /**
+ * Represents device capabilities that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceCapabilityTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceCapabilityTargeting";
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $targetedDeviceCapabilities;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $excludedDeviceCapabilities;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedDeviceCapabilities = null, $excludedDeviceCapabilities = null) {
+ $this->targetedDeviceCapabilities = $targetedDeviceCapabilities;
+ $this->excludedDeviceCapabilities = $excludedDeviceCapabilities;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceCategoryTargeting", false)) {
+ /**
+ * Represents device categories that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceCategoryTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceCategoryTargeting";
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $targetedDeviceCategories;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $excludedDeviceCategories;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedDeviceCategories = null, $excludedDeviceCategories = null) {
+ $this->targetedDeviceCategories = $targetedDeviceCategories;
+ $this->excludedDeviceCategories = $excludedDeviceCategories;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceManufacturerTargeting", false)) {
+ /**
+ * Represents device manufacturer that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceManufacturerTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceManufacturerTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $deviceManufacturers;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $deviceManufacturers = null) {
+ $this->isTargeted = $isTargeted;
+ $this->deviceManufacturers = $deviceManufacturers;
+ }
+
+ }
+}
+
+if (!class_exists("DropDownCustomFieldValue", false)) {
+ /**
+ * A {@link CustomFieldValue} for a {@link CustomField} that has a {@link CustomField#dataType}
+ * of {@link CustomFieldDataType#DROP_DOWN}
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DropDownCustomFieldValue extends BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DropDownCustomFieldValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customFieldOptionId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customFieldOptionId = null, $customFieldId = null) {
+ parent::__construct();
+ $this->customFieldOptionId = $customFieldOptionId;
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("EntityChildrenLimitReachedError", false)) {
+ /**
+ * Lists errors relating to having too many children on an entity.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityChildrenLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityChildrenLimitReachedError";
+
+ /**
+ * @access public
+ * @var tnsEntityChildrenLimitReachedErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("EntityLimitReachedError", false)) {
+ /**
+ * An error that occurs when creating an entity if the limit on the number of allowed entities for
+ * a network has already been reached.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityLimitReachedError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ForecastError", false)) {
+ /**
+ * Errors that can result from a forecast request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ForecastError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ForecastError";
+
+ /**
+ * @access public
+ * @var tnsForecastErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FrequencyCap", false)) {
+ /**
+ * Represents a limit on the number of times a single viewer can be exposed to
+ * the same {@link LineItem} in a specified time period.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FrequencyCap {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FrequencyCap";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $maxImpressions;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numTimeUnits;
+
+ /**
+ * @access public
+ * @var tnsTimeUnit
+ */
+ public $timeUnit;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($maxImpressions = null, $numTimeUnits = null, $timeUnit = null) {
+ $this->maxImpressions = $maxImpressions;
+ $this->numTimeUnits = $numTimeUnits;
+ $this->timeUnit = $timeUnit;
+ }
+
+ }
+}
+
+if (!class_exists("FrequencyCapError", false)) {
+ /**
+ * Lists all errors associated with frequency caps.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FrequencyCapError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FrequencyCapError";
+
+ /**
+ * @access public
+ * @var tnsFrequencyCapErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("GenericTargetingError", false)) {
+ /**
+ * Targeting validation errors that can be used by different targeting types.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GenericTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GenericTargetingError";
+
+ /**
+ * @access public
+ * @var tnsGenericTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("GeoTargeting", false)) {
+ /**
+ * Provides line items the ability to target geographical locations. By default,
+ * line items target all countries and their subdivisions. With geographical
+ * targeting, you can target line items to specific countries, regions, metro
+ * areas, and cities. You can also exclude the same.
+ *
+ * The following rules apply for geographical targeting:
+ *
+ *
+ * - You cannot target and exclude the same location
+ * - You cannot target a child whose parent has been excluded. So if the state
+ * of Illinois has been excluded, then you cannot target Chicago
+ * - You must not target a location if you are also targeting its parent.
+ * So if you are targeting New York City, you must not have the state of New
+ * York as one of the targeted locations
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GeoTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GeoTargeting";
+
+ /**
+ * @access public
+ * @var Location[]
+ */
+ public $targetedLocations;
+
+ /**
+ * @access public
+ * @var Location[]
+ */
+ public $excludedLocations;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedLocations = null, $excludedLocations = null) {
+ $this->targetedLocations = $targetedLocations;
+ $this->excludedLocations = $excludedLocations;
+ }
+
+ }
+}
+
+if (!class_exists("GeoTargetingError", false)) {
+ /**
+ * Lists all errors associated with geographical targeting for a
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GeoTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GeoTargetingError";
+
+ /**
+ * @access public
+ * @var tnsGeoTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Goal", false)) {
+ /**
+ * Defines the criteria a {@link LineItem} needs to satisfy to meet its delivery goal.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Goal {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Goal";
+
+ /**
+ * @access public
+ * @var tnsGoalType
+ */
+ public $goalType;
+
+ /**
+ * @access public
+ * @var tnsUnitType
+ */
+ public $unitType;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $units;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($goalType = null, $unitType = null, $units = null) {
+ $this->goalType = $goalType;
+ $this->unitType = $unitType;
+ $this->units = $units;
+ }
+
+ }
+}
+
+if (!class_exists("GrpSettings", false)) {
+ /**
+ * {@code GrpSettings} contains information for a line item that will have a target demographic
+ * when serving. This information will be used to set up tracking and enable reporting on the
+ * demographic information.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GrpSettings {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GrpSettings";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minTargetAge;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $maxTargetAge;
+
+ /**
+ * @access public
+ * @var tnsGrpTargetGender
+ */
+ public $targetGender;
+
+ /**
+ * @access public
+ * @var tnsGrpProvider
+ */
+ public $provider;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $targetImpressionGoal;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($minTargetAge = null, $maxTargetAge = null, $targetGender = null, $provider = null, $targetImpressionGoal = null) {
+ $this->minTargetAge = $minTargetAge;
+ $this->maxTargetAge = $maxTargetAge;
+ $this->targetGender = $targetGender;
+ $this->provider = $provider;
+ $this->targetImpressionGoal = $targetImpressionGoal;
+ }
+
+ }
+}
+
+if (!class_exists("GrpSettingsError", false)) {
+ /**
+ * Errors associated with line items with GRP settings.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GrpSettingsError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GrpSettingsError";
+
+ /**
+ * @access public
+ * @var tnsGrpSettingsErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ImageError", false)) {
+ /**
+ * Lists all errors associated with images.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ImageError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ImageError";
+
+ /**
+ * @access public
+ * @var tnsImageErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InvalidUrlError", false)) {
+ /**
+ * Lists all errors associated with URLs.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidUrlError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidUrlError";
+
+ /**
+ * @access public
+ * @var tnsInvalidUrlErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InventoryTargeting", false)) {
+ /**
+ * A collection of targeted and excluded ad units and placements.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryTargeting";
+
+ /**
+ * @access public
+ * @var AdUnitTargeting[]
+ */
+ public $targetedAdUnits;
+
+ /**
+ * @access public
+ * @var AdUnitTargeting[]
+ */
+ public $excludedAdUnits;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $targetedPlacementIds;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedAdUnits = null, $excludedAdUnits = null, $targetedPlacementIds = null) {
+ $this->targetedAdUnits = $targetedAdUnits;
+ $this->excludedAdUnits = $excludedAdUnits;
+ $this->targetedPlacementIds = $targetedPlacementIds;
+ }
+
+ }
+}
+
+if (!class_exists("InventoryTargetingError", false)) {
+ /**
+ * Lists all inventory errors caused by associating a line item with a targeting
+ * expression.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryTargetingError";
+
+ /**
+ * @access public
+ * @var tnsInventoryTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LabelEntityAssociationError", false)) {
+ /**
+ * Errors specific to creating label entity associations.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelEntityAssociationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelEntityAssociationError";
+
+ /**
+ * @access public
+ * @var tnsLabelEntityAssociationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemAction", false)) {
+ /**
+ * Represents the actions that can be performed on {@link LineItem} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemAction";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemActivityAssociationError", false)) {
+ /**
+ * Errors specific to associating activities to line items.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemActivityAssociationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemActivityAssociationError";
+
+ /**
+ * @access public
+ * @var tnsLineItemActivityAssociationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemActivityAssociation", false)) {
+ /**
+ * A {@code LineItemActivityAssociation} associates a {@link LineItem} with an {@link Activity} so
+ * that the conversions of the {@link Activity} can be counted against the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemActivityAssociation {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemActivityAssociation";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $activityId;
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $clickThroughConversionCost;
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $viewThroughConversionCost;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($activityId = null, $clickThroughConversionCost = null, $viewThroughConversionCost = null) {
+ $this->activityId = $activityId;
+ $this->clickThroughConversionCost = $clickThroughConversionCost;
+ $this->viewThroughConversionCost = $viewThroughConversionCost;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemCreativeAssociationError", false)) {
+ /**
+ * Lists all errors associated with line item-to-creative association dates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemCreativeAssociationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemCreativeAssociationError";
+
+ /**
+ * @access public
+ * @var tnsLineItemCreativeAssociationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemError", false)) {
+ /**
+ * A catch-all error that lists all generic errors associated with LineItem.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemError";
+
+ /**
+ * @access public
+ * @var tnsLineItemErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemFlightDateError", false)) {
+ /**
+ * Lists all errors associated with LineItem start and end dates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemFlightDateError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemFlightDateError";
+
+ /**
+ * @access public
+ * @var tnsLineItemFlightDateErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemOperationError", false)) {
+ /**
+ * Lists all errors for executing operations on line items
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemOperationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemOperationError";
+
+ /**
+ * @access public
+ * @var tnsLineItemOperationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemPage", false)) {
+ /**
+ * Captures a page of {@link LineItem} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemPage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var LineItem[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemSummary", false)) {
+ /**
+ * The {@code LineItemSummary} represents the base class from which a {@code
+ * LineItem} is derived.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemSummary {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemSummary";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $orderId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $externalId;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $orderName;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $startDateTime;
+
+ /**
+ * @access public
+ * @var tnsStartDateTimeType
+ */
+ public $startDateTimeType;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $endDateTime;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $autoExtensionDays;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $unlimitedEndDateTime;
+
+ /**
+ * @access public
+ * @var tnsCreativeRotationType
+ */
+ public $creativeRotationType;
+
+ /**
+ * @access public
+ * @var tnsDeliveryRateType
+ */
+ public $deliveryRateType;
+
+ /**
+ * @access public
+ * @var tnsRoadblockingType
+ */
+ public $roadblockingType;
+
+ /**
+ * @access public
+ * @var FrequencyCap[]
+ */
+ public $frequencyCaps;
+
+ /**
+ * @access public
+ * @var tnsLineItemType
+ */
+ public $lineItemType;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $priority;
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $costPerUnit;
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $valueCostPerUnit;
+
+ /**
+ * @access public
+ * @var tnsCostType
+ */
+ public $costType;
+
+ /**
+ * @access public
+ * @var tnsLineItemDiscountType
+ */
+ public $discountType;
+
+ /**
+ * @access public
+ * @var double
+ */
+ public $discount;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $contractedUnitsBought;
+
+ /**
+ * @access public
+ * @var CreativePlaceholder[]
+ */
+ public $creativePlaceholders;
+
+ /**
+ * @access public
+ * @var LineItemActivityAssociation[]
+ */
+ public $activityAssociations;
+
+ /**
+ * @access public
+ * @var tnsTargetPlatform
+ */
+ public $targetPlatform;
+
+ /**
+ * @access public
+ * @var tnsEnvironmentType
+ */
+ public $environmentType;
+
+ /**
+ * @access public
+ * @var tnsCompanionDeliveryOption
+ */
+ public $companionDeliveryOption;
+
+ /**
+ * @access public
+ * @var tnsCreativePersistenceType
+ */
+ public $creativePersistenceType;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowOverbook;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $skipInventoryCheck;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $skipCrossSellingRuleWarningChecks;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $reserveAtCreation;
+
+ /**
+ * @access public
+ * @var Stats
+ */
+ public $stats;
+
+ /**
+ * @access public
+ * @var DeliveryIndicator
+ */
+ public $deliveryIndicator;
+
+ /**
+ * @access public
+ * @var DeliveryData
+ */
+ public $deliveryData;
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $budget;
+
+ /**
+ * @access public
+ * @var tnsComputedStatus
+ */
+ public $status;
+
+ /**
+ * @access public
+ * @var tnsLineItemSummaryReservationStatus
+ */
+ public $reservationStatus;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isArchived;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $webPropertyCode;
+
+ /**
+ * @access public
+ * @var AppliedLabel[]
+ */
+ public $appliedLabels;
+
+ /**
+ * @access public
+ * @var AppliedLabel[]
+ */
+ public $effectiveAppliedLabels;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $disableSameAdvertiserCompetitiveExclusion;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $lastModifiedByApp;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $notes;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $lastModifiedDateTime;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $creationDateTime;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isPrioritizedPreferredDealsEnabled;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $adExchangeAuctionOpeningPriority;
+
+ /**
+ * @access public
+ * @var BaseCustomFieldValue[]
+ */
+ public $customFieldValues;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isSetTopBoxEnabled;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isMissingCreatives;
+
+ /**
+ * @access public
+ * @var SetTopBoxInfo
+ */
+ public $setTopBoxDisplayInfo;
+
+ /**
+ * @access public
+ * @var Goal
+ */
+ public $primaryGoal;
+
+ /**
+ * @access public
+ * @var Goal[]
+ */
+ public $secondaryGoals;
+
+ /**
+ * @access public
+ * @var GrpSettings
+ */
+ public $grpSettings;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($orderId = null, $id = null, $name = null, $externalId = null, $orderName = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $autoExtensionDays = null, $unlimitedEndDateTime = null, $creativeRotationType = null, $deliveryRateType = null, $roadblockingType = null, $frequencyCaps = null, $lineItemType = null, $priority = null, $costPerUnit = null, $valueCostPerUnit = null, $costType = null, $discountType = null, $discount = null, $contractedUnitsBought = null, $creativePlaceholders = null, $activityAssociations = null, $targetPlatform = null, $environmentType = null, $companionDeliveryOption = null, $creativePersistenceType = null, $allowOverbook = null, $skipInventoryCheck = null, $skipCrossSellingRuleWarningChecks = null, $reserveAtCreation = null, $stats = null, $deliveryIndicator = null, $deliveryData = null, $budget = null, $status = null, $reservationStatus = null, $isArchived = null, $webPropertyCode = null, $appliedLabels = null, $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $lastModifiedByApp = null, $notes = null, $lastModifiedDateTime = null, $creationDateTime = null, $isPrioritizedPreferredDealsEnabled = null, $adExchangeAuctionOpeningPriority = null, $customFieldValues = null, $isSetTopBoxEnabled = null, $isMissingCreatives = null, $setTopBoxDisplayInfo = null, $primaryGoal = null, $secondaryGoals = null, $grpSettings = null) {
+ $this->orderId = $orderId;
+ $this->id = $id;
+ $this->name = $name;
+ $this->externalId = $externalId;
+ $this->orderName = $orderName;
+ $this->startDateTime = $startDateTime;
+ $this->startDateTimeType = $startDateTimeType;
+ $this->endDateTime = $endDateTime;
+ $this->autoExtensionDays = $autoExtensionDays;
+ $this->unlimitedEndDateTime = $unlimitedEndDateTime;
+ $this->creativeRotationType = $creativeRotationType;
+ $this->deliveryRateType = $deliveryRateType;
+ $this->roadblockingType = $roadblockingType;
+ $this->frequencyCaps = $frequencyCaps;
+ $this->lineItemType = $lineItemType;
+ $this->priority = $priority;
+ $this->costPerUnit = $costPerUnit;
+ $this->valueCostPerUnit = $valueCostPerUnit;
+ $this->costType = $costType;
+ $this->discountType = $discountType;
+ $this->discount = $discount;
+ $this->contractedUnitsBought = $contractedUnitsBought;
+ $this->creativePlaceholders = $creativePlaceholders;
+ $this->activityAssociations = $activityAssociations;
+ $this->targetPlatform = $targetPlatform;
+ $this->environmentType = $environmentType;
+ $this->companionDeliveryOption = $companionDeliveryOption;
+ $this->creativePersistenceType = $creativePersistenceType;
+ $this->allowOverbook = $allowOverbook;
+ $this->skipInventoryCheck = $skipInventoryCheck;
+ $this->skipCrossSellingRuleWarningChecks = $skipCrossSellingRuleWarningChecks;
+ $this->reserveAtCreation = $reserveAtCreation;
+ $this->stats = $stats;
+ $this->deliveryIndicator = $deliveryIndicator;
+ $this->deliveryData = $deliveryData;
+ $this->budget = $budget;
+ $this->status = $status;
+ $this->reservationStatus = $reservationStatus;
+ $this->isArchived = $isArchived;
+ $this->webPropertyCode = $webPropertyCode;
+ $this->appliedLabels = $appliedLabels;
+ $this->effectiveAppliedLabels = $effectiveAppliedLabels;
+ $this->disableSameAdvertiserCompetitiveExclusion = $disableSameAdvertiserCompetitiveExclusion;
+ $this->lastModifiedByApp = $lastModifiedByApp;
+ $this->notes = $notes;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ $this->creationDateTime = $creationDateTime;
+ $this->isPrioritizedPreferredDealsEnabled = $isPrioritizedPreferredDealsEnabled;
+ $this->adExchangeAuctionOpeningPriority = $adExchangeAuctionOpeningPriority;
+ $this->customFieldValues = $customFieldValues;
+ $this->isSetTopBoxEnabled = $isSetTopBoxEnabled;
+ $this->isMissingCreatives = $isMissingCreatives;
+ $this->setTopBoxDisplayInfo = $setTopBoxDisplayInfo;
+ $this->primaryGoal = $primaryGoal;
+ $this->secondaryGoals = $secondaryGoals;
+ $this->grpSettings = $grpSettings;
+ }
+
+ }
+}
+
+if (!class_exists("DfpLocation", false)) {
+ /**
+ * A {@link Location} represents a geographical entity that can be targeted. If
+ * a location type is not available because of the API version you are using,
+ * the location will be represented as just the base class, otherwise it will be
+ * sub-classed correctly.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpLocation {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Location";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $type;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $canonicalParentId;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $displayName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $type = null, $canonicalParentId = null, $displayName = null) {
+ $this->id = $id;
+ $this->type = $type;
+ $this->canonicalParentId = $canonicalParentId;
+ $this->displayName = $displayName;
+ }
+
+ }
+}
+
+if (!class_exists("MobileCarrierTargeting", false)) {
+ /**
+ * Represents mobile carriers that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileCarrierTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileCarrierTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $mobileCarriers;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $mobileCarriers = null) {
+ $this->isTargeted = $isTargeted;
+ $this->mobileCarriers = $mobileCarriers;
+ }
+
+ }
+}
+
+if (!class_exists("MobileDeviceSubmodelTargeting", false)) {
+ /**
+ * Represents mobile devices that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileDeviceSubmodelTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileDeviceSubmodelTargeting";
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $targetedMobileDeviceSubmodels;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $excludedMobileDeviceSubmodels;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedMobileDeviceSubmodels = null, $excludedMobileDeviceSubmodels = null) {
+ $this->targetedMobileDeviceSubmodels = $targetedMobileDeviceSubmodels;
+ $this->excludedMobileDeviceSubmodels = $excludedMobileDeviceSubmodels;
+ }
+
+ }
+}
+
+if (!class_exists("MobileDeviceTargeting", false)) {
+ /**
+ * Represents mobile devices that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileDeviceTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileDeviceTargeting";
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $targetedMobileDevices;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $excludedMobileDevices;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedMobileDevices = null, $excludedMobileDevices = null) {
+ $this->targetedMobileDevices = $targetedMobileDevices;
+ $this->excludedMobileDevices = $excludedMobileDevices;
+ }
+
+ }
+}
+
+if (!class_exists("Money", false)) {
+ /**
+ * Represents a money amount.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Money {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Money";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $currencyCode;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $microAmount;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($currencyCode = null, $microAmount = null) {
+ $this->currencyCode = $currencyCode;
+ $this->microAmount = $microAmount;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NullError", false)) {
+ /**
+ * Errors associated with violation of a NOT NULL check.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("OperatingSystemTargeting", false)) {
+ /**
+ * Represents operating systems that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OperatingSystemTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OperatingSystemTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $operatingSystems;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $operatingSystems = null) {
+ $this->isTargeted = $isTargeted;
+ $this->operatingSystems = $operatingSystems;
+ }
+
+ }
+}
+
+if (!class_exists("OperatingSystemVersionTargeting", false)) {
+ /**
+ * Represents operating system versions that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OperatingSystemVersionTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OperatingSystemVersionTargeting";
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $targetedOperatingSystemVersions;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $excludedOperatingSystemVersions;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedOperatingSystemVersions = null, $excludedOperatingSystemVersions = null) {
+ $this->targetedOperatingSystemVersions = $targetedOperatingSystemVersions;
+ $this->excludedOperatingSystemVersions = $excludedOperatingSystemVersions;
+ }
+
+ }
+}
+
+if (!class_exists("OrderError", false)) {
+ /**
+ * Lists all errors associated with orders.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OrderError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OrderError";
+
+ /**
+ * @access public
+ * @var tnsOrderErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ParseError", false)) {
+ /**
+ * Lists errors related to parsing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError";
+
+ /**
+ * @access public
+ * @var tnsParseErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PauseLineItems", false)) {
+ /**
+ * The action used for pausing {@link LineItem} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PauseLineItems extends LineItemAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PauseLineItems";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProgrammaticError", false)) {
+ /**
+ * Errors associated with programmatic line items
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProgrammaticError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProgrammaticError";
+
+ /**
+ * @access public
+ * @var tnsProgrammaticErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RangeError", false)) {
+ /**
+ * A list of all errors associated with the Range constraint.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError";
+
+ /**
+ * @access public
+ * @var tnsRangeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ReleaseLineItems", false)) {
+ /**
+ * The action used for releasing {@link LineItem} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReleaseLineItems extends LineItemAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReleaseLineItems";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionError", false)) {
+ /**
+ * A list of all errors to be used for validating sizes of collections.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError";
+
+ /**
+ * @access public
+ * @var tnsRequiredCollectionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberError", false)) {
+ /**
+ * A list of all errors to be used in conjunction with required number
+ * validators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError";
+
+ /**
+ * @access public
+ * @var tnsRequiredNumberErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredSizeError", false)) {
+ /**
+ * A list of all errors to be used for validating {@link Size}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredSizeError";
+
+ /**
+ * @access public
+ * @var tnsRequiredSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ReservationDetailsError", false)) {
+ /**
+ * Lists all errors associated with LineItem's reservation details.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReservationDetailsError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReservationDetailsError";
+
+ /**
+ * @access public
+ * @var tnsReservationDetailsErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ReserveLineItems", false)) {
+ /**
+ * The action used for reserving {@link LineItem} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReserveLineItems extends LineItemAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReserveLineItems";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $skipInventoryCheck;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($skipInventoryCheck = null) {
+ parent::__construct();
+ $this->skipInventoryCheck = $skipInventoryCheck;
+ }
+
+ }
+}
+
+if (!class_exists("ResumeLineItems", false)) {
+ /**
+ * The action used for resuming {@link LineItem} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ResumeLineItems extends LineItemAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ResumeLineItems";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $skipInventoryCheck;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($skipInventoryCheck = null) {
+ parent::__construct();
+ $this->skipInventoryCheck = $skipInventoryCheck;
+ }
+
+ }
+}
+
+if (!class_exists("AudienceSegmentError", false)) {
+ /**
+ * Errors that could occur on audience segment related requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceSegmentError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceSegmentError";
+
+ /**
+ * @access public
+ * @var tnsAudienceSegmentErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SetTopBoxInfo", false)) {
+ /**
+ * Contains data used to display information synchronized with Canoe for set-top box enabled
+ * {@link LineItem line items}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetTopBoxInfo {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetTopBoxInfo";
+
+ /**
+ * @access public
+ * @var tnsSetTopBoxSyncStatus
+ */
+ public $syncStatus;
+
+ /**
+ * @access public
+ * @var tnsCanoeSyncResult
+ */
+ public $lastSyncResult;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $lastSyncCanoeResponseMessage;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $nielsenProductCategoryCode;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($syncStatus = null, $lastSyncResult = null, $lastSyncCanoeResponseMessage = null, $nielsenProductCategoryCode = null) {
+ $this->syncStatus = $syncStatus;
+ $this->lastSyncResult = $lastSyncResult;
+ $this->lastSyncCanoeResponseMessage = $lastSyncCanoeResponseMessage;
+ $this->nielsenProductCategoryCode = $nielsenProductCategoryCode;
+ }
+
+ }
+}
+
+if (!class_exists("SetTopBoxLineItemError", false)) {
+ /**
+ * Errors associated with set-top box {@link LineItem line items}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetTopBoxLineItemError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetTopBoxLineItemError";
+
+ /**
+ * @access public
+ * @var tnsSetTopBoxLineItemErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Size", false)) {
+ /**
+ * Represents the dimensions of an {@link AdUnit}, {@link LineItem} or {@link Creative}.
+ *
+ * For interstitial size (out-of-page) and native size, {@code Size} must be 1x1.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Size {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Size";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $width;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $height;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isAspectRatio;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($width = null, $height = null, $isAspectRatio = null) {
+ $this->width = $width;
+ $this->height = $height;
+ $this->isAspectRatio = $isAspectRatio;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Stats", false)) {
+ /**
+ * {@code Stats} contains trafficking statistics for {@link LineItem} and
+ * {@link LineItemCreativeAssociation} objects
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Stats {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Stats";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $impressionsDelivered;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $clicksDelivered;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $videoCompletionsDelivered;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $videoStartsDelivered;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($impressionsDelivered = null, $clicksDelivered = null, $videoCompletionsDelivered = null, $videoStartsDelivered = null) {
+ $this->impressionsDelivered = $impressionsDelivered;
+ $this->clicksDelivered = $clicksDelivered;
+ $this->videoCompletionsDelivered = $videoCompletionsDelivered;
+ $this->videoStartsDelivered = $videoStartsDelivered;
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthError", false)) {
+ /**
+ * Errors for Strings which do not meet given length constraints.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("Targeting", false)) {
+ /**
+ * Contains targeting criteria for {@link LineItem} objects. See
+ * {@link LineItem#targeting}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Targeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Targeting";
+
+ /**
+ * @access public
+ * @var GeoTargeting
+ */
+ public $geoTargeting;
+
+ /**
+ * @access public
+ * @var InventoryTargeting
+ */
+ public $inventoryTargeting;
+
+ /**
+ * @access public
+ * @var DayPartTargeting
+ */
+ public $dayPartTargeting;
+
+ /**
+ * @access public
+ * @var TechnologyTargeting
+ */
+ public $technologyTargeting;
+
+ /**
+ * @access public
+ * @var CustomCriteriaSet
+ */
+ public $customTargeting;
+
+ /**
+ * @access public
+ * @var UserDomainTargeting
+ */
+ public $userDomainTargeting;
+
+ /**
+ * @access public
+ * @var ContentTargeting
+ */
+ public $contentTargeting;
+
+ /**
+ * @access public
+ * @var VideoPositionTargeting
+ */
+ public $videoPositionTargeting;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($geoTargeting = null, $inventoryTargeting = null, $dayPartTargeting = null, $technologyTargeting = null, $customTargeting = null, $userDomainTargeting = null, $contentTargeting = null, $videoPositionTargeting = null) {
+ $this->geoTargeting = $geoTargeting;
+ $this->inventoryTargeting = $inventoryTargeting;
+ $this->dayPartTargeting = $dayPartTargeting;
+ $this->technologyTargeting = $technologyTargeting;
+ $this->customTargeting = $customTargeting;
+ $this->userDomainTargeting = $userDomainTargeting;
+ $this->contentTargeting = $contentTargeting;
+ $this->videoPositionTargeting = $videoPositionTargeting;
+ }
+
+ }
+}
+
+if (!class_exists("TeamError", false)) {
+ /**
+ * Errors related to a Team.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TeamError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TeamError";
+
+ /**
+ * @access public
+ * @var tnsTeamErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Technology", false)) {
+ /**
+ * Represents a technology entity that can be targeted.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Technology";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("TechnologyTargetingError", false)) {
+ /**
+ * Technology targeting validation errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TechnologyTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TechnologyTargetingError";
+
+ /**
+ * @access public
+ * @var tnsTechnologyTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TimeOfDay", false)) {
+ /**
+ * Represents a specific time in a day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TimeOfDay {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TimeOfDay";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var tnsMinuteOfHour
+ */
+ public $minute;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($hour = null, $minute = null) {
+ $this->hour = $hour;
+ $this->minute = $minute;
+ }
+
+ }
+}
+
+if (!class_exists("TimeZoneError", false)) {
+ /**
+ * Errors related to timezones.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TimeZoneError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TimeZoneError";
+
+ /**
+ * @access public
+ * @var tnsTimeZoneErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TypeError", false)) {
+ /**
+ * An error for a field which is an invalid type.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TypeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TypeError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UnarchiveLineItems", false)) {
+ /**
+ * The action used for unarchiving {@link LineItem} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UnarchiveLineItems extends LineItemAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UnarchiveLineItems";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateResult", false)) {
+ /**
+ * Represents the result of performing an action on objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UpdateResult";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numChanges;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($numChanges = null) {
+ $this->numChanges = $numChanges;
+ }
+
+ }
+}
+
+if (!class_exists("UserDomainTargeting", false)) {
+ /**
+ * Provides line items the ability to target or exclude users visiting their
+ * websites from a list of domains or subdomains.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserDomainTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserDomainTargeting";
+
+ /**
+ * @access public
+ * @var string[]
+ */
+ public $domains;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $targeted;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($domains = null, $targeted = null) {
+ $this->domains = $domains;
+ $this->targeted = $targeted;
+ }
+
+ }
+}
+
+if (!class_exists("UserDomainTargetingError", false)) {
+ /**
+ * Lists all errors related to user domain targeting for a line item.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserDomainTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserDomainTargetingError";
+
+ /**
+ * @access public
+ * @var tnsUserDomainTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("VideoPosition", false)) {
+ /**
+ * Represents a targetable position within a video. A video ad can be targeted
+ * to a position (pre-roll, all mid-rolls, or post-roll), or to a specific mid-roll index.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPosition {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPosition";
+
+ /**
+ * @access public
+ * @var tnsVideoPositionType
+ */
+ public $positionType;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $midrollIndex;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($positionType = null, $midrollIndex = null) {
+ $this->positionType = $positionType;
+ $this->midrollIndex = $midrollIndex;
+ }
+
+ }
+}
+
+if (!class_exists("VideoPositionTargeting", false)) {
+ /**
+ * Represents positions within and around a video where ads can be targeted to.
+ *
+ * Example positions could be {@code pre-roll} (before the video plays),
+ * {@code post-roll} (after a video has completed playback) and
+ * {@code mid-roll} (during video playback).
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPositionTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPositionTargeting";
+
+ /**
+ * @access public
+ * @var VideoPositionTarget[]
+ */
+ public $targetedPositions;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedPositions = null) {
+ $this->targetedPositions = $targetedPositions;
+ }
+
+ }
+}
+
+if (!class_exists("VideoPositionWithinPod", false)) {
+ /**
+ * Represents a targetable position within a pod within a video stream. A video ad can be targeted
+ * to any position in the pod (first, second, third ... last). If there is only 1 ad in a pod,
+ * either first or last will target that position.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPositionWithinPod {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPositionWithinPod";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $index;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($index = null) {
+ $this->index = $index;
+ }
+
+ }
+}
+
+if (!class_exists("VideoPositionTarget", false)) {
+ /**
+ * Represents the options for targetable positions within a video.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPositionTarget {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPositionTarget";
+
+ /**
+ * @access public
+ * @var VideoPosition
+ */
+ public $videoPosition;
+
+ /**
+ * @access public
+ * @var tnsVideoBumperType
+ */
+ public $videoBumperType;
+
+ /**
+ * @access public
+ * @var VideoPositionWithinPod
+ */
+ public $videoPositionWithinPod;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($videoPosition = null, $videoBumperType = null, $videoPositionWithinPod = null) {
+ $this->videoPosition = $videoPosition;
+ $this->videoBumperType = $videoBumperType;
+ $this->videoPositionWithinPod = $videoPositionWithinPod;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AudienceExtensionErrorReason", false)) {
+ /**
+ * Specific audience extension error reasons.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceExtensionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceExtensionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CanoeSyncResult", false)) {
+ /**
+ * Represents sync result types between set-top box enabled {@link LineItem line items} and Canoe.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CanoeSyncResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CanoeSyncResult";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ClickTrackingLineItemErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ClickTrackingLineItemErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ClickTrackingLineItemError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CompanionDeliveryOption", false)) {
+ /**
+ * The delivery option for companions. Used for line items whose environmentType is
+ * {@link EnvironmentType#VIDEO_PLAYER}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CompanionDeliveryOption {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CompanionDeliveryOption";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CompanyCreditStatusErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CompanyCreditStatusErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CompanyCreditStatusError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ComputedStatus", false)) {
+ /**
+ * Describes the computed {@link LineItem} status that is derived from the
+ * current state of the line item.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ComputedStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ComputedStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ContentMetadataTargetingErrorReason", false)) {
+ /**
+ * The reasons for the metadata targeting error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentMetadataTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentMetadataTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CostType", false)) {
+ /**
+ * Describes the {@link LineItem} actions that are billable.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CostType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CostType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeRotationType", false)) {
+ /**
+ * The strategy to use for displaying multiple {@link Creative} objects that are
+ * associated with a {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeRotationType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeRotationType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeSizeType", false)) {
+ /**
+ * Descriptions of the types of sizes a creative can be. Not all creatives can
+ * be described by a height-width pair, this provides additional context.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeSizeType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeSizeType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CrossSellErrorReason", false)) {
+ /**
+ * The reason of the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CrossSellErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CrossSellError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaComparisonOperator", false)) {
+ /**
+ * Specifies the available comparison operators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaComparisonOperator {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteria.ComparisonOperator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaSetLogicalOperator", false)) {
+ /**
+ * Specifies the available logical operators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaSetLogicalOperator {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteriaSet.LogicalOperator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValueErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValueErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValueError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AudienceSegmentCriteriaComparisonOperator", false)) {
+ /**
+ * Specifies the available comparison operators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceSegmentCriteriaComparisonOperator {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceSegmentCriteria.ComparisonOperator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeRangeTargetingErrorReason", false)) {
+ /**
+ * {@link ApiErrorReason} enum for date time range targeting error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeRangeTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeRangeTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("DayOfWeek", false)) {
+ /**
+ * Days of the week.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DayOfWeek {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DayOfWeek";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("DayPartTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DayPartTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DayPartTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("DeliveryTimeZone", false)) {
+ /**
+ * Represents the time zone to be used for {@link DayPartTargeting}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeliveryTimeZone {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeliveryTimeZone";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("DeliveryRateType", false)) {
+ /**
+ * Possible delivery rates for a {@link LineItem}, which dictate the manner in
+ * which they are served.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeliveryRateType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeliveryRateType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("EntityChildrenLimitReachedErrorReason", false)) {
+ /**
+ * The reasons for the entity children limit reached error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityChildrenLimitReachedErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityChildrenLimitReachedError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("EnvironmentType", false)) {
+ /**
+ * Enum for the valid environments in which ads can be shown.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EnvironmentType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EnvironmentType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ForecastErrorReason", false)) {
+ /**
+ * Reason why a forecast could not be retrieved.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ForecastErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ForecastError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FrequencyCapErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FrequencyCapErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FrequencyCapError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GenericTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GenericTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GenericTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GeoTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GeoTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GeoTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GoalType", false)) {
+ /**
+ * Specifies the type of the goal for a {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GoalType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GoalType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GrpProvider", false)) {
+ /**
+ * Represents available GRP providers that a line item will have its target demographic measured by.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GrpProvider {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GrpProvider";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GrpSettingsErrorReason", false)) {
+ /**
+ * Reason for GRP settings error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GrpSettingsErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GrpSettingsError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GrpTargetGender", false)) {
+ /**
+ * Represents the target gender for a GRP demographic targeted line item.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GrpTargetGender {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GrpTargetGender";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ImageErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ImageErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ImageError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InvalidUrlErrorReason", false)) {
+ /**
+ * The URL contains invalid characters.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidUrlErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidUrlError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InventoryTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LabelEntityAssociationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelEntityAssociationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelEntityAssociationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemActivityAssociationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemActivityAssociationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemActivityAssociationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemCreativeAssociationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemCreativeAssociationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemCreativeAssociationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemDiscountType", false)) {
+ /**
+ * Describes the possible discount types on the cost of booking a
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemDiscountType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemDiscountType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemFlightDateErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemFlightDateErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemFlightDateError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemOperationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemOperationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemOperationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemSummaryReservationStatus", false)) {
+ /**
+ * Specifies the reservation status of the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemSummaryReservationStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemSummary.ReservationStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemType", false)) {
+ /**
+ * {@code LineItemType} indicates the priority of a {@link LineItem}, determined
+ * by the way in which impressions are reserved to be served for it.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("MinuteOfHour", false)) {
+ /**
+ * Minutes in an hour. Currently, only 0, 15, 30, and 45 are supported. This
+ * field is required.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MinuteOfHour {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MinuteOfHour";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NullErrorReason", false)) {
+ /**
+ * The reasons for the validation error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("OrderErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OrderErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OrderError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ParseErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativePersistenceType", false)) {
+ /**
+ * Specifies options to prevent ads from replacing or appearing with this
+ * line item. If persistence is set, this line item's ads will not be
+ * replaced over time, whether through AJAX or other means, such as
+ * companions of video ads.
+ * Additionally, if set to exclude none, other ads can be shown in any
+ * slots not being used by this line item. If set to exclude display ads,
+ * video ads can be shown, but no other display ads can be shown, even
+ * in slots that aren't used by this line item. If set to exclude video ads,
+ * video ads cannot be shown, but other display ads can be shown in unused
+ * slots. If set to exclude all ads, no other ads can be shown until the
+ * page is changed.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativePersistenceType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativePersistenceType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProgrammaticErrorReason", false)) {
+ /**
+ * Audience extension is not supported by programmatic line items.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProgrammaticErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProgrammaticError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RangeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionErrorReason", false)) {
+ /**
+ * A required collection is missing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberErrorReason", false)) {
+ /**
+ * Describes reasons for a number to be invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredSizeErrorReason", false)) {
+ /**
+ * {@link Creative#size} or {@link LineItem#creativeSizes} is
+ * missing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ReservationDetailsErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReservationDetailsErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReservationDetailsError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RoadblockingType", false)) {
+ /**
+ * Describes the roadblocking types.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RoadblockingType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RoadblockingType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AudienceSegmentErrorReason", false)) {
+ /**
+ * Reason of the given {@link AudienceSegmentError}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceSegmentErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceSegmentError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("SetTopBoxLineItemErrorReason", false)) {
+ /**
+ * Reason for set-top box error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetTopBoxLineItemErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetTopBoxLineItemError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("SetTopBoxSyncStatus", false)) {
+ class SetTopBoxSyncStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetTopBoxSyncStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StartDateTimeType", false)) {
+ /**
+ * Specifies the start type to use for an entity with a start date time field.
+ * For example, a {@link LineItem} or {@link LineItemCreativeAssociation}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StartDateTimeType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StartDateTimeType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TargetPlatform", false)) {
+ /**
+ * Indicates the target platform.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TargetPlatform {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TargetPlatform";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TeamErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TeamErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TeamError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TechnologyTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TechnologyTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TechnologyTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TimeUnit", false)) {
+ /**
+ * Represent the possible time units for frequency capping.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TimeUnit {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TimeUnit";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TimeZoneErrorReason", false)) {
+ /**
+ * Describes reasons for invalid timezone.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TimeZoneErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TimeZoneError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("UnitType", false)) {
+ /**
+ * Indicates the type of unit used for defining a reservation. The
+ * {@link CostType} can differ from the {@link UnitType} - an
+ * ad can have an impression goal, but be billed by its click. Usually
+ * {@link CostType} and {@link UnitType} will refer to the
+ * same unit.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UnitType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UnitType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("UserDomainTargetingErrorReason", false)) {
+ /**
+ * {@link ApiErrorReason} enum for user domain targeting error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserDomainTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserDomainTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("VideoBumperType", false)) {
+ /**
+ * Represents the options for targetable bumper positions, surrounding an ad
+ * pod, within a video stream. This includes before and after the supported ad
+ * pod positions, {@link VideoPositionType#PREROLL},
+ * {@link VideoPositionType#MIDROLL}, and {@link VideoPositionType#POSTROLL}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoBumperType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoBumperType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("VideoPositionType", false)) {
+ /**
+ * Represents a targetable position within a video.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPositionType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPosition.Type";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreateLineItems", false)) {
+ /**
+ * Creates new {@link LineItem} objects.
+ *
+ * @param lineItems the line items to create
+ * @return the created line items with their IDs filled in
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateLineItems {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var LineItem[]
+ */
+ public $lineItems;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($lineItems = null) {
+ $this->lineItems = $lineItems;
+ }
+
+ }
+}
+
+if (!class_exists("CreateLineItemsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateLineItemsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var LineItem[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetLineItemsByStatement", false)) {
+ /**
+ * Gets a {@link LineItemPage} of {@link LineItem} objects that satisfy the
+ * given {@link Statement#query}. The following fields are supported for
+ * filtering:
+ *
+ *
+ * PQL property | Entity property |
+ * CostType | {@link LineItem#costType} |
+ * CreationDateTime | {@link LineItem#creationDateTime} |
+ * DeliveryRateType | {@link LineItem#deliveryRateType} |
+ * EndDateTime | {@link LineItem#endDateTime} |
+ * ExternalId | {@link LineItem#externalId} |
+ * Id | {@link LineItem#id} |
+ * IsMissingCreatives | {@link LineItem#isMissingCreatives} |
+ * IsSetTopBoxEnabled | {@link LineItem#isSetTopBoxEnabled} |
+ * LastModifiedDateTime | {@link LineItem#lastModifiedDateTime} |
+ * LineItemType | {@link LineItem#lineItemType} |
+ * Name | {@link LineItem#name} |
+ * OrderId | {@link LineItem#orderId} |
+ * StartDateTime | {@link LineItem#startDateTime} |
+ * Status | {@link LineItem#status} |
+ * Targeting | {@link LineItem#targeting} |
+ * UnitsBought | {@link LineItem#unitsBought} |
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of line items.
+ * @return the line items that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetLineItemsByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetLineItemsByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetLineItemsByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var LineItemPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("PerformLineItemAction", false)) {
+ /**
+ * Performs actions on {@link LineItem} objects that match the given
+ * {@link Statement#query}.
+ *
+ * @param lineItemAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of line items
+ * @return the result of the action performed
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformLineItemAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var LineItemAction
+ */
+ public $lineItemAction;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($lineItemAction = null, $filterStatement = null) {
+ $this->lineItemAction = $lineItemAction;
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("PerformLineItemActionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformLineItemActionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UpdateResult
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateLineItems", false)) {
+ /**
+ * Updates the specified {@link LineItem} objects.
+ *
+ * @param lineItems the line items to update
+ * @return the updated line items
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateLineItems {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var LineItem[]
+ */
+ public $lineItems;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($lineItems = null) {
+ $this->lineItems = $lineItems;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateLineItemsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateLineItemsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var LineItem[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ActivateLineItems", false)) {
+ /**
+ * The action used for activating {@link LineItem} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ActivateLineItems extends LineItemAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ActivateLineItems";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("ArchiveLineItems", false)) {
+ /**
+ * The action used for archiving {@link LineItem} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ArchiveLineItems extends LineItemAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ArchiveLineItems";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("BandwidthGroup", false)) {
+ /**
+ * Represents a group of bandwidths that are logically organized by some well
+ * known generic names such as 'Cable' or 'DSL'.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BandwidthGroup extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BandwidthGroup";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("Browser", false)) {
+ /**
+ * Represents an internet browser.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Browser extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Browser";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $majorVersion;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $minorVersion;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($majorVersion = null, $minorVersion = null, $id = null, $name = null) {
+ parent::__construct();
+ $this->majorVersion = $majorVersion;
+ $this->minorVersion = $minorVersion;
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("BrowserLanguage", false)) {
+ /**
+ * Represents a Browser's language.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BrowserLanguage extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BrowserLanguage";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaSet", false)) {
+ /**
+ * A {@link CustomCriteriaSet} comprises of a set of {@link CustomCriteriaNode}
+ * objects combined by the
+ * {@link CustomCriteriaSet.LogicalOperator#logicalOperator}. The custom
+ * criteria targeting tree is subject to the rules defined on
+ * {@link Targeting#customTargeting}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaSet extends CustomCriteriaNode {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteriaSet";
+
+ /**
+ * @access public
+ * @var tnsCustomCriteriaSetLogicalOperator
+ */
+ public $logicalOperator;
+
+ /**
+ * @access public
+ * @var CustomCriteriaNode[]
+ */
+ public $children;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($logicalOperator = null, $children = null) {
+ parent::__construct();
+ $this->logicalOperator = $logicalOperator;
+ $this->children = $children;
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaLeaf", false)) {
+ /**
+ * A {@link CustomCriteriaLeaf} object represents a generic leaf of {@link CustomCriteria} tree
+ * structure.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaLeaf extends CustomCriteriaNode {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteriaLeaf";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("AudienceSegmentCriteria", false)) {
+ /**
+ * An {@link AudienceSegmentCriteria} object is used to target {@link AudienceSegment} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceSegmentCriteria extends CustomCriteriaLeaf {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceSegmentCriteria";
+
+ /**
+ * @access public
+ * @var tnsAudienceSegmentCriteriaComparisonOperator
+ */
+ public $operator;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $audienceSegmentIds;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($operator = null, $audienceSegmentIds = null) {
+ parent::__construct();
+ $this->operator = $operator;
+ $this->audienceSegmentIds = $audienceSegmentIds;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DeleteLineItems", false)) {
+ /**
+ * The action used for deleting {@link LineItem} objects. A line item can be
+ * deleted if it has never been eligible to serve.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeleteLineItems extends LineItemAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeleteLineItems";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("DeviceCapability", false)) {
+ /**
+ * Represents a capability of a physical device.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceCapability extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceCapability";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceCategory", false)) {
+ /**
+ * Represents the category of a device.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceCategory extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceCategory";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceManufacturer", false)) {
+ /**
+ * Represents a mobile device's manufacturer.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceManufacturer extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceManufacturer";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("LineItem", false)) {
+ /**
+ * {@code LineItem} is an advertiser's commitment to purchase a specific number
+ * of ad impressions, clicks, or time.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItem extends LineItemSummary {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItem";
+
+ /**
+ * @access public
+ * @var Targeting
+ */
+ public $targeting;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targeting = null, $orderId = null, $id = null, $name = null, $externalId = null, $orderName = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $autoExtensionDays = null, $unlimitedEndDateTime = null, $creativeRotationType = null, $deliveryRateType = null, $roadblockingType = null, $frequencyCaps = null, $lineItemType = null, $priority = null, $costPerUnit = null, $valueCostPerUnit = null, $costType = null, $discountType = null, $discount = null, $contractedUnitsBought = null, $creativePlaceholders = null, $activityAssociations = null, $targetPlatform = null, $environmentType = null, $companionDeliveryOption = null, $creativePersistenceType = null, $allowOverbook = null, $skipInventoryCheck = null, $skipCrossSellingRuleWarningChecks = null, $reserveAtCreation = null, $stats = null, $deliveryIndicator = null, $deliveryData = null, $budget = null, $status = null, $reservationStatus = null, $isArchived = null, $webPropertyCode = null, $appliedLabels = null, $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $lastModifiedByApp = null, $notes = null, $lastModifiedDateTime = null, $creationDateTime = null, $isPrioritizedPreferredDealsEnabled = null, $adExchangeAuctionOpeningPriority = null, $customFieldValues = null, $isSetTopBoxEnabled = null, $isMissingCreatives = null, $setTopBoxDisplayInfo = null, $primaryGoal = null, $secondaryGoals = null, $grpSettings = null) {
+ parent::__construct();
+ $this->targeting = $targeting;
+ $this->orderId = $orderId;
+ $this->id = $id;
+ $this->name = $name;
+ $this->externalId = $externalId;
+ $this->orderName = $orderName;
+ $this->startDateTime = $startDateTime;
+ $this->startDateTimeType = $startDateTimeType;
+ $this->endDateTime = $endDateTime;
+ $this->autoExtensionDays = $autoExtensionDays;
+ $this->unlimitedEndDateTime = $unlimitedEndDateTime;
+ $this->creativeRotationType = $creativeRotationType;
+ $this->deliveryRateType = $deliveryRateType;
+ $this->roadblockingType = $roadblockingType;
+ $this->frequencyCaps = $frequencyCaps;
+ $this->lineItemType = $lineItemType;
+ $this->priority = $priority;
+ $this->costPerUnit = $costPerUnit;
+ $this->valueCostPerUnit = $valueCostPerUnit;
+ $this->costType = $costType;
+ $this->discountType = $discountType;
+ $this->discount = $discount;
+ $this->contractedUnitsBought = $contractedUnitsBought;
+ $this->creativePlaceholders = $creativePlaceholders;
+ $this->activityAssociations = $activityAssociations;
+ $this->targetPlatform = $targetPlatform;
+ $this->environmentType = $environmentType;
+ $this->companionDeliveryOption = $companionDeliveryOption;
+ $this->creativePersistenceType = $creativePersistenceType;
+ $this->allowOverbook = $allowOverbook;
+ $this->skipInventoryCheck = $skipInventoryCheck;
+ $this->skipCrossSellingRuleWarningChecks = $skipCrossSellingRuleWarningChecks;
+ $this->reserveAtCreation = $reserveAtCreation;
+ $this->stats = $stats;
+ $this->deliveryIndicator = $deliveryIndicator;
+ $this->deliveryData = $deliveryData;
+ $this->budget = $budget;
+ $this->status = $status;
+ $this->reservationStatus = $reservationStatus;
+ $this->isArchived = $isArchived;
+ $this->webPropertyCode = $webPropertyCode;
+ $this->appliedLabels = $appliedLabels;
+ $this->effectiveAppliedLabels = $effectiveAppliedLabels;
+ $this->disableSameAdvertiserCompetitiveExclusion = $disableSameAdvertiserCompetitiveExclusion;
+ $this->lastModifiedByApp = $lastModifiedByApp;
+ $this->notes = $notes;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ $this->creationDateTime = $creationDateTime;
+ $this->isPrioritizedPreferredDealsEnabled = $isPrioritizedPreferredDealsEnabled;
+ $this->adExchangeAuctionOpeningPriority = $adExchangeAuctionOpeningPriority;
+ $this->customFieldValues = $customFieldValues;
+ $this->isSetTopBoxEnabled = $isSetTopBoxEnabled;
+ $this->isMissingCreatives = $isMissingCreatives;
+ $this->setTopBoxDisplayInfo = $setTopBoxDisplayInfo;
+ $this->primaryGoal = $primaryGoal;
+ $this->secondaryGoals = $secondaryGoals;
+ $this->grpSettings = $grpSettings;
+ }
+
+ }
+}
+
+if (!class_exists("MobileCarrier", false)) {
+ /**
+ * Represents a mobile carrier.
+ * Carrier targeting is only available to DFP mobile publishers.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileCarrier extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileCarrier";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("MobileDevice", false)) {
+ /**
+ * Represents a Mobile Device.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileDevice extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileDevice";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $manufacturerCriterionId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($manufacturerCriterionId = null, $id = null, $name = null) {
+ parent::__construct();
+ $this->manufacturerCriterionId = $manufacturerCriterionId;
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("MobileDeviceSubmodel", false)) {
+ /**
+ * Represents a mobile device submodel.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileDeviceSubmodel extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileDeviceSubmodel";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $mobileDeviceCriterionId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $deviceManufacturerCriterionId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($mobileDeviceCriterionId = null, $deviceManufacturerCriterionId = null, $id = null, $name = null) {
+ parent::__construct();
+ $this->mobileDeviceCriterionId = $mobileDeviceCriterionId;
+ $this->deviceManufacturerCriterionId = $deviceManufacturerCriterionId;
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("OperatingSystem", false)) {
+ /**
+ * Represents an Operating System, such as Linux, Mac OS or Windows.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OperatingSystem extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OperatingSystem";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("OperatingSystemVersion", false)) {
+ /**
+ * Represents a specific version of an operating system.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OperatingSystemVersion extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OperatingSystemVersion";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $majorVersion;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minorVersion;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $microVersion;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($majorVersion = null, $minorVersion = null, $microVersion = null, $id = null, $name = null) {
+ parent::__construct();
+ $this->majorVersion = $majorVersion;
+ $this->minorVersion = $minorVersion;
+ $this->microVersion = $microVersion;
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("ReserveAndOverbookLineItems", false)) {
+ /**
+ * The action used for reserving and overbooking {@link LineItem} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReserveAndOverbookLineItems extends ReserveLineItems {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReserveAndOverbookLineItems";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($skipInventoryCheck = null) {
+ parent::__construct();
+ $this->skipInventoryCheck = $skipInventoryCheck;
+ }
+
+ }
+}
+
+if (!class_exists("ResumeAndOverbookLineItems", false)) {
+ /**
+ * The action used for resuming and overbooking {@link LineItem} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ResumeAndOverbookLineItems extends ResumeLineItems {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ResumeAndOverbookLineItems";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($skipInventoryCheck = null) {
+ parent::__construct();
+ $this->skipInventoryCheck = $skipInventoryCheck;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteria", false)) {
+ /**
+ * A {@link CustomCriteria} object is used to perform custom criteria targeting
+ * on custom targeting keys of type {@link CustomTargetingKey.Type#PREDEFINED}
+ * or {@link CustomTargetingKey.Type#FREEFORM}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteria extends CustomCriteriaLeaf {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteria";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $keyId;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $valueIds;
+
+ /**
+ * @access public
+ * @var tnsCustomCriteriaComparisonOperator
+ */
+ public $operator;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($keyId = null, $valueIds = null, $operator = null) {
+ parent::__construct();
+ $this->keyId = $keyId;
+ $this->valueIds = $valueIds;
+ $this->operator = $operator;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemService", false)) {
+ /**
+ * LineItemService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemService extends DfpSoapClient {
+
+ const SERVICE_NAME = "LineItemService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/LineItemService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/LineItemService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ActivateLineItems" => "ActivateLineItems",
+ "AdUnitTargeting" => "AdUnitTargeting",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "TechnologyTargeting" => "TechnologyTargeting",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AppliedLabel" => "AppliedLabel",
+ "ArchiveLineItems" => "ArchiveLineItems",
+ "AudienceExtensionError" => "AudienceExtensionError",
+ "AuthenticationError" => "AuthenticationError",
+ "BandwidthGroup" => "BandwidthGroup",
+ "BandwidthGroupTargeting" => "BandwidthGroupTargeting",
+ "BaseCustomFieldValue" => "BaseCustomFieldValue",
+ "BooleanValue" => "BooleanValue",
+ "Browser" => "Browser",
+ "BrowserLanguage" => "BrowserLanguage",
+ "BrowserLanguageTargeting" => "BrowserLanguageTargeting",
+ "BrowserTargeting" => "BrowserTargeting",
+ "ClickTrackingLineItemError" => "ClickTrackingLineItemError",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "CompanyCreditStatusError" => "CompanyCreditStatusError",
+ "ContentMetadataKeyHierarchyTargeting" => "ContentMetadataKeyHierarchyTargeting",
+ "ContentMetadataTargetingError" => "ContentMetadataTargetingError",
+ "ContentTargeting" => "ContentTargeting",
+ "CreativeError" => "CreativeError",
+ "CreativePlaceholder" => "CreativePlaceholder",
+ "CrossSellError" => "CrossSellError",
+ "CustomCriteria" => "CustomCriteria",
+ "CustomCriteriaSet" => "CustomCriteriaSet",
+ "CustomFieldValue" => "CustomFieldValue",
+ "CustomFieldValueError" => "CustomFieldValueError",
+ "CustomTargetingError" => "CustomTargetingError",
+ "CustomCriteriaLeaf" => "CustomCriteriaLeaf",
+ "CustomCriteriaNode" => "CustomCriteriaNode",
+ "AudienceSegmentCriteria" => "AudienceSegmentCriteria",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeRangeTargetingError" => "DateTimeRangeTargetingError",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "DayPart" => "DayPart",
+ "DayPartTargeting" => "DayPartTargeting",
+ "DayPartTargetingError" => "DayPartTargetingError",
+ "DeleteLineItems" => "DeleteLineItems",
+ "DeliveryData" => "DeliveryData",
+ "DeliveryIndicator" => "DeliveryIndicator",
+ "DeviceCapability" => "DeviceCapability",
+ "DeviceCapabilityTargeting" => "DeviceCapabilityTargeting",
+ "DeviceCategory" => "DeviceCategory",
+ "DeviceCategoryTargeting" => "DeviceCategoryTargeting",
+ "DeviceManufacturer" => "DeviceManufacturer",
+ "DeviceManufacturerTargeting" => "DeviceManufacturerTargeting",
+ "DropDownCustomFieldValue" => "DropDownCustomFieldValue",
+ "EntityChildrenLimitReachedError" => "EntityChildrenLimitReachedError",
+ "EntityLimitReachedError" => "EntityLimitReachedError",
+ "FeatureError" => "FeatureError",
+ "ForecastError" => "ForecastError",
+ "FrequencyCap" => "FrequencyCap",
+ "FrequencyCapError" => "FrequencyCapError",
+ "GenericTargetingError" => "GenericTargetingError",
+ "GeoTargeting" => "GeoTargeting",
+ "GeoTargetingError" => "GeoTargetingError",
+ "Goal" => "Goal",
+ "GrpSettings" => "GrpSettings",
+ "GrpSettingsError" => "GrpSettingsError",
+ "ImageError" => "ImageError",
+ "InternalApiError" => "InternalApiError",
+ "InvalidUrlError" => "InvalidUrlError",
+ "InventoryTargeting" => "InventoryTargeting",
+ "InventoryTargetingError" => "InventoryTargetingError",
+ "LabelEntityAssociationError" => "LabelEntityAssociationError",
+ "LineItemAction" => "LineItemAction",
+ "LineItemActivityAssociationError" => "LineItemActivityAssociationError",
+ "LineItemActivityAssociation" => "LineItemActivityAssociation",
+ "LineItemCreativeAssociationError" => "LineItemCreativeAssociationError",
+ "LineItem" => "LineItem",
+ "LineItemError" => "LineItemError",
+ "LineItemFlightDateError" => "LineItemFlightDateError",
+ "LineItemOperationError" => "LineItemOperationError",
+ "LineItemPage" => "LineItemPage",
+ "LineItemSummary" => "LineItemSummary",
+ "Location" => "DfpLocation",
+ "MobileCarrier" => "MobileCarrier",
+ "MobileCarrierTargeting" => "MobileCarrierTargeting",
+ "MobileDevice" => "MobileDevice",
+ "MobileDeviceSubmodel" => "MobileDeviceSubmodel",
+ "MobileDeviceSubmodelTargeting" => "MobileDeviceSubmodelTargeting",
+ "MobileDeviceTargeting" => "MobileDeviceTargeting",
+ "Money" => "Money",
+ "NotNullError" => "NotNullError",
+ "NullError" => "NullError",
+ "NumberValue" => "NumberValue",
+ "OperatingSystem" => "OperatingSystem",
+ "OperatingSystemTargeting" => "OperatingSystemTargeting",
+ "OperatingSystemVersion" => "OperatingSystemVersion",
+ "OperatingSystemVersionTargeting" => "OperatingSystemVersionTargeting",
+ "OrderError" => "OrderError",
+ "ParseError" => "ParseError",
+ "PauseLineItems" => "PauseLineItems",
+ "PermissionError" => "PermissionError",
+ "ProgrammaticError" => "ProgrammaticError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RangeError" => "RangeError",
+ "ReleaseLineItems" => "ReleaseLineItems",
+ "RequiredCollectionError" => "RequiredCollectionError",
+ "RequiredError" => "RequiredError",
+ "RequiredNumberError" => "RequiredNumberError",
+ "RequiredSizeError" => "RequiredSizeError",
+ "ReservationDetailsError" => "ReservationDetailsError",
+ "ReserveAndOverbookLineItems" => "ReserveAndOverbookLineItems",
+ "ReserveLineItems" => "ReserveLineItems",
+ "ResumeAndOverbookLineItems" => "ResumeAndOverbookLineItems",
+ "ResumeLineItems" => "ResumeLineItems",
+ "AudienceSegmentError" => "AudienceSegmentError",
+ "ServerError" => "ServerError",
+ "SetTopBoxInfo" => "SetTopBoxInfo",
+ "SetTopBoxLineItemError" => "SetTopBoxLineItemError",
+ "SetValue" => "SetValue",
+ "Size" => "Size",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "Stats" => "Stats",
+ "StringLengthError" => "StringLengthError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "Targeting" => "Targeting",
+ "TeamError" => "TeamError",
+ "Technology" => "Technology",
+ "TechnologyTargetingError" => "TechnologyTargetingError",
+ "TextValue" => "TextValue",
+ "TimeOfDay" => "TimeOfDay",
+ "TimeZoneError" => "TimeZoneError",
+ "TypeError" => "TypeError",
+ "UnarchiveLineItems" => "UnarchiveLineItems",
+ "UniqueError" => "UniqueError",
+ "UpdateResult" => "UpdateResult",
+ "UserDomainTargeting" => "UserDomainTargeting",
+ "UserDomainTargetingError" => "UserDomainTargetingError",
+ "Value" => "Value",
+ "VideoPosition" => "VideoPosition",
+ "VideoPositionTargeting" => "VideoPositionTargeting",
+ "VideoPositionWithinPod" => "VideoPositionWithinPod",
+ "VideoPositionTarget" => "VideoPositionTarget",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AudienceExtensionError.Reason" => "AudienceExtensionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CanoeSyncResult" => "CanoeSyncResult",
+ "ClickTrackingLineItemError.Reason" => "ClickTrackingLineItemErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "CompanionDeliveryOption" => "CompanionDeliveryOption",
+ "CompanyCreditStatusError.Reason" => "CompanyCreditStatusErrorReason",
+ "ComputedStatus" => "ComputedStatus",
+ "ContentMetadataTargetingError.Reason" => "ContentMetadataTargetingErrorReason",
+ "CostType" => "CostType",
+ "CreativeError.Reason" => "CreativeErrorReason",
+ "CreativeRotationType" => "CreativeRotationType",
+ "CreativeSizeType" => "CreativeSizeType",
+ "CrossSellError.Reason" => "CrossSellErrorReason",
+ "CustomCriteria.ComparisonOperator" => "CustomCriteriaComparisonOperator",
+ "CustomCriteriaSet.LogicalOperator" => "CustomCriteriaSetLogicalOperator",
+ "CustomFieldValueError.Reason" => "CustomFieldValueErrorReason",
+ "CustomTargetingError.Reason" => "CustomTargetingErrorReason",
+ "AudienceSegmentCriteria.ComparisonOperator" => "AudienceSegmentCriteriaComparisonOperator",
+ "DateTimeRangeTargetingError.Reason" => "DateTimeRangeTargetingErrorReason",
+ "DayOfWeek" => "DayOfWeek",
+ "DayPartTargetingError.Reason" => "DayPartTargetingErrorReason",
+ "DeliveryTimeZone" => "DeliveryTimeZone",
+ "DeliveryRateType" => "DeliveryRateType",
+ "EntityChildrenLimitReachedError.Reason" => "EntityChildrenLimitReachedErrorReason",
+ "EnvironmentType" => "EnvironmentType",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "ForecastError.Reason" => "ForecastErrorReason",
+ "FrequencyCapError.Reason" => "FrequencyCapErrorReason",
+ "GenericTargetingError.Reason" => "GenericTargetingErrorReason",
+ "GeoTargetingError.Reason" => "GeoTargetingErrorReason",
+ "GoalType" => "GoalType",
+ "GrpProvider" => "GrpProvider",
+ "GrpSettingsError.Reason" => "GrpSettingsErrorReason",
+ "GrpTargetGender" => "GrpTargetGender",
+ "ImageError.Reason" => "ImageErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "InvalidUrlError.Reason" => "InvalidUrlErrorReason",
+ "InventoryTargetingError.Reason" => "InventoryTargetingErrorReason",
+ "LabelEntityAssociationError.Reason" => "LabelEntityAssociationErrorReason",
+ "LineItemActivityAssociationError.Reason" => "LineItemActivityAssociationErrorReason",
+ "LineItemCreativeAssociationError.Reason" => "LineItemCreativeAssociationErrorReason",
+ "LineItemDiscountType" => "LineItemDiscountType",
+ "LineItemError.Reason" => "LineItemErrorReason",
+ "LineItemFlightDateError.Reason" => "LineItemFlightDateErrorReason",
+ "LineItemOperationError.Reason" => "LineItemOperationErrorReason",
+ "LineItemSummary.ReservationStatus" => "LineItemSummaryReservationStatus",
+ "LineItemType" => "LineItemType",
+ "MinuteOfHour" => "MinuteOfHour",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "NullError.Reason" => "NullErrorReason",
+ "OrderError.Reason" => "OrderErrorReason",
+ "ParseError.Reason" => "ParseErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "CreativePersistenceType" => "CreativePersistenceType",
+ "ProgrammaticError.Reason" => "ProgrammaticErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RangeError.Reason" => "RangeErrorReason",
+ "RequiredCollectionError.Reason" => "RequiredCollectionErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "RequiredNumberError.Reason" => "RequiredNumberErrorReason",
+ "RequiredSizeError.Reason" => "RequiredSizeErrorReason",
+ "ReservationDetailsError.Reason" => "ReservationDetailsErrorReason",
+ "RoadblockingType" => "RoadblockingType",
+ "AudienceSegmentError.Reason" => "AudienceSegmentErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "SetTopBoxLineItemError.Reason" => "SetTopBoxLineItemErrorReason",
+ "SetTopBoxSyncStatus" => "SetTopBoxSyncStatus",
+ "StartDateTimeType" => "StartDateTimeType",
+ "StatementError.Reason" => "StatementErrorReason",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "TargetPlatform" => "TargetPlatform",
+ "TeamError.Reason" => "TeamErrorReason",
+ "TechnologyTargetingError.Reason" => "TechnologyTargetingErrorReason",
+ "TimeUnit" => "TimeUnit",
+ "TimeZoneError.Reason" => "TimeZoneErrorReason",
+ "UnitType" => "UnitType",
+ "UserDomainTargetingError.Reason" => "UserDomainTargetingErrorReason",
+ "VideoBumperType" => "VideoBumperType",
+ "VideoPosition.Type" => "VideoPositionType",
+ "createLineItems" => "CreateLineItems",
+ "createLineItemsResponse" => "CreateLineItemsResponse",
+ "getLineItemsByStatement" => "GetLineItemsByStatement",
+ "getLineItemsByStatementResponse" => "GetLineItemsByStatementResponse",
+ "performLineItemAction" => "PerformLineItemAction",
+ "performLineItemActionResponse" => "PerformLineItemActionResponse",
+ "updateLineItems" => "UpdateLineItems",
+ "updateLineItemsResponse" => "UpdateLineItemsResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Creates new {@link LineItem} objects.
+ *
+ * @param lineItems the line items to create
+ * @return the created line items with their IDs filled in
+ */
+ public function createLineItems($lineItems) {
+ $args = new CreateLineItems($lineItems);
+ $result = $this->__soapCall("createLineItems", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@link LineItemPage} of {@link LineItem} objects that satisfy the
+ * given {@link Statement#query}. The following fields are supported for
+ * filtering:
+ *
+ *
+ * PQL property | Entity property |
+ * CostType | {@link LineItem#costType} |
+ * CreationDateTime | {@link LineItem#creationDateTime} |
+ * DeliveryRateType | {@link LineItem#deliveryRateType} |
+ * EndDateTime | {@link LineItem#endDateTime} |
+ * ExternalId | {@link LineItem#externalId} |
+ * Id | {@link LineItem#id} |
+ * IsMissingCreatives | {@link LineItem#isMissingCreatives} |
+ * IsSetTopBoxEnabled | {@link LineItem#isSetTopBoxEnabled} |
+ * LastModifiedDateTime | {@link LineItem#lastModifiedDateTime} |
+ * LineItemType | {@link LineItem#lineItemType} |
+ * Name | {@link LineItem#name} |
+ * OrderId | {@link LineItem#orderId} |
+ * StartDateTime | {@link LineItem#startDateTime} |
+ * Status | {@link LineItem#status} |
+ * Targeting | {@link LineItem#targeting} |
+ * UnitsBought | {@link LineItem#unitsBought} |
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of line items.
+ * @return the line items that match the given filter
+ */
+ public function getLineItemsByStatement($filterStatement) {
+ $args = new GetLineItemsByStatement($filterStatement);
+ $result = $this->__soapCall("getLineItemsByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Performs actions on {@link LineItem} objects that match the given
+ * {@link Statement#query}.
+ *
+ * @param lineItemAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of line items
+ * @return the result of the action performed
+ */
+ public function performLineItemAction($lineItemAction, $filterStatement) {
+ $args = new PerformLineItemAction($lineItemAction, $filterStatement);
+ $result = $this->__soapCall("performLineItemAction", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link LineItem} objects.
+ *
+ * @param lineItems the line items to update
+ * @return the updated line items
+ */
+ public function updateLineItems($lineItems) {
+ $args = new UpdateLineItems($lineItems);
+ $result = $this->__soapCall("updateLineItems", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/LineItemTemplateService.php b/src/Google/Api/Ads/Dfp/v201505/LineItemTemplateService.php
new file mode 100755
index 000000000..12882ee1f
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/LineItemTemplateService.php
@@ -0,0 +1,5850 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AudienceExtensionError", false)) {
+ /**
+ * Errors associated with audience extension enabled line items
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceExtensionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceExtensionError";
+
+ /**
+ * @access public
+ * @var tnsAudienceExtensionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ClickTrackingLineItemError", false)) {
+ /**
+ * Click tracking is a special line item type with a number of unique errors as
+ * described below.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ClickTrackingLineItemError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ClickTrackingLineItemError";
+
+ /**
+ * @access public
+ * @var tnsClickTrackingLineItemErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CompanyCreditStatusError", false)) {
+ /**
+ * Lists all errors due to {@link Company#creditStatus}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CompanyCreditStatusError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CompanyCreditStatusError";
+
+ /**
+ * @access public
+ * @var tnsCompanyCreditStatusErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ContentMetadataTargetingError", false)) {
+ /**
+ * Lists all errors related to {@link ContentMetadataTargeting}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentMetadataTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentMetadataTargetingError";
+
+ /**
+ * @access public
+ * @var tnsContentMetadataTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeError", false)) {
+ /**
+ * Lists all errors associated with creatives.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeError";
+
+ /**
+ * @access public
+ * @var tnsCreativeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CrossSellError", false)) {
+ /**
+ * Lists all errors associated with cross selling.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CrossSellError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CrossSellError";
+
+ /**
+ * @access public
+ * @var tnsCrossSellErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValueError", false)) {
+ /**
+ * Errors specific to editing custom field values
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValueError";
+
+ /**
+ * @access public
+ * @var tnsCustomFieldValueErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingError", false)) {
+ /**
+ * Lists all errors related to {@link CustomTargetingKey} and
+ * {@link CustomTargetingValue} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingError";
+
+ /**
+ * @access public
+ * @var tnsCustomTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeRangeTargetingError", false)) {
+ /**
+ * Lists all date time range errors caused by associating a line item with a targeting
+ * expression.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeRangeTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeRangeTargetingError";
+
+ /**
+ * @access public
+ * @var tnsDateTimeRangeTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("DayPartTargetingError", false)) {
+ /**
+ * Lists all errors associated with day-part targeting for a line item.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DayPartTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DayPartTargetingError";
+
+ /**
+ * @access public
+ * @var tnsDayPartTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("EntityChildrenLimitReachedError", false)) {
+ /**
+ * Lists errors relating to having too many children on an entity.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityChildrenLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityChildrenLimitReachedError";
+
+ /**
+ * @access public
+ * @var tnsEntityChildrenLimitReachedErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("EntityLimitReachedError", false)) {
+ /**
+ * An error that occurs when creating an entity if the limit on the number of allowed entities for
+ * a network has already been reached.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityLimitReachedError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ForecastError", false)) {
+ /**
+ * Errors that can result from a forecast request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ForecastError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ForecastError";
+
+ /**
+ * @access public
+ * @var tnsForecastErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FrequencyCapError", false)) {
+ /**
+ * Lists all errors associated with frequency caps.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FrequencyCapError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FrequencyCapError";
+
+ /**
+ * @access public
+ * @var tnsFrequencyCapErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("GenericTargetingError", false)) {
+ /**
+ * Targeting validation errors that can be used by different targeting types.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GenericTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GenericTargetingError";
+
+ /**
+ * @access public
+ * @var tnsGenericTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("GeoTargetingError", false)) {
+ /**
+ * Lists all errors associated with geographical targeting for a
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GeoTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GeoTargetingError";
+
+ /**
+ * @access public
+ * @var tnsGeoTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("GrpSettingsError", false)) {
+ /**
+ * Errors associated with line items with GRP settings.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GrpSettingsError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GrpSettingsError";
+
+ /**
+ * @access public
+ * @var tnsGrpSettingsErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ImageError", false)) {
+ /**
+ * Lists all errors associated with images.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ImageError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ImageError";
+
+ /**
+ * @access public
+ * @var tnsImageErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InvalidUrlError", false)) {
+ /**
+ * Lists all errors associated with URLs.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidUrlError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidUrlError";
+
+ /**
+ * @access public
+ * @var tnsInvalidUrlErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InventoryTargetingError", false)) {
+ /**
+ * Lists all inventory errors caused by associating a line item with a targeting
+ * expression.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryTargetingError";
+
+ /**
+ * @access public
+ * @var tnsInventoryTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LabelEntityAssociationError", false)) {
+ /**
+ * Errors specific to creating label entity associations.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelEntityAssociationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelEntityAssociationError";
+
+ /**
+ * @access public
+ * @var tnsLabelEntityAssociationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemActivityAssociationError", false)) {
+ /**
+ * Errors specific to associating activities to line items.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemActivityAssociationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemActivityAssociationError";
+
+ /**
+ * @access public
+ * @var tnsLineItemActivityAssociationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemCreativeAssociationError", false)) {
+ /**
+ * Lists all errors associated with line item-to-creative association dates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemCreativeAssociationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemCreativeAssociationError";
+
+ /**
+ * @access public
+ * @var tnsLineItemCreativeAssociationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemError", false)) {
+ /**
+ * A catch-all error that lists all generic errors associated with LineItem.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemError";
+
+ /**
+ * @access public
+ * @var tnsLineItemErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemFlightDateError", false)) {
+ /**
+ * Lists all errors associated with LineItem start and end dates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemFlightDateError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemFlightDateError";
+
+ /**
+ * @access public
+ * @var tnsLineItemFlightDateErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemOperationError", false)) {
+ /**
+ * Lists all errors for executing operations on line items
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemOperationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemOperationError";
+
+ /**
+ * @access public
+ * @var tnsLineItemOperationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemTemplate", false)) {
+ /**
+ * Represents the template that populates the fields of a new line item being
+ * created.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemTemplate {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemTemplate";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isDefault;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $lineItemName;
+
+ /**
+ * @access public
+ * @var tnsTargetPlatform
+ */
+ public $targetPlatform;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $enabledForSameAdvertiserException;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $notes;
+
+ /**
+ * @access public
+ * @var tnsLineItemType
+ */
+ public $lineItemType;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $startTime;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $endTime;
+
+ /**
+ * @access public
+ * @var tnsDeliveryRateType
+ */
+ public $deliveryRateType;
+
+ /**
+ * @access public
+ * @var tnsRoadblockingType
+ */
+ public $roadblockingType;
+
+ /**
+ * @access public
+ * @var tnsCreativeRotationType
+ */
+ public $creativeRotationType;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null, $isDefault = null, $lineItemName = null, $targetPlatform = null, $enabledForSameAdvertiserException = null, $notes = null, $lineItemType = null, $startTime = null, $endTime = null, $deliveryRateType = null, $roadblockingType = null, $creativeRotationType = null) {
+ $this->id = $id;
+ $this->name = $name;
+ $this->isDefault = $isDefault;
+ $this->lineItemName = $lineItemName;
+ $this->targetPlatform = $targetPlatform;
+ $this->enabledForSameAdvertiserException = $enabledForSameAdvertiserException;
+ $this->notes = $notes;
+ $this->lineItemType = $lineItemType;
+ $this->startTime = $startTime;
+ $this->endTime = $endTime;
+ $this->deliveryRateType = $deliveryRateType;
+ $this->roadblockingType = $roadblockingType;
+ $this->creativeRotationType = $creativeRotationType;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemTemplatePage", false)) {
+ /**
+ * Captures a page of {@link LineItemTemplate} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemTemplatePage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemTemplatePage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var LineItemTemplate[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NullError", false)) {
+ /**
+ * Errors associated with violation of a NOT NULL check.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("OrderError", false)) {
+ /**
+ * Lists all errors associated with orders.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OrderError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OrderError";
+
+ /**
+ * @access public
+ * @var tnsOrderErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ParseError", false)) {
+ /**
+ * Lists errors related to parsing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError";
+
+ /**
+ * @access public
+ * @var tnsParseErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProgrammaticError", false)) {
+ /**
+ * Errors associated with programmatic line items
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProgrammaticError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProgrammaticError";
+
+ /**
+ * @access public
+ * @var tnsProgrammaticErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RangeError", false)) {
+ /**
+ * A list of all errors associated with the Range constraint.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError";
+
+ /**
+ * @access public
+ * @var tnsRangeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionError", false)) {
+ /**
+ * A list of all errors to be used for validating sizes of collections.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError";
+
+ /**
+ * @access public
+ * @var tnsRequiredCollectionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberError", false)) {
+ /**
+ * A list of all errors to be used in conjunction with required number
+ * validators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError";
+
+ /**
+ * @access public
+ * @var tnsRequiredNumberErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredSizeError", false)) {
+ /**
+ * A list of all errors to be used for validating {@link Size}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredSizeError";
+
+ /**
+ * @access public
+ * @var tnsRequiredSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ReservationDetailsError", false)) {
+ /**
+ * Lists all errors associated with LineItem's reservation details.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReservationDetailsError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReservationDetailsError";
+
+ /**
+ * @access public
+ * @var tnsReservationDetailsErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("AudienceSegmentError", false)) {
+ /**
+ * Errors that could occur on audience segment related requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceSegmentError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceSegmentError";
+
+ /**
+ * @access public
+ * @var tnsAudienceSegmentErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SetTopBoxLineItemError", false)) {
+ /**
+ * Errors associated with set-top box {@link LineItem line items}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetTopBoxLineItemError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetTopBoxLineItemError";
+
+ /**
+ * @access public
+ * @var tnsSetTopBoxLineItemErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthError", false)) {
+ /**
+ * Errors for Strings which do not meet given length constraints.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("TeamError", false)) {
+ /**
+ * Errors related to a Team.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TeamError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TeamError";
+
+ /**
+ * @access public
+ * @var tnsTeamErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TechnologyTargetingError", false)) {
+ /**
+ * Technology targeting validation errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TechnologyTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TechnologyTargetingError";
+
+ /**
+ * @access public
+ * @var tnsTechnologyTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TimeZoneError", false)) {
+ /**
+ * Errors related to timezones.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TimeZoneError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TimeZoneError";
+
+ /**
+ * @access public
+ * @var tnsTimeZoneErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TypeError", false)) {
+ /**
+ * An error for a field which is an invalid type.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TypeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TypeError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UserDomainTargetingError", false)) {
+ /**
+ * Lists all errors related to user domain targeting for a line item.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserDomainTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserDomainTargetingError";
+
+ /**
+ * @access public
+ * @var tnsUserDomainTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AudienceExtensionErrorReason", false)) {
+ /**
+ * Specific audience extension error reasons.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceExtensionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceExtensionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ClickTrackingLineItemErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ClickTrackingLineItemErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ClickTrackingLineItemError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CompanyCreditStatusErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CompanyCreditStatusErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CompanyCreditStatusError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ContentMetadataTargetingErrorReason", false)) {
+ /**
+ * The reasons for the metadata targeting error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentMetadataTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentMetadataTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeRotationType", false)) {
+ /**
+ * The strategy to use for displaying multiple {@link Creative} objects that are
+ * associated with a {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeRotationType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeRotationType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CrossSellErrorReason", false)) {
+ /**
+ * The reason of the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CrossSellErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CrossSellError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValueErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValueErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValueError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeRangeTargetingErrorReason", false)) {
+ /**
+ * {@link ApiErrorReason} enum for date time range targeting error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeRangeTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeRangeTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("DayPartTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DayPartTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DayPartTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("DeliveryRateType", false)) {
+ /**
+ * Possible delivery rates for a {@link LineItem}, which dictate the manner in
+ * which they are served.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeliveryRateType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeliveryRateType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("EntityChildrenLimitReachedErrorReason", false)) {
+ /**
+ * The reasons for the entity children limit reached error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityChildrenLimitReachedErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityChildrenLimitReachedError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ForecastErrorReason", false)) {
+ /**
+ * Reason why a forecast could not be retrieved.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ForecastErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ForecastError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FrequencyCapErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FrequencyCapErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FrequencyCapError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GenericTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GenericTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GenericTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GeoTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GeoTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GeoTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GrpSettingsErrorReason", false)) {
+ /**
+ * Reason for GRP settings error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GrpSettingsErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GrpSettingsError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ImageErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ImageErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ImageError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InvalidUrlErrorReason", false)) {
+ /**
+ * The URL contains invalid characters.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidUrlErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidUrlError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InventoryTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LabelEntityAssociationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelEntityAssociationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelEntityAssociationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemActivityAssociationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemActivityAssociationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemActivityAssociationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemCreativeAssociationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemCreativeAssociationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemCreativeAssociationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemFlightDateErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemFlightDateErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemFlightDateError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemOperationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemOperationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemOperationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemType", false)) {
+ /**
+ * {@code LineItemType} indicates the priority of a {@link LineItem}, determined
+ * by the way in which impressions are reserved to be served for it.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NullErrorReason", false)) {
+ /**
+ * The reasons for the validation error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("OrderErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OrderErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OrderError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ParseErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProgrammaticErrorReason", false)) {
+ /**
+ * Audience extension is not supported by programmatic line items.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProgrammaticErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProgrammaticError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RangeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionErrorReason", false)) {
+ /**
+ * A required collection is missing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberErrorReason", false)) {
+ /**
+ * Describes reasons for a number to be invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredSizeErrorReason", false)) {
+ /**
+ * {@link Creative#size} or {@link LineItem#creativeSizes} is
+ * missing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ReservationDetailsErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReservationDetailsErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReservationDetailsError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RoadblockingType", false)) {
+ /**
+ * Describes the roadblocking types.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RoadblockingType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RoadblockingType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AudienceSegmentErrorReason", false)) {
+ /**
+ * Reason of the given {@link AudienceSegmentError}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceSegmentErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceSegmentError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("SetTopBoxLineItemErrorReason", false)) {
+ /**
+ * Reason for set-top box error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetTopBoxLineItemErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetTopBoxLineItemError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TargetPlatform", false)) {
+ /**
+ * Indicates the target platform.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TargetPlatform {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TargetPlatform";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TeamErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TeamErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TeamError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TechnologyTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TechnologyTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TechnologyTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TimeZoneErrorReason", false)) {
+ /**
+ * Describes reasons for invalid timezone.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TimeZoneErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TimeZoneError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("UserDomainTargetingErrorReason", false)) {
+ /**
+ * {@link ApiErrorReason} enum for user domain targeting error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserDomainTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserDomainTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GetLineItemTemplatesByStatement", false)) {
+ /**
+ * Gets a {@link LineItemTemplatePage} of {@link LineItemTemplate} objects
+ * that satisfy the given {@link Statement#query}. The following fields are
+ * supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link LineItemTemplate#id} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of line item templates
+ * @return the line item templates that match the given filter
+ * @throws ApiException if a RuntimeException is thrown
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetLineItemTemplatesByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetLineItemTemplatesByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetLineItemTemplatesByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var LineItemTemplatePage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemTemplateService", false)) {
+ /**
+ * LineItemTemplateService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemTemplateService extends DfpSoapClient {
+
+ const SERVICE_NAME = "LineItemTemplateService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/LineItemTemplateService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/LineItemTemplateService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AudienceExtensionError" => "AudienceExtensionError",
+ "AuthenticationError" => "AuthenticationError",
+ "BooleanValue" => "BooleanValue",
+ "ClickTrackingLineItemError" => "ClickTrackingLineItemError",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "CompanyCreditStatusError" => "CompanyCreditStatusError",
+ "ContentMetadataTargetingError" => "ContentMetadataTargetingError",
+ "CreativeError" => "CreativeError",
+ "CrossSellError" => "CrossSellError",
+ "CustomFieldValueError" => "CustomFieldValueError",
+ "CustomTargetingError" => "CustomTargetingError",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeRangeTargetingError" => "DateTimeRangeTargetingError",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "DayPartTargetingError" => "DayPartTargetingError",
+ "EntityChildrenLimitReachedError" => "EntityChildrenLimitReachedError",
+ "EntityLimitReachedError" => "EntityLimitReachedError",
+ "FeatureError" => "FeatureError",
+ "ForecastError" => "ForecastError",
+ "FrequencyCapError" => "FrequencyCapError",
+ "GenericTargetingError" => "GenericTargetingError",
+ "GeoTargetingError" => "GeoTargetingError",
+ "GrpSettingsError" => "GrpSettingsError",
+ "ImageError" => "ImageError",
+ "InternalApiError" => "InternalApiError",
+ "InvalidUrlError" => "InvalidUrlError",
+ "InventoryTargetingError" => "InventoryTargetingError",
+ "LabelEntityAssociationError" => "LabelEntityAssociationError",
+ "LineItemActivityAssociationError" => "LineItemActivityAssociationError",
+ "LineItemCreativeAssociationError" => "LineItemCreativeAssociationError",
+ "LineItemError" => "LineItemError",
+ "LineItemFlightDateError" => "LineItemFlightDateError",
+ "LineItemOperationError" => "LineItemOperationError",
+ "LineItemTemplate" => "LineItemTemplate",
+ "LineItemTemplatePage" => "LineItemTemplatePage",
+ "NotNullError" => "NotNullError",
+ "NullError" => "NullError",
+ "NumberValue" => "NumberValue",
+ "OrderError" => "OrderError",
+ "ParseError" => "ParseError",
+ "PermissionError" => "PermissionError",
+ "ProgrammaticError" => "ProgrammaticError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RangeError" => "RangeError",
+ "RequiredCollectionError" => "RequiredCollectionError",
+ "RequiredError" => "RequiredError",
+ "RequiredNumberError" => "RequiredNumberError",
+ "RequiredSizeError" => "RequiredSizeError",
+ "ReservationDetailsError" => "ReservationDetailsError",
+ "AudienceSegmentError" => "AudienceSegmentError",
+ "ServerError" => "ServerError",
+ "SetTopBoxLineItemError" => "SetTopBoxLineItemError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "StringLengthError" => "StringLengthError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "TeamError" => "TeamError",
+ "TechnologyTargetingError" => "TechnologyTargetingError",
+ "TextValue" => "TextValue",
+ "TimeZoneError" => "TimeZoneError",
+ "TypeError" => "TypeError",
+ "UniqueError" => "UniqueError",
+ "UserDomainTargetingError" => "UserDomainTargetingError",
+ "Value" => "Value",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AudienceExtensionError.Reason" => "AudienceExtensionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "ClickTrackingLineItemError.Reason" => "ClickTrackingLineItemErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "CompanyCreditStatusError.Reason" => "CompanyCreditStatusErrorReason",
+ "ContentMetadataTargetingError.Reason" => "ContentMetadataTargetingErrorReason",
+ "CreativeError.Reason" => "CreativeErrorReason",
+ "CreativeRotationType" => "CreativeRotationType",
+ "CrossSellError.Reason" => "CrossSellErrorReason",
+ "CustomFieldValueError.Reason" => "CustomFieldValueErrorReason",
+ "CustomTargetingError.Reason" => "CustomTargetingErrorReason",
+ "DateTimeRangeTargetingError.Reason" => "DateTimeRangeTargetingErrorReason",
+ "DayPartTargetingError.Reason" => "DayPartTargetingErrorReason",
+ "DeliveryRateType" => "DeliveryRateType",
+ "EntityChildrenLimitReachedError.Reason" => "EntityChildrenLimitReachedErrorReason",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "ForecastError.Reason" => "ForecastErrorReason",
+ "FrequencyCapError.Reason" => "FrequencyCapErrorReason",
+ "GenericTargetingError.Reason" => "GenericTargetingErrorReason",
+ "GeoTargetingError.Reason" => "GeoTargetingErrorReason",
+ "GrpSettingsError.Reason" => "GrpSettingsErrorReason",
+ "ImageError.Reason" => "ImageErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "InvalidUrlError.Reason" => "InvalidUrlErrorReason",
+ "InventoryTargetingError.Reason" => "InventoryTargetingErrorReason",
+ "LabelEntityAssociationError.Reason" => "LabelEntityAssociationErrorReason",
+ "LineItemActivityAssociationError.Reason" => "LineItemActivityAssociationErrorReason",
+ "LineItemCreativeAssociationError.Reason" => "LineItemCreativeAssociationErrorReason",
+ "LineItemError.Reason" => "LineItemErrorReason",
+ "LineItemFlightDateError.Reason" => "LineItemFlightDateErrorReason",
+ "LineItemOperationError.Reason" => "LineItemOperationErrorReason",
+ "LineItemType" => "LineItemType",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "NullError.Reason" => "NullErrorReason",
+ "OrderError.Reason" => "OrderErrorReason",
+ "ParseError.Reason" => "ParseErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "ProgrammaticError.Reason" => "ProgrammaticErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RangeError.Reason" => "RangeErrorReason",
+ "RequiredCollectionError.Reason" => "RequiredCollectionErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "RequiredNumberError.Reason" => "RequiredNumberErrorReason",
+ "RequiredSizeError.Reason" => "RequiredSizeErrorReason",
+ "ReservationDetailsError.Reason" => "ReservationDetailsErrorReason",
+ "RoadblockingType" => "RoadblockingType",
+ "AudienceSegmentError.Reason" => "AudienceSegmentErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "SetTopBoxLineItemError.Reason" => "SetTopBoxLineItemErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "TargetPlatform" => "TargetPlatform",
+ "TeamError.Reason" => "TeamErrorReason",
+ "TechnologyTargetingError.Reason" => "TechnologyTargetingErrorReason",
+ "TimeZoneError.Reason" => "TimeZoneErrorReason",
+ "UserDomainTargetingError.Reason" => "UserDomainTargetingErrorReason",
+ "getLineItemTemplatesByStatement" => "GetLineItemTemplatesByStatement",
+ "getLineItemTemplatesByStatementResponse" => "GetLineItemTemplatesByStatementResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Gets a {@link LineItemTemplatePage} of {@link LineItemTemplate} objects
+ * that satisfy the given {@link Statement#query}. The following fields are
+ * supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link LineItemTemplate#id} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of line item templates
+ * @return the line item templates that match the given filter
+ * @throws ApiException if a RuntimeException is thrown
+ */
+ public function getLineItemTemplatesByStatement($filterStatement) {
+ $args = new GetLineItemTemplatesByStatement($filterStatement);
+ $result = $this->__soapCall("getLineItemTemplatesByStatement", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/LiveStreamEventService.php b/src/Google/Api/Ads/Dfp/v201505/LiveStreamEventService.php
new file mode 100755
index 000000000..6c3c22605
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/LiveStreamEventService.php
@@ -0,0 +1,3431 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InvalidUrlError", false)) {
+ /**
+ * Lists all errors associated with URLs.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidUrlError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidUrlError";
+
+ /**
+ * @access public
+ * @var tnsInvalidUrlErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LiveStreamEventAction", false)) {
+ /**
+ * Represents the actions that can be performed on {@link LiveStreamEvent}
+ * objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LiveStreamEventAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LiveStreamEventAction";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LiveStreamEventActionError", false)) {
+ /**
+ * Lists all errors associated with live stream event action.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LiveStreamEventActionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LiveStreamEventActionError";
+
+ /**
+ * @access public
+ * @var tnsLiveStreamEventActionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LiveStreamEventDateTimeError", false)) {
+ /**
+ * Lists all errors associated with live stream event start and end date times.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LiveStreamEventDateTimeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LiveStreamEventDateTimeError";
+
+ /**
+ * @access public
+ * @var tnsLiveStreamEventDateTimeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LiveStreamEvent", false)) {
+ /**
+ * A {@code LiveStreamEvent} represents schedule, content and ad stitching
+ * information of a live stream event.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LiveStreamEvent {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LiveStreamEvent";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $description;
+
+ /**
+ * @access public
+ * @var tnsLiveStreamEventStatus
+ */
+ public $status;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $creationDateTime;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $lastModifiedDateTime;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $startDateTime;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $endDateTime;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalEstimatedConcurrentUsers;
+
+ /**
+ * @access public
+ * @var string[]
+ */
+ public $contentUrls;
+
+ /**
+ * @access public
+ * @var string[]
+ */
+ public $adTags;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $liveStreamEventCode;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null, $description = null, $status = null, $creationDateTime = null, $lastModifiedDateTime = null, $startDateTime = null, $endDateTime = null, $totalEstimatedConcurrentUsers = null, $contentUrls = null, $adTags = null, $liveStreamEventCode = null) {
+ $this->id = $id;
+ $this->name = $name;
+ $this->description = $description;
+ $this->status = $status;
+ $this->creationDateTime = $creationDateTime;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ $this->startDateTime = $startDateTime;
+ $this->endDateTime = $endDateTime;
+ $this->totalEstimatedConcurrentUsers = $totalEstimatedConcurrentUsers;
+ $this->contentUrls = $contentUrls;
+ $this->adTags = $adTags;
+ $this->liveStreamEventCode = $liveStreamEventCode;
+ }
+
+ }
+}
+
+if (!class_exists("LiveStreamEventPage", false)) {
+ /**
+ * Captures a page of {@link LiveStreamEvent} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LiveStreamEventPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LiveStreamEventPage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var LiveStreamEvent[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NullError", false)) {
+ /**
+ * Errors associated with violation of a NOT NULL check.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ParseError", false)) {
+ /**
+ * Lists errors related to parsing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError";
+
+ /**
+ * @access public
+ * @var tnsParseErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PauseLiveStreamEventAds", false)) {
+ /**
+ * The action used for pausing ads for {@link LiveStreamEvent} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PauseLiveStreamEventAds extends LiveStreamEventAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PauseLiveStreamEventAds";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("PauseLiveStreamEvents", false)) {
+ /**
+ * The action used for pausing {@link LiveStreamEvent} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PauseLiveStreamEvents extends LiveStreamEventAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PauseLiveStreamEvents";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionError", false)) {
+ /**
+ * A list of all errors to be used for validating sizes of collections.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError";
+
+ /**
+ * @access public
+ * @var tnsRequiredCollectionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthError", false)) {
+ /**
+ * Errors for Strings which do not meet given length constraints.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateResult", false)) {
+ /**
+ * Represents the result of performing an action on objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UpdateResult";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numChanges;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($numChanges = null) {
+ $this->numChanges = $numChanges;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InvalidUrlErrorReason", false)) {
+ /**
+ * The URL contains invalid characters.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidUrlErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidUrlError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LiveStreamEventActionErrorReason", false)) {
+ /**
+ * Describes reasons for {@code LiveStreamEventActionError}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LiveStreamEventActionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LiveStreamEventActionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LiveStreamEventDateTimeErrorReason", false)) {
+ /**
+ * Describes reasons for {@code LiveStreamEventDateTimeError}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LiveStreamEventDateTimeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LiveStreamEventDateTimeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LiveStreamEventStatus", false)) {
+ /**
+ * Describes the status of a {@link LiveStreamEvent} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LiveStreamEventStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LiveStreamEventStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NullErrorReason", false)) {
+ /**
+ * The reasons for the validation error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ParseErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionErrorReason", false)) {
+ /**
+ * A required collection is missing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreateLiveStreamEvents", false)) {
+ /**
+ * Creates new {@link LiveStreamEvent} objects.
+ *
+ * The following fields are required:
+ *
+ * - {@link LiveStreamEvent#name}
+ * - {@link LiveStreamEvent#startDateTime}
+ * - {@link LiveStreamEvent#endDateTime}
+ * - {@link LiveStreamEvent#contentUrls}
+ * - {@link LiveStreamEvent#adTags}
+ *
+ *
+ * @param liveStreamEvents the live stream events to create
+ * @return the created live stream events with their IDs filled in
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateLiveStreamEvents {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var LiveStreamEvent[]
+ */
+ public $liveStreamEvents;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($liveStreamEvents = null) {
+ $this->liveStreamEvents = $liveStreamEvents;
+ }
+
+ }
+}
+
+if (!class_exists("CreateLiveStreamEventsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateLiveStreamEventsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var LiveStreamEvent[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetLiveStreamEventsByStatement", false)) {
+ /**
+ * Gets a {@link LiveStreamEventPage} of {@link LiveStreamEvent} objects that
+ * satisfy the given {@link Statement#query}. The following fields are
+ * supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link LiveStreamEvent#id} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement to filter a
+ * list of live stream events
+ * @return the live stream events that match the filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetLiveStreamEventsByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetLiveStreamEventsByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetLiveStreamEventsByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var LiveStreamEventPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("PerformLiveStreamEventAction", false)) {
+ /**
+ * Performs actions on {@link LiveStreamEvent} objects that match the given
+ * {@link Statement#query}.
+ *
+ * @param liveStreamEventAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of live stream events
+ * @return the result of the action performed
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformLiveStreamEventAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var LiveStreamEventAction
+ */
+ public $liveStreamEventAction;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($liveStreamEventAction = null, $filterStatement = null) {
+ $this->liveStreamEventAction = $liveStreamEventAction;
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("PerformLiveStreamEventActionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformLiveStreamEventActionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UpdateResult
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateLiveStreamEvents", false)) {
+ /**
+ * Updates the specified {@link LiveStreamEvent} objects.
+ *
+ * @param liveStreamEvents the live stream events to update
+ * @return the updated live stream events
+ * @throws ApiException if there is an error updating the live stream events
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateLiveStreamEvents {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var LiveStreamEvent[]
+ */
+ public $liveStreamEvents;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($liveStreamEvents = null) {
+ $this->liveStreamEvents = $liveStreamEvents;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateLiveStreamEventsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateLiveStreamEventsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var LiveStreamEvent[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ActivateLiveStreamEvents", false)) {
+ /**
+ * The action used for activating {@link LiveStreamEvent} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ActivateLiveStreamEvents extends LiveStreamEventAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ActivateLiveStreamEvents";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("ArchiveLiveStreamEvents", false)) {
+ /**
+ * The action used for archiving {@link LiveStreamEvent} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ArchiveLiveStreamEvents extends LiveStreamEventAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ArchiveLiveStreamEvents";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("LiveStreamEventService", false)) {
+ /**
+ * LiveStreamEventService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LiveStreamEventService extends DfpSoapClient {
+
+ const SERVICE_NAME = "LiveStreamEventService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/LiveStreamEventService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/LiveStreamEventService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ActivateLiveStreamEvents" => "ActivateLiveStreamEvents",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "ArchiveLiveStreamEvents" => "ArchiveLiveStreamEvents",
+ "AuthenticationError" => "AuthenticationError",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "FeatureError" => "FeatureError",
+ "InternalApiError" => "InternalApiError",
+ "InvalidUrlError" => "InvalidUrlError",
+ "LiveStreamEventAction" => "LiveStreamEventAction",
+ "LiveStreamEventActionError" => "LiveStreamEventActionError",
+ "LiveStreamEventDateTimeError" => "LiveStreamEventDateTimeError",
+ "LiveStreamEvent" => "LiveStreamEvent",
+ "LiveStreamEventPage" => "LiveStreamEventPage",
+ "NotNullError" => "NotNullError",
+ "NullError" => "NullError",
+ "NumberValue" => "NumberValue",
+ "ParseError" => "ParseError",
+ "PauseLiveStreamEventAds" => "PauseLiveStreamEventAds",
+ "PauseLiveStreamEvents" => "PauseLiveStreamEvents",
+ "PermissionError" => "PermissionError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RequiredCollectionError" => "RequiredCollectionError",
+ "RequiredError" => "RequiredError",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "StringLengthError" => "StringLengthError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "TextValue" => "TextValue",
+ "UpdateResult" => "UpdateResult",
+ "Value" => "Value",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "InvalidUrlError.Reason" => "InvalidUrlErrorReason",
+ "LiveStreamEventActionError.Reason" => "LiveStreamEventActionErrorReason",
+ "LiveStreamEventDateTimeError.Reason" => "LiveStreamEventDateTimeErrorReason",
+ "LiveStreamEventStatus" => "LiveStreamEventStatus",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "NullError.Reason" => "NullErrorReason",
+ "ParseError.Reason" => "ParseErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RequiredCollectionError.Reason" => "RequiredCollectionErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "createLiveStreamEvents" => "CreateLiveStreamEvents",
+ "createLiveStreamEventsResponse" => "CreateLiveStreamEventsResponse",
+ "getLiveStreamEventsByStatement" => "GetLiveStreamEventsByStatement",
+ "getLiveStreamEventsByStatementResponse" => "GetLiveStreamEventsByStatementResponse",
+ "performLiveStreamEventAction" => "PerformLiveStreamEventAction",
+ "performLiveStreamEventActionResponse" => "PerformLiveStreamEventActionResponse",
+ "updateLiveStreamEvents" => "UpdateLiveStreamEvents",
+ "updateLiveStreamEventsResponse" => "UpdateLiveStreamEventsResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Creates new {@link LiveStreamEvent} objects.
+ *
+ * The following fields are required:
+ *
+ * - {@link LiveStreamEvent#name}
+ * - {@link LiveStreamEvent#startDateTime}
+ * - {@link LiveStreamEvent#endDateTime}
+ * - {@link LiveStreamEvent#contentUrls}
+ * - {@link LiveStreamEvent#adTags}
+ *
+ *
+ * @param liveStreamEvents the live stream events to create
+ * @return the created live stream events with their IDs filled in
+ */
+ public function createLiveStreamEvents($liveStreamEvents) {
+ $args = new CreateLiveStreamEvents($liveStreamEvents);
+ $result = $this->__soapCall("createLiveStreamEvents", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@link LiveStreamEventPage} of {@link LiveStreamEvent} objects that
+ * satisfy the given {@link Statement#query}. The following fields are
+ * supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link LiveStreamEvent#id} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement to filter a
+ * list of live stream events
+ * @return the live stream events that match the filter
+ */
+ public function getLiveStreamEventsByStatement($filterStatement) {
+ $args = new GetLiveStreamEventsByStatement($filterStatement);
+ $result = $this->__soapCall("getLiveStreamEventsByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Performs actions on {@link LiveStreamEvent} objects that match the given
+ * {@link Statement#query}.
+ *
+ * @param liveStreamEventAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of live stream events
+ * @return the result of the action performed
+ */
+ public function performLiveStreamEventAction($liveStreamEventAction, $filterStatement) {
+ $args = new PerformLiveStreamEventAction($liveStreamEventAction, $filterStatement);
+ $result = $this->__soapCall("performLiveStreamEventAction", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link LiveStreamEvent} objects.
+ *
+ * @param liveStreamEvents the live stream events to update
+ * @return the updated live stream events
+ * @throws ApiException if there is an error updating the live stream events
+ */
+ public function updateLiveStreamEvents($liveStreamEvents) {
+ $args = new UpdateLiveStreamEvents($liveStreamEvents);
+ $result = $this->__soapCall("updateLiveStreamEvents", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/NetworkService.php b/src/Google/Api/Ads/Dfp/v201505/NetworkService.php
new file mode 100755
index 000000000..6e36aebdf
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/NetworkService.php
@@ -0,0 +1,2653 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ExchangeRateError", false)) {
+ /**
+ * Lists all errors associated with {@link ExchangeRate} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ExchangeRateError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ExchangeRateError";
+
+ /**
+ * @access public
+ * @var tnsExchangeRateErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InvalidEmailError", false)) {
+ /**
+ * Caused by supplying a value for an email attribute that is not a valid
+ * email address.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidEmailError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidEmailError";
+
+ /**
+ * @access public
+ * @var tnsInvalidEmailErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Network", false)) {
+ /**
+ * {@code Network} represents a network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Network {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Network";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $displayName;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $propertyCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZone;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $currencyCode;
+
+ /**
+ * @access public
+ * @var string[]
+ */
+ public $secondaryCurrencyCodes;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $effectiveRootAdUnitId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $contentBrowseCustomTargetingKeyId;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTest;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $displayName = null, $networkCode = null, $propertyCode = null, $timeZone = null, $currencyCode = null, $secondaryCurrencyCodes = null, $effectiveRootAdUnitId = null, $contentBrowseCustomTargetingKeyId = null, $isTest = null) {
+ $this->id = $id;
+ $this->displayName = $displayName;
+ $this->networkCode = $networkCode;
+ $this->propertyCode = $propertyCode;
+ $this->timeZone = $timeZone;
+ $this->currencyCode = $currencyCode;
+ $this->secondaryCurrencyCodes = $secondaryCurrencyCodes;
+ $this->effectiveRootAdUnitId = $effectiveRootAdUnitId;
+ $this->contentBrowseCustomTargetingKeyId = $contentBrowseCustomTargetingKeyId;
+ $this->isTest = $isTest;
+ }
+
+ }
+}
+
+if (!class_exists("NetworkError", false)) {
+ /**
+ * An error for a network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NetworkError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NetworkError";
+
+ /**
+ * @access public
+ * @var tnsNetworkErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ParseError", false)) {
+ /**
+ * Lists errors related to parsing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError";
+
+ /**
+ * @access public
+ * @var tnsParseErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PrecisionError", false)) {
+ /**
+ * List all errors associated with number precisions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PrecisionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PrecisionError";
+
+ /**
+ * @access public
+ * @var tnsPrecisionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionError", false)) {
+ /**
+ * A list of all errors to be used for validating sizes of collections.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError";
+
+ /**
+ * @access public
+ * @var tnsRequiredCollectionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberError", false)) {
+ /**
+ * A list of all errors to be used in conjunction with required number
+ * validators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError";
+
+ /**
+ * @access public
+ * @var tnsRequiredNumberErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthError", false)) {
+ /**
+ * Errors for Strings which do not meet given length constraints.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TypeError", false)) {
+ /**
+ * An error for a field which is an invalid type.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TypeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TypeError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ExchangeRateErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ExchangeRateErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ExchangeRateError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InvalidEmailErrorReason", false)) {
+ /**
+ * Describes reasons for an email to be invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidEmailErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidEmailError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NetworkErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NetworkErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NetworkError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ParseErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PrecisionErrorReason", false)) {
+ /**
+ * Describes reasons for precision errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PrecisionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PrecisionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionErrorReason", false)) {
+ /**
+ * A required collection is missing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberErrorReason", false)) {
+ /**
+ * Describes reasons for a number to be invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GetAllNetworks", false)) {
+ /**
+ * Returns the list of {@link Network} objects to which the current login has
+ * access.
+ *
+ * Intended to be used without a network code in the SOAP header when the
+ * login may have more than one network associated with it.
+ *
+ *
+ * @return the networks to which the current login has access
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetAllNetworks {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GetAllNetworksResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetAllNetworksResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Network[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetCurrentNetwork", false)) {
+ /**
+ * Returns the current network for which requests are being made.
+ *
+ * @return the network for which the user is currently making the request
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetCurrentNetwork {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GetCurrentNetworkResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetCurrentNetworkResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Network
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("MakeTestNetwork", false)) {
+ /**
+ * Creates a new blank network for testing purposes using the current login.
+ *
+ * Each login(i.e. email address) can only have one test network. Data from
+ * any of your existing networks will not be transferred to the new test network.
+ * Once the test network is created, the test network can be used in the API
+ * by supplying the {@link Network#networkCode} in the SOAP header or by
+ * logging into the DFP UI.
+ *
+ * Test networks are limited in the following ways:
+ *
+ * - Test networks cannot serve ads.
+ * - Because test networks cannot serve ads, reports will always come
+ * back without data.
+ * - Since forecasting requires serving history, forecast service results
+ * will be faked. See {@link ForecastService} for more info.
+ * - Test networks are, by default, small business networks and do not have any
+ * premium features. To have additional features turned on, please contact your
+ * account manager.
+ * - Test networks are limited to 10,000 objects per entity type.
+ *
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MakeTestNetwork {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("MakeTestNetworkResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MakeTestNetworkResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Network
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateNetwork", false)) {
+ /**
+ * Updates the specified network. Currently, only the network display name can
+ * be updated.
+ *
+ * @param network the network that needs to be updated
+ * @return the updated network
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateNetwork {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Network
+ */
+ public $network;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($network = null) {
+ $this->network = $network;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateNetworkResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateNetworkResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Network
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("NetworkService", false)) {
+ /**
+ * NetworkService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NetworkService extends DfpSoapClient {
+
+ const SERVICE_NAME = "NetworkService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/NetworkService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/NetworkService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AuthenticationError" => "AuthenticationError",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "ExchangeRateError" => "ExchangeRateError",
+ "FeatureError" => "FeatureError",
+ "InternalApiError" => "InternalApiError",
+ "InvalidEmailError" => "InvalidEmailError",
+ "Network" => "Network",
+ "NetworkError" => "NetworkError",
+ "NotNullError" => "NotNullError",
+ "ParseError" => "ParseError",
+ "PermissionError" => "PermissionError",
+ "PrecisionError" => "PrecisionError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RequiredCollectionError" => "RequiredCollectionError",
+ "RequiredError" => "RequiredError",
+ "RequiredNumberError" => "RequiredNumberError",
+ "ServerError" => "ServerError",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "StatementError" => "StatementError",
+ "StringLengthError" => "StringLengthError",
+ "TypeError" => "TypeError",
+ "UniqueError" => "UniqueError",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "ExchangeRateError.Reason" => "ExchangeRateErrorReason",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "InvalidEmailError.Reason" => "InvalidEmailErrorReason",
+ "NetworkError.Reason" => "NetworkErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "ParseError.Reason" => "ParseErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PrecisionError.Reason" => "PrecisionErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RequiredCollectionError.Reason" => "RequiredCollectionErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "RequiredNumberError.Reason" => "RequiredNumberErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "getAllNetworks" => "GetAllNetworks",
+ "getAllNetworksResponse" => "GetAllNetworksResponse",
+ "getCurrentNetwork" => "GetCurrentNetwork",
+ "getCurrentNetworkResponse" => "GetCurrentNetworkResponse",
+ "makeTestNetwork" => "MakeTestNetwork",
+ "makeTestNetworkResponse" => "MakeTestNetworkResponse",
+ "updateNetwork" => "UpdateNetwork",
+ "updateNetworkResponse" => "UpdateNetworkResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Returns the list of {@link Network} objects to which the current login has
+ * access.
+ *
+ * Intended to be used without a network code in the SOAP header when the
+ * login may have more than one network associated with it.
+ *
+ *
+ * @return the networks to which the current login has access
+ */
+ public function getAllNetworks() {
+ $args = new GetAllNetworks();
+ $result = $this->__soapCall("getAllNetworks", array($args));
+ return $result->rval;
+ }
+ /**
+ * Returns the current network for which requests are being made.
+ *
+ * @return the network for which the user is currently making the request
+ */
+ public function getCurrentNetwork() {
+ $args = new GetCurrentNetwork();
+ $result = $this->__soapCall("getCurrentNetwork", array($args));
+ return $result->rval;
+ }
+ /**
+ * Creates a new blank network for testing purposes using the current login.
+ *
+ * Each login(i.e. email address) can only have one test network. Data from
+ * any of your existing networks will not be transferred to the new test network.
+ * Once the test network is created, the test network can be used in the API
+ * by supplying the {@link Network#networkCode} in the SOAP header or by
+ * logging into the DFP UI.
+ *
+ * Test networks are limited in the following ways:
+ *
+ * - Test networks cannot serve ads.
+ * - Because test networks cannot serve ads, reports will always come
+ * back without data.
+ * - Since forecasting requires serving history, forecast service results
+ * will be faked. See {@link ForecastService} for more info.
+ * - Test networks are, by default, small business networks and do not have any
+ * premium features. To have additional features turned on, please contact your
+ * account manager.
+ * - Test networks are limited to 10,000 objects per entity type.
+ *
+ *
+ */
+ public function makeTestNetwork() {
+ $args = new MakeTestNetwork();
+ $result = $this->__soapCall("makeTestNetwork", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified network. Currently, only the network display name can
+ * be updated.
+ *
+ * @param network the network that needs to be updated
+ * @return the updated network
+ */
+ public function updateNetwork($network) {
+ $args = new UpdateNetwork($network);
+ $result = $this->__soapCall("updateNetwork", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/OrderService.php b/src/Google/Api/Ads/Dfp/v201505/OrderService.php
new file mode 100755
index 000000000..363efbcad
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/OrderService.php
@@ -0,0 +1,7513 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AppliedLabel", false)) {
+ /**
+ * Represents a {@link Label} that can be applied to an entity. To negate an
+ * inherited label, create an {@code AppliedLabel} with {@code labelId} as the
+ * inherited label's ID and {@code isNegated} set to true.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AppliedLabel {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AppliedLabel";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $labelId;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isNegated;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($labelId = null, $isNegated = null) {
+ $this->labelId = $labelId;
+ $this->isNegated = $isNegated;
+ }
+
+ }
+}
+
+if (!class_exists("AudienceExtensionError", false)) {
+ /**
+ * Errors associated with audience extension enabled line items
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceExtensionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceExtensionError";
+
+ /**
+ * @access public
+ * @var tnsAudienceExtensionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("BaseCustomFieldValue", false)) {
+ /**
+ * The value of a {@link CustomField} for a particular entity.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BaseCustomFieldValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customFieldId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customFieldId = null) {
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("ClickTrackingLineItemError", false)) {
+ /**
+ * Click tracking is a special line item type with a number of unique errors as
+ * described below.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ClickTrackingLineItemError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ClickTrackingLineItemError";
+
+ /**
+ * @access public
+ * @var tnsClickTrackingLineItemErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CompanyCreditStatusError", false)) {
+ /**
+ * Lists all errors due to {@link Company#creditStatus}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CompanyCreditStatusError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CompanyCreditStatusError";
+
+ /**
+ * @access public
+ * @var tnsCompanyCreditStatusErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ContentMetadataTargetingError", false)) {
+ /**
+ * Lists all errors related to {@link ContentMetadataTargeting}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentMetadataTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentMetadataTargetingError";
+
+ /**
+ * @access public
+ * @var tnsContentMetadataTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeError", false)) {
+ /**
+ * Lists all errors associated with creatives.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeError";
+
+ /**
+ * @access public
+ * @var tnsCreativeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CrossSellError", false)) {
+ /**
+ * Lists all errors associated with cross selling.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CrossSellError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CrossSellError";
+
+ /**
+ * @access public
+ * @var tnsCrossSellErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValue", false)) {
+ /**
+ * The value of a {@link CustomField} that does not have a {@link CustomField#dataType}
+ * of {@link CustomFieldDataType#DROP_DOWN}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValue extends BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValue";
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null, $customFieldId = null) {
+ parent::__construct();
+ $this->value = $value;
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValueError", false)) {
+ /**
+ * Errors specific to editing custom field values
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValueError";
+
+ /**
+ * @access public
+ * @var tnsCustomFieldValueErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingError", false)) {
+ /**
+ * Lists all errors related to {@link CustomTargetingKey} and
+ * {@link CustomTargetingValue} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingError";
+
+ /**
+ * @access public
+ * @var tnsCustomTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeRangeTargetingError", false)) {
+ /**
+ * Lists all date time range errors caused by associating a line item with a targeting
+ * expression.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeRangeTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeRangeTargetingError";
+
+ /**
+ * @access public
+ * @var tnsDateTimeRangeTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("DayPartTargetingError", false)) {
+ /**
+ * Lists all errors associated with day-part targeting for a line item.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DayPartTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DayPartTargetingError";
+
+ /**
+ * @access public
+ * @var tnsDayPartTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("DropDownCustomFieldValue", false)) {
+ /**
+ * A {@link CustomFieldValue} for a {@link CustomField} that has a {@link CustomField#dataType}
+ * of {@link CustomFieldDataType#DROP_DOWN}
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DropDownCustomFieldValue extends BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DropDownCustomFieldValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customFieldOptionId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customFieldOptionId = null, $customFieldId = null) {
+ parent::__construct();
+ $this->customFieldOptionId = $customFieldOptionId;
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("EntityChildrenLimitReachedError", false)) {
+ /**
+ * Lists errors relating to having too many children on an entity.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityChildrenLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityChildrenLimitReachedError";
+
+ /**
+ * @access public
+ * @var tnsEntityChildrenLimitReachedErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("EntityLimitReachedError", false)) {
+ /**
+ * An error that occurs when creating an entity if the limit on the number of allowed entities for
+ * a network has already been reached.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityLimitReachedError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ForecastError", false)) {
+ /**
+ * Errors that can result from a forecast request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ForecastError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ForecastError";
+
+ /**
+ * @access public
+ * @var tnsForecastErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FrequencyCapError", false)) {
+ /**
+ * Lists all errors associated with frequency caps.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FrequencyCapError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FrequencyCapError";
+
+ /**
+ * @access public
+ * @var tnsFrequencyCapErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("GenericTargetingError", false)) {
+ /**
+ * Targeting validation errors that can be used by different targeting types.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GenericTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GenericTargetingError";
+
+ /**
+ * @access public
+ * @var tnsGenericTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("GeoTargetingError", false)) {
+ /**
+ * Lists all errors associated with geographical targeting for a
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GeoTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GeoTargetingError";
+
+ /**
+ * @access public
+ * @var tnsGeoTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("GrpSettingsError", false)) {
+ /**
+ * Errors associated with line items with GRP settings.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GrpSettingsError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GrpSettingsError";
+
+ /**
+ * @access public
+ * @var tnsGrpSettingsErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ImageError", false)) {
+ /**
+ * Lists all errors associated with images.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ImageError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ImageError";
+
+ /**
+ * @access public
+ * @var tnsImageErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InvalidEmailError", false)) {
+ /**
+ * Caused by supplying a value for an email attribute that is not a valid
+ * email address.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidEmailError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidEmailError";
+
+ /**
+ * @access public
+ * @var tnsInvalidEmailErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InvalidUrlError", false)) {
+ /**
+ * Lists all errors associated with URLs.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidUrlError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidUrlError";
+
+ /**
+ * @access public
+ * @var tnsInvalidUrlErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InventoryTargetingError", false)) {
+ /**
+ * Lists all inventory errors caused by associating a line item with a targeting
+ * expression.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryTargetingError";
+
+ /**
+ * @access public
+ * @var tnsInventoryTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LabelEntityAssociationError", false)) {
+ /**
+ * Errors specific to creating label entity associations.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelEntityAssociationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelEntityAssociationError";
+
+ /**
+ * @access public
+ * @var tnsLabelEntityAssociationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemActivityAssociationError", false)) {
+ /**
+ * Errors specific to associating activities to line items.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemActivityAssociationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemActivityAssociationError";
+
+ /**
+ * @access public
+ * @var tnsLineItemActivityAssociationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemCreativeAssociationError", false)) {
+ /**
+ * Lists all errors associated with line item-to-creative association dates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemCreativeAssociationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemCreativeAssociationError";
+
+ /**
+ * @access public
+ * @var tnsLineItemCreativeAssociationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemError", false)) {
+ /**
+ * A catch-all error that lists all generic errors associated with LineItem.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemError";
+
+ /**
+ * @access public
+ * @var tnsLineItemErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemFlightDateError", false)) {
+ /**
+ * Lists all errors associated with LineItem start and end dates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemFlightDateError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemFlightDateError";
+
+ /**
+ * @access public
+ * @var tnsLineItemFlightDateErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemOperationError", false)) {
+ /**
+ * Lists all errors for executing operations on line items
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemOperationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemOperationError";
+
+ /**
+ * @access public
+ * @var tnsLineItemOperationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Money", false)) {
+ /**
+ * Represents a money amount.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Money {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Money";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $currencyCode;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $microAmount;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($currencyCode = null, $microAmount = null) {
+ $this->currencyCode = $currencyCode;
+ $this->microAmount = $microAmount;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NullError", false)) {
+ /**
+ * Errors associated with violation of a NOT NULL check.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("OrderAction", false)) {
+ /**
+ * Represents the actions that can be performed on {@link Order} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OrderAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OrderAction";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("OrderActionError", false)) {
+ /**
+ * Lists all errors associated with performing actions on {@link Order} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OrderActionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OrderActionError";
+
+ /**
+ * @access public
+ * @var tnsOrderActionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Order", false)) {
+ /**
+ * An {@code Order} represents a grouping of individual {@link LineItem}
+ * objects, each of which fulfill an ad request from a particular advertiser.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Order {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Order";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $startDateTime;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $endDateTime;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $unlimitedEndDateTime;
+
+ /**
+ * @access public
+ * @var tnsOrderStatus
+ */
+ public $status;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isArchived;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $notes;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $externalOrderId;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $poNumber;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $currencyCode;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $advertiserId;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $advertiserContactIds;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $agencyId;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $agencyContactIds;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $creatorId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $traffickerId;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $secondaryTraffickerIds;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $salespersonId;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $secondarySalespersonIds;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalImpressionsDelivered;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalClicksDelivered;
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $totalBudget;
+
+ /**
+ * @access public
+ * @var AppliedLabel[]
+ */
+ public $appliedLabels;
+
+ /**
+ * @access public
+ * @var AppliedLabel[]
+ */
+ public $effectiveAppliedLabels;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $lastModifiedByApp;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isProgrammatic;
+
+ /**
+ * @access public
+ * @var ProgrammaticSettings
+ */
+ public $programmaticSettings;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $appliedTeamIds;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $lastModifiedDateTime;
+
+ /**
+ * @access public
+ * @var BaseCustomFieldValue[]
+ */
+ public $customFieldValues;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null, $startDateTime = null, $endDateTime = null, $unlimitedEndDateTime = null, $status = null, $isArchived = null, $notes = null, $externalOrderId = null, $poNumber = null, $currencyCode = null, $advertiserId = null, $advertiserContactIds = null, $agencyId = null, $agencyContactIds = null, $creatorId = null, $traffickerId = null, $secondaryTraffickerIds = null, $salespersonId = null, $secondarySalespersonIds = null, $totalImpressionsDelivered = null, $totalClicksDelivered = null, $totalBudget = null, $appliedLabels = null, $effectiveAppliedLabels = null, $lastModifiedByApp = null, $isProgrammatic = null, $programmaticSettings = null, $appliedTeamIds = null, $lastModifiedDateTime = null, $customFieldValues = null) {
+ $this->id = $id;
+ $this->name = $name;
+ $this->startDateTime = $startDateTime;
+ $this->endDateTime = $endDateTime;
+ $this->unlimitedEndDateTime = $unlimitedEndDateTime;
+ $this->status = $status;
+ $this->isArchived = $isArchived;
+ $this->notes = $notes;
+ $this->externalOrderId = $externalOrderId;
+ $this->poNumber = $poNumber;
+ $this->currencyCode = $currencyCode;
+ $this->advertiserId = $advertiserId;
+ $this->advertiserContactIds = $advertiserContactIds;
+ $this->agencyId = $agencyId;
+ $this->agencyContactIds = $agencyContactIds;
+ $this->creatorId = $creatorId;
+ $this->traffickerId = $traffickerId;
+ $this->secondaryTraffickerIds = $secondaryTraffickerIds;
+ $this->salespersonId = $salespersonId;
+ $this->secondarySalespersonIds = $secondarySalespersonIds;
+ $this->totalImpressionsDelivered = $totalImpressionsDelivered;
+ $this->totalClicksDelivered = $totalClicksDelivered;
+ $this->totalBudget = $totalBudget;
+ $this->appliedLabels = $appliedLabels;
+ $this->effectiveAppliedLabels = $effectiveAppliedLabels;
+ $this->lastModifiedByApp = $lastModifiedByApp;
+ $this->isProgrammatic = $isProgrammatic;
+ $this->programmaticSettings = $programmaticSettings;
+ $this->appliedTeamIds = $appliedTeamIds;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ $this->customFieldValues = $customFieldValues;
+ }
+
+ }
+}
+
+if (!class_exists("OrderError", false)) {
+ /**
+ * Lists all errors associated with orders.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OrderError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OrderError";
+
+ /**
+ * @access public
+ * @var tnsOrderErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("OrderPage", false)) {
+ /**
+ * Captures a page of {@link Order} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OrderPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OrderPage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var Order[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("ParseError", false)) {
+ /**
+ * Lists errors related to parsing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError";
+
+ /**
+ * @access public
+ * @var tnsParseErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PauseOrders", false)) {
+ /**
+ * The action used for pausing {@link Order} objects. All {@link LineItem}
+ * objects within the order will be paused as well.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PauseOrders extends OrderAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PauseOrders";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProgrammaticError", false)) {
+ /**
+ * Errors associated with programmatic line items
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProgrammaticError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProgrammaticError";
+
+ /**
+ * @access public
+ * @var tnsProgrammaticErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProgrammaticSettings", false)) {
+ /**
+ * Represents the additional settings of a programmatic order.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProgrammaticSettings {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProgrammaticSettings";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $adxBuyerNetworkId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $buyerId;
+
+ /**
+ * @access public
+ * @var tnsBuyerPlatform
+ */
+ public $buyerPlatform;
+
+ /**
+ * @access public
+ * @var tnsBillingTermsType
+ */
+ public $billingTermsType;
+
+ /**
+ * @access public
+ * @var tnsProgrammaticStatus
+ */
+ public $status;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($adxBuyerNetworkId = null, $buyerId = null, $buyerPlatform = null, $billingTermsType = null, $status = null) {
+ $this->adxBuyerNetworkId = $adxBuyerNetworkId;
+ $this->buyerId = $buyerId;
+ $this->buyerPlatform = $buyerPlatform;
+ $this->billingTermsType = $billingTermsType;
+ $this->status = $status;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RangeError", false)) {
+ /**
+ * A list of all errors associated with the Range constraint.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError";
+
+ /**
+ * @access public
+ * @var tnsRangeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionError", false)) {
+ /**
+ * A list of all errors to be used for validating sizes of collections.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError";
+
+ /**
+ * @access public
+ * @var tnsRequiredCollectionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberError", false)) {
+ /**
+ * A list of all errors to be used in conjunction with required number
+ * validators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError";
+
+ /**
+ * @access public
+ * @var tnsRequiredNumberErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredSizeError", false)) {
+ /**
+ * A list of all errors to be used for validating {@link Size}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredSizeError";
+
+ /**
+ * @access public
+ * @var tnsRequiredSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ReservationDetailsError", false)) {
+ /**
+ * Lists all errors associated with LineItem's reservation details.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReservationDetailsError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReservationDetailsError";
+
+ /**
+ * @access public
+ * @var tnsReservationDetailsErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ResumeOrders", false)) {
+ /**
+ * The action used for resuming {@link Order} objects. {@link LineItem} objects within
+ * the order that are eligble to resume will resume as well.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ResumeOrders extends OrderAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ResumeOrders";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $skipInventoryCheck;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($skipInventoryCheck = null) {
+ parent::__construct();
+ $this->skipInventoryCheck = $skipInventoryCheck;
+ }
+
+ }
+}
+
+if (!class_exists("RetractOrders", false)) {
+ /**
+ * The action used for retracting {@link Order} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RetractOrders extends OrderAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RetractOrders";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("RetractOrdersWithoutReservationChanges", false)) {
+ /**
+ * The action used for retracting {@link Order} objects. This action does not
+ * make any changes to the {@link LineItem#reservationStatus} of the line items
+ * within the order.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RetractOrdersWithoutReservationChanges extends OrderAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RetractOrdersWithoutReservationChanges";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("AudienceSegmentError", false)) {
+ /**
+ * Errors that could occur on audience segment related requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceSegmentError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceSegmentError";
+
+ /**
+ * @access public
+ * @var tnsAudienceSegmentErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SetTopBoxLineItemError", false)) {
+ /**
+ * Errors associated with set-top box {@link LineItem line items}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetTopBoxLineItemError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetTopBoxLineItemError";
+
+ /**
+ * @access public
+ * @var tnsSetTopBoxLineItemErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthError", false)) {
+ /**
+ * Errors for Strings which do not meet given length constraints.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SubmitOrdersForApproval", false)) {
+ /**
+ * The action used for submitting {@link Order} objects for approval.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SubmitOrdersForApproval extends OrderAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SubmitOrdersForApproval";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $skipInventoryCheck;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($skipInventoryCheck = null) {
+ parent::__construct();
+ $this->skipInventoryCheck = $skipInventoryCheck;
+ }
+
+ }
+}
+
+if (!class_exists("SubmitOrdersForApprovalAndOverbook", false)) {
+ /**
+ * The action used for submitting and overbooking {@link Order} objects for approval.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SubmitOrdersForApprovalAndOverbook extends SubmitOrdersForApproval {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SubmitOrdersForApprovalAndOverbook";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($skipInventoryCheck = null) {
+ parent::__construct();
+ $this->skipInventoryCheck = $skipInventoryCheck;
+ }
+
+ }
+}
+
+if (!class_exists("SubmitOrdersForApprovalWithoutReservationChanges", false)) {
+ /**
+ * The action used for submitting {@link Order} objects for approval. This
+ * action does not make any changes to the {@link LineItem#reservationStatus}
+ * of the line items within the order.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SubmitOrdersForApprovalWithoutReservationChanges extends OrderAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SubmitOrdersForApprovalWithoutReservationChanges";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("TeamError", false)) {
+ /**
+ * Errors related to a Team.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TeamError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TeamError";
+
+ /**
+ * @access public
+ * @var tnsTeamErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TechnologyTargetingError", false)) {
+ /**
+ * Technology targeting validation errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TechnologyTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TechnologyTargetingError";
+
+ /**
+ * @access public
+ * @var tnsTechnologyTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TemplateInstantiatedCreativeError", false)) {
+ /**
+ * Lists all errors associated with template instantiated creatives.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TemplateInstantiatedCreativeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TemplateInstantiatedCreativeError";
+
+ /**
+ * @access public
+ * @var tnsTemplateInstantiatedCreativeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TimeZoneError", false)) {
+ /**
+ * Errors related to timezones.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TimeZoneError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TimeZoneError";
+
+ /**
+ * @access public
+ * @var tnsTimeZoneErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TypeError", false)) {
+ /**
+ * An error for a field which is an invalid type.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TypeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TypeError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UnarchiveOrders", false)) {
+ /**
+ * The action used for unarchiving {@link Order} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UnarchiveOrders extends OrderAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UnarchiveOrders";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateResult", false)) {
+ /**
+ * Represents the result of performing an action on objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UpdateResult";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numChanges;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($numChanges = null) {
+ $this->numChanges = $numChanges;
+ }
+
+ }
+}
+
+if (!class_exists("UserDomainTargetingError", false)) {
+ /**
+ * Lists all errors related to user domain targeting for a line item.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserDomainTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserDomainTargetingError";
+
+ /**
+ * @access public
+ * @var tnsUserDomainTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AudienceExtensionErrorReason", false)) {
+ /**
+ * Specific audience extension error reasons.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceExtensionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceExtensionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("BillingTermsType", false)) {
+ /**
+ * Describes the billing terms for a programmatic order.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BillingTermsType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BillingTermsType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("BuyerPlatform", false)) {
+ /**
+ * Describes the buyer platform for a programmatic order.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BuyerPlatform {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BuyerPlatform";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ClickTrackingLineItemErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ClickTrackingLineItemErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ClickTrackingLineItemError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CompanyCreditStatusErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CompanyCreditStatusErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CompanyCreditStatusError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ContentMetadataTargetingErrorReason", false)) {
+ /**
+ * The reasons for the metadata targeting error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentMetadataTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentMetadataTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CrossSellErrorReason", false)) {
+ /**
+ * The reason of the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CrossSellErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CrossSellError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValueErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValueErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValueError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeRangeTargetingErrorReason", false)) {
+ /**
+ * {@link ApiErrorReason} enum for date time range targeting error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeRangeTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeRangeTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("DayPartTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DayPartTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DayPartTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("EntityChildrenLimitReachedErrorReason", false)) {
+ /**
+ * The reasons for the entity children limit reached error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityChildrenLimitReachedErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityChildrenLimitReachedError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ForecastErrorReason", false)) {
+ /**
+ * Reason why a forecast could not be retrieved.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ForecastErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ForecastError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FrequencyCapErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FrequencyCapErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FrequencyCapError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GenericTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GenericTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GenericTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GeoTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GeoTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GeoTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GrpSettingsErrorReason", false)) {
+ /**
+ * Reason for GRP settings error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GrpSettingsErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GrpSettingsError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ImageErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ImageErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ImageError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InvalidEmailErrorReason", false)) {
+ /**
+ * Describes reasons for an email to be invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidEmailErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidEmailError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InvalidUrlErrorReason", false)) {
+ /**
+ * The URL contains invalid characters.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidUrlErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidUrlError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InventoryTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LabelEntityAssociationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelEntityAssociationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelEntityAssociationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemActivityAssociationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemActivityAssociationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemActivityAssociationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemCreativeAssociationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemCreativeAssociationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemCreativeAssociationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemFlightDateErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemFlightDateErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemFlightDateError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemOperationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemOperationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemOperationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NullErrorReason", false)) {
+ /**
+ * The reasons for the validation error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("OrderActionErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OrderActionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OrderActionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("OrderErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OrderErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OrderError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("OrderStatus", false)) {
+ /**
+ * Describes the order statuses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OrderStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OrderStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ParseErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProgrammaticErrorReason", false)) {
+ /**
+ * Audience extension is not supported by programmatic line items.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProgrammaticErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProgrammaticError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProgrammaticStatus", false)) {
+ /**
+ * Describes the programmatic statuses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProgrammaticStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProgrammaticStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RangeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionErrorReason", false)) {
+ /**
+ * A required collection is missing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberErrorReason", false)) {
+ /**
+ * Describes reasons for a number to be invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredSizeErrorReason", false)) {
+ /**
+ * {@link Creative#size} or {@link LineItem#creativeSizes} is
+ * missing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ReservationDetailsErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReservationDetailsErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReservationDetailsError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AudienceSegmentErrorReason", false)) {
+ /**
+ * Reason of the given {@link AudienceSegmentError}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceSegmentErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceSegmentError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("SetTopBoxLineItemErrorReason", false)) {
+ /**
+ * Reason for set-top box error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetTopBoxLineItemErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetTopBoxLineItemError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TeamErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TeamErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TeamError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TechnologyTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TechnologyTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TechnologyTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TemplateInstantiatedCreativeErrorReason", false)) {
+ /**
+ * The reason for the error
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TemplateInstantiatedCreativeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TemplateInstantiatedCreativeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TimeZoneErrorReason", false)) {
+ /**
+ * Describes reasons for invalid timezone.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TimeZoneErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TimeZoneError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("UserDomainTargetingErrorReason", false)) {
+ /**
+ * {@link ApiErrorReason} enum for user domain targeting error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserDomainTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserDomainTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreateOrders", false)) {
+ /**
+ * Creates new {@link Order} objects.
+ *
+ * @param orders the orders to create
+ * @return the created orders with their IDs filled in
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateOrders {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Order[]
+ */
+ public $orders;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($orders = null) {
+ $this->orders = $orders;
+ }
+
+ }
+}
+
+if (!class_exists("CreateOrdersResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateOrdersResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Order[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetOrdersByStatement", false)) {
+ /**
+ * Gets an {@link OrderPage} of {@link Order} objects that satisfy the given
+ * {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code advertiserId} |
+ * {@link Order#advertiserId} |
+ *
+ *
+ * {@code endDateTime} |
+ * {@link Order#endDateTime} |
+ *
+ *
+ * {@code id} |
+ * {@link Order#id} |
+ *
+ *
+ * {@code name} |
+ * {@link Order#name} |
+ *
+ *
+ * {@code salespersonId} |
+ * {@link Order#salespersonId} |
+ *
+ *
+ * {@code startDateTime} |
+ * {@link Order#startDateTime} |
+ *
+ *
+ * {@code status} |
+ * {@link Order#status} |
+ *
+ *
+ * {@code traffickerId} |
+ * {@link Order#traffickerId} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link Order#lastModifiedDateTime} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of orders
+ * @return the orders that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetOrdersByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetOrdersByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetOrdersByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var OrderPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("PerformOrderAction", false)) {
+ /**
+ * Performs actions on {@link Order} objects that match the given
+ * {@link Statement#query}.
+ *
+ * @param orderAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of orders
+ * @return the result of the action performed
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformOrderAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var OrderAction
+ */
+ public $orderAction;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($orderAction = null, $filterStatement = null) {
+ $this->orderAction = $orderAction;
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("PerformOrderActionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformOrderActionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UpdateResult
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateOrders", false)) {
+ /**
+ * Updates the specified {@link Order} objects.
+ *
+ * @param orders the orders to update
+ * @return the updated orders
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateOrders {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Order[]
+ */
+ public $orders;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($orders = null) {
+ $this->orders = $orders;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateOrdersResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateOrdersResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Order[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("ApproveOrders", false)) {
+ /**
+ * The action used for approving {@link Order} objects. All {@link LineItem}
+ * objects within the order will be approved as well.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApproveOrders extends OrderAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApproveOrders";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $skipInventoryCheck;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($skipInventoryCheck = null) {
+ parent::__construct();
+ $this->skipInventoryCheck = $skipInventoryCheck;
+ }
+
+ }
+}
+
+if (!class_exists("ApproveOrdersWithoutReservationChanges", false)) {
+ /**
+ * The action used for approving {@link Order} objects. All {@link LineItem}
+ * objects within the order will be approved as well. This action does not
+ * make any changes to the {@link LineItem#reservationStatus} of the line
+ * items within the order. If there are reservable line items that have not
+ * been reserved the operation will not succeed.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApproveOrdersWithoutReservationChanges extends OrderAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApproveOrdersWithoutReservationChanges";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ArchiveOrders", false)) {
+ /**
+ * The action used for archiving {@link Order} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ArchiveOrders extends OrderAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ArchiveOrders";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DeleteOrders", false)) {
+ /**
+ * The action used for deleting {@link Order} objects. All line items within
+ * that order are also deleted. Orders can only be deleted if none of its line
+ * items have been eligible to serve. This action can be used to delete
+ * proposed orders and line items if they are no longer valid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeleteOrders extends OrderAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeleteOrders";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("DisapproveOrders", false)) {
+ /**
+ * The action used for disapproving {@link Order} objects. All {@link LineItem}
+ * objects within the order will be disapproved as well.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DisapproveOrders extends OrderAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DisapproveOrders";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("DisapproveOrdersWithoutReservationChanges", false)) {
+ /**
+ * The action used for disapproving {@link Order} objects. All {@link LineItem}
+ * objects within the order will be disapproved as well. This action does not
+ * make any changes to the {@link LineItem#reservationStatus} of the line items
+ * within the order.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DisapproveOrdersWithoutReservationChanges extends OrderAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DisapproveOrdersWithoutReservationChanges";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("ResumeAndOverbookOrders", false)) {
+ /**
+ * The action used for resuming and overbooking {@link Order} objects.
+ * All {@link LineItem} objects within the order will resume as well.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ResumeAndOverbookOrders extends ResumeOrders {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ResumeAndOverbookOrders";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($skipInventoryCheck = null) {
+ parent::__construct();
+ $this->skipInventoryCheck = $skipInventoryCheck;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("ApproveAndOverbookOrders", false)) {
+ /**
+ * The action used for approving and overbooking {@link Order} objects.
+ * All {@link LineItem} objects within the order will be approved as well.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApproveAndOverbookOrders extends ApproveOrders {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApproveAndOverbookOrders";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($skipInventoryCheck = null) {
+ parent::__construct();
+ $this->skipInventoryCheck = $skipInventoryCheck;
+ }
+
+ }
+}
+
+if (!class_exists("OrderService", false)) {
+ /**
+ * OrderService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OrderService extends DfpSoapClient {
+
+ const SERVICE_NAME = "OrderService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/OrderService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/OrderService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AppliedLabel" => "AppliedLabel",
+ "ApproveAndOverbookOrders" => "ApproveAndOverbookOrders",
+ "ApproveOrders" => "ApproveOrders",
+ "ApproveOrdersWithoutReservationChanges" => "ApproveOrdersWithoutReservationChanges",
+ "ArchiveOrders" => "ArchiveOrders",
+ "AudienceExtensionError" => "AudienceExtensionError",
+ "AuthenticationError" => "AuthenticationError",
+ "BaseCustomFieldValue" => "BaseCustomFieldValue",
+ "BooleanValue" => "BooleanValue",
+ "ClickTrackingLineItemError" => "ClickTrackingLineItemError",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "CompanyCreditStatusError" => "CompanyCreditStatusError",
+ "ContentMetadataTargetingError" => "ContentMetadataTargetingError",
+ "CreativeError" => "CreativeError",
+ "CrossSellError" => "CrossSellError",
+ "CustomFieldValue" => "CustomFieldValue",
+ "CustomFieldValueError" => "CustomFieldValueError",
+ "CustomTargetingError" => "CustomTargetingError",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeRangeTargetingError" => "DateTimeRangeTargetingError",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "DayPartTargetingError" => "DayPartTargetingError",
+ "DeleteOrders" => "DeleteOrders",
+ "DisapproveOrders" => "DisapproveOrders",
+ "DisapproveOrdersWithoutReservationChanges" => "DisapproveOrdersWithoutReservationChanges",
+ "DropDownCustomFieldValue" => "DropDownCustomFieldValue",
+ "EntityChildrenLimitReachedError" => "EntityChildrenLimitReachedError",
+ "EntityLimitReachedError" => "EntityLimitReachedError",
+ "FeatureError" => "FeatureError",
+ "ForecastError" => "ForecastError",
+ "FrequencyCapError" => "FrequencyCapError",
+ "GenericTargetingError" => "GenericTargetingError",
+ "GeoTargetingError" => "GeoTargetingError",
+ "GrpSettingsError" => "GrpSettingsError",
+ "ImageError" => "ImageError",
+ "InternalApiError" => "InternalApiError",
+ "InvalidEmailError" => "InvalidEmailError",
+ "InvalidUrlError" => "InvalidUrlError",
+ "InventoryTargetingError" => "InventoryTargetingError",
+ "LabelEntityAssociationError" => "LabelEntityAssociationError",
+ "LineItemActivityAssociationError" => "LineItemActivityAssociationError",
+ "LineItemCreativeAssociationError" => "LineItemCreativeAssociationError",
+ "LineItemError" => "LineItemError",
+ "LineItemFlightDateError" => "LineItemFlightDateError",
+ "LineItemOperationError" => "LineItemOperationError",
+ "Money" => "Money",
+ "NotNullError" => "NotNullError",
+ "NullError" => "NullError",
+ "NumberValue" => "NumberValue",
+ "OrderAction" => "OrderAction",
+ "OrderActionError" => "OrderActionError",
+ "Order" => "Order",
+ "OrderError" => "OrderError",
+ "OrderPage" => "OrderPage",
+ "ParseError" => "ParseError",
+ "PauseOrders" => "PauseOrders",
+ "PermissionError" => "PermissionError",
+ "ProgrammaticError" => "ProgrammaticError",
+ "ProgrammaticSettings" => "ProgrammaticSettings",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RangeError" => "RangeError",
+ "RequiredCollectionError" => "RequiredCollectionError",
+ "RequiredError" => "RequiredError",
+ "RequiredNumberError" => "RequiredNumberError",
+ "RequiredSizeError" => "RequiredSizeError",
+ "ReservationDetailsError" => "ReservationDetailsError",
+ "ResumeAndOverbookOrders" => "ResumeAndOverbookOrders",
+ "ResumeOrders" => "ResumeOrders",
+ "RetractOrders" => "RetractOrders",
+ "RetractOrdersWithoutReservationChanges" => "RetractOrdersWithoutReservationChanges",
+ "AudienceSegmentError" => "AudienceSegmentError",
+ "ServerError" => "ServerError",
+ "SetTopBoxLineItemError" => "SetTopBoxLineItemError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "StringLengthError" => "StringLengthError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "SubmitOrdersForApproval" => "SubmitOrdersForApproval",
+ "SubmitOrdersForApprovalAndOverbook" => "SubmitOrdersForApprovalAndOverbook",
+ "SubmitOrdersForApprovalWithoutReservationChanges" => "SubmitOrdersForApprovalWithoutReservationChanges",
+ "TeamError" => "TeamError",
+ "TechnologyTargetingError" => "TechnologyTargetingError",
+ "TemplateInstantiatedCreativeError" => "TemplateInstantiatedCreativeError",
+ "TextValue" => "TextValue",
+ "TimeZoneError" => "TimeZoneError",
+ "TypeError" => "TypeError",
+ "UnarchiveOrders" => "UnarchiveOrders",
+ "UniqueError" => "UniqueError",
+ "UpdateResult" => "UpdateResult",
+ "UserDomainTargetingError" => "UserDomainTargetingError",
+ "Value" => "Value",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AudienceExtensionError.Reason" => "AudienceExtensionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "BillingTermsType" => "BillingTermsType",
+ "BuyerPlatform" => "BuyerPlatform",
+ "ClickTrackingLineItemError.Reason" => "ClickTrackingLineItemErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "CompanyCreditStatusError.Reason" => "CompanyCreditStatusErrorReason",
+ "ContentMetadataTargetingError.Reason" => "ContentMetadataTargetingErrorReason",
+ "CreativeError.Reason" => "CreativeErrorReason",
+ "CrossSellError.Reason" => "CrossSellErrorReason",
+ "CustomFieldValueError.Reason" => "CustomFieldValueErrorReason",
+ "CustomTargetingError.Reason" => "CustomTargetingErrorReason",
+ "DateTimeRangeTargetingError.Reason" => "DateTimeRangeTargetingErrorReason",
+ "DayPartTargetingError.Reason" => "DayPartTargetingErrorReason",
+ "EntityChildrenLimitReachedError.Reason" => "EntityChildrenLimitReachedErrorReason",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "ForecastError.Reason" => "ForecastErrorReason",
+ "FrequencyCapError.Reason" => "FrequencyCapErrorReason",
+ "GenericTargetingError.Reason" => "GenericTargetingErrorReason",
+ "GeoTargetingError.Reason" => "GeoTargetingErrorReason",
+ "GrpSettingsError.Reason" => "GrpSettingsErrorReason",
+ "ImageError.Reason" => "ImageErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "InvalidEmailError.Reason" => "InvalidEmailErrorReason",
+ "InvalidUrlError.Reason" => "InvalidUrlErrorReason",
+ "InventoryTargetingError.Reason" => "InventoryTargetingErrorReason",
+ "LabelEntityAssociationError.Reason" => "LabelEntityAssociationErrorReason",
+ "LineItemActivityAssociationError.Reason" => "LineItemActivityAssociationErrorReason",
+ "LineItemCreativeAssociationError.Reason" => "LineItemCreativeAssociationErrorReason",
+ "LineItemError.Reason" => "LineItemErrorReason",
+ "LineItemFlightDateError.Reason" => "LineItemFlightDateErrorReason",
+ "LineItemOperationError.Reason" => "LineItemOperationErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "NullError.Reason" => "NullErrorReason",
+ "OrderActionError.Reason" => "OrderActionErrorReason",
+ "OrderError.Reason" => "OrderErrorReason",
+ "OrderStatus" => "OrderStatus",
+ "ParseError.Reason" => "ParseErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "ProgrammaticError.Reason" => "ProgrammaticErrorReason",
+ "ProgrammaticStatus" => "ProgrammaticStatus",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RangeError.Reason" => "RangeErrorReason",
+ "RequiredCollectionError.Reason" => "RequiredCollectionErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "RequiredNumberError.Reason" => "RequiredNumberErrorReason",
+ "RequiredSizeError.Reason" => "RequiredSizeErrorReason",
+ "ReservationDetailsError.Reason" => "ReservationDetailsErrorReason",
+ "AudienceSegmentError.Reason" => "AudienceSegmentErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "SetTopBoxLineItemError.Reason" => "SetTopBoxLineItemErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "TeamError.Reason" => "TeamErrorReason",
+ "TechnologyTargetingError.Reason" => "TechnologyTargetingErrorReason",
+ "TemplateInstantiatedCreativeError.Reason" => "TemplateInstantiatedCreativeErrorReason",
+ "TimeZoneError.Reason" => "TimeZoneErrorReason",
+ "UserDomainTargetingError.Reason" => "UserDomainTargetingErrorReason",
+ "createOrders" => "CreateOrders",
+ "createOrdersResponse" => "CreateOrdersResponse",
+ "getOrdersByStatement" => "GetOrdersByStatement",
+ "getOrdersByStatementResponse" => "GetOrdersByStatementResponse",
+ "performOrderAction" => "PerformOrderAction",
+ "performOrderActionResponse" => "PerformOrderActionResponse",
+ "updateOrders" => "UpdateOrders",
+ "updateOrdersResponse" => "UpdateOrdersResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Creates new {@link Order} objects.
+ *
+ * @param orders the orders to create
+ * @return the created orders with their IDs filled in
+ */
+ public function createOrders($orders) {
+ $args = new CreateOrders($orders);
+ $result = $this->__soapCall("createOrders", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets an {@link OrderPage} of {@link Order} objects that satisfy the given
+ * {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code advertiserId} |
+ * {@link Order#advertiserId} |
+ *
+ *
+ * {@code endDateTime} |
+ * {@link Order#endDateTime} |
+ *
+ *
+ * {@code id} |
+ * {@link Order#id} |
+ *
+ *
+ * {@code name} |
+ * {@link Order#name} |
+ *
+ *
+ * {@code salespersonId} |
+ * {@link Order#salespersonId} |
+ *
+ *
+ * {@code startDateTime} |
+ * {@link Order#startDateTime} |
+ *
+ *
+ * {@code status} |
+ * {@link Order#status} |
+ *
+ *
+ * {@code traffickerId} |
+ * {@link Order#traffickerId} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link Order#lastModifiedDateTime} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of orders
+ * @return the orders that match the given filter
+ */
+ public function getOrdersByStatement($filterStatement) {
+ $args = new GetOrdersByStatement($filterStatement);
+ $result = $this->__soapCall("getOrdersByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Performs actions on {@link Order} objects that match the given
+ * {@link Statement#query}.
+ *
+ * @param orderAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of orders
+ * @return the result of the action performed
+ */
+ public function performOrderAction($orderAction, $filterStatement) {
+ $args = new PerformOrderAction($orderAction, $filterStatement);
+ $result = $this->__soapCall("performOrderAction", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link Order} objects.
+ *
+ * @param orders the orders to update
+ * @return the updated orders
+ */
+ public function updateOrders($orders) {
+ $args = new UpdateOrders($orders);
+ $result = $this->__soapCall("updateOrders", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/PackageService.php b/src/Google/Api/Ads/Dfp/v201505/PackageService.php
new file mode 100755
index 000000000..87bbfdca0
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/PackageService.php
@@ -0,0 +1,4768 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("AvailableBillingError", false)) {
+ /**
+ * Lists all errors associated with the availability of billing settings based on
+ * proposal network settings.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AvailableBillingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AvailableBillingError";
+
+ /**
+ * @access public
+ * @var tnsAvailableBillingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("BillingError", false)) {
+ /**
+ * Lists all errors associated with the billing settings of a proposal or proposal line item.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BillingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BillingError";
+
+ /**
+ * @access public
+ * @var tnsBillingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValueError", false)) {
+ /**
+ * Errors specific to editing custom field values
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValueError";
+
+ /**
+ * @access public
+ * @var tnsCustomFieldValueErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingError", false)) {
+ /**
+ * Lists all errors related to {@link CustomTargetingKey} and
+ * {@link CustomTargetingValue} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingError";
+
+ /**
+ * @access public
+ * @var tnsCustomTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("DayPartTargetingError", false)) {
+ /**
+ * Lists all errors associated with day-part targeting for a line item.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DayPartTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DayPartTargetingError";
+
+ /**
+ * @access public
+ * @var tnsDayPartTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FrequencyCapError", false)) {
+ /**
+ * Lists all errors associated with frequency caps.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FrequencyCapError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FrequencyCapError";
+
+ /**
+ * @access public
+ * @var tnsFrequencyCapErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("GenericTargetingError", false)) {
+ /**
+ * Targeting validation errors that can be used by different targeting types.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GenericTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GenericTargetingError";
+
+ /**
+ * @access public
+ * @var tnsGenericTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("GeoTargetingError", false)) {
+ /**
+ * Lists all errors associated with geographical targeting for a
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GeoTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GeoTargetingError";
+
+ /**
+ * @access public
+ * @var tnsGeoTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InventoryTargetingError", false)) {
+ /**
+ * Lists all inventory errors caused by associating a line item with a targeting
+ * expression.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryTargetingError";
+
+ /**
+ * @access public
+ * @var tnsInventoryTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LabelEntityAssociationError", false)) {
+ /**
+ * Errors specific to creating label entity associations.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelEntityAssociationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelEntityAssociationError";
+
+ /**
+ * @access public
+ * @var tnsLabelEntityAssociationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PackageAction", false)) {
+ /**
+ * Represents the actions that can be performed on {@link Package} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PackageAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PackageAction";
+
+ /**
+ * @access public
+ * @var tnsPackageOperator
+ */
+ public $packageOperator;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($packageOperator = null) {
+ $this->packageOperator = $packageOperator;
+ }
+
+ }
+}
+
+if (!class_exists("PackageActionError", false)) {
+ /**
+ * Lists all errors for executing actions on {@link Package} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PackageActionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PackageActionError";
+
+ /**
+ * @access public
+ * @var tnsPackageActionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Package", false)) {
+ /**
+ * A {@code Package} represents a group of proposal line items which will be sold together.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Package {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Package";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $proposalId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $productPackageId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $rateCardId;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $comments;
+
+ /**
+ * @access public
+ * @var tnsPackageStatus
+ */
+ public $status;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $startDateTime;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $endDateTime;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $lastModifiedDateTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $proposalId = null, $productPackageId = null, $rateCardId = null, $name = null, $comments = null, $status = null, $startDateTime = null, $endDateTime = null, $lastModifiedDateTime = null) {
+ $this->id = $id;
+ $this->proposalId = $proposalId;
+ $this->productPackageId = $productPackageId;
+ $this->rateCardId = $rateCardId;
+ $this->name = $name;
+ $this->comments = $comments;
+ $this->status = $status;
+ $this->startDateTime = $startDateTime;
+ $this->endDateTime = $endDateTime;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ }
+
+ }
+}
+
+if (!class_exists("PackageError", false)) {
+ /**
+ * Lists all errors associated with {@link Package} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PackageError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PackageError";
+
+ /**
+ * @access public
+ * @var tnsPackageErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PackagePage", false)) {
+ /**
+ * Captures a page of {@link Package} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PackagePage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PackagePage";
+
+ /**
+ * @access public
+ * @var Package[]
+ */
+ public $results;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($results = null, $startIndex = null, $totalResultSetSize = null) {
+ $this->results = $results;
+ $this->startIndex = $startIndex;
+ $this->totalResultSetSize = $totalResultSetSize;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PrecisionError", false)) {
+ /**
+ * List all errors associated with number precisions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PrecisionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PrecisionError";
+
+ /**
+ * @access public
+ * @var tnsPrecisionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProductError", false)) {
+ /**
+ * A catch-all error that lists all generic errors associated with Product.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductError";
+
+ /**
+ * @access public
+ * @var tnsProductErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProposalError", false)) {
+ /**
+ * Lists all errors associated with proposals.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalError";
+
+ /**
+ * @access public
+ * @var tnsProposalErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProposalLineItemError", false)) {
+ /**
+ * Lists all errors associated with proposal line items.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalLineItemError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalLineItemError";
+
+ /**
+ * @access public
+ * @var tnsProposalLineItemErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RangeError", false)) {
+ /**
+ * A list of all errors associated with the Range constraint.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError";
+
+ /**
+ * @access public
+ * @var tnsRangeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberError", false)) {
+ /**
+ * A list of all errors to be used in conjunction with required number
+ * validators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError";
+
+ /**
+ * @access public
+ * @var tnsRequiredNumberErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ReservationDetailsError", false)) {
+ /**
+ * Lists all errors associated with LineItem's reservation details.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReservationDetailsError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReservationDetailsError";
+
+ /**
+ * @access public
+ * @var tnsReservationDetailsErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthError", false)) {
+ /**
+ * Errors for Strings which do not meet given length constraints.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("TeamError", false)) {
+ /**
+ * Errors related to a Team.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TeamError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TeamError";
+
+ /**
+ * @access public
+ * @var tnsTeamErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TechnologyTargetingError", false)) {
+ /**
+ * Technology targeting validation errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TechnologyTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TechnologyTargetingError";
+
+ /**
+ * @access public
+ * @var tnsTechnologyTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TimeZoneError", false)) {
+ /**
+ * Errors related to timezones.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TimeZoneError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TimeZoneError";
+
+ /**
+ * @access public
+ * @var tnsTimeZoneErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateResult", false)) {
+ /**
+ * Represents the result of performing an action on objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UpdateResult";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numChanges;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($numChanges = null) {
+ $this->numChanges = $numChanges;
+ }
+
+ }
+}
+
+if (!class_exists("UserDomainTargetingError", false)) {
+ /**
+ * Lists all errors related to user domain targeting for a line item.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserDomainTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserDomainTargetingError";
+
+ /**
+ * @access public
+ * @var tnsUserDomainTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AvailableBillingErrorReason", false)) {
+ /**
+ * The error reason represented by an enum.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AvailableBillingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AvailableBillingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("BillingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BillingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BillingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValueErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValueErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValueError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("DayPartTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DayPartTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DayPartTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FrequencyCapErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FrequencyCapErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FrequencyCapError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GenericTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GenericTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GenericTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GeoTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GeoTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GeoTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InventoryTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LabelEntityAssociationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelEntityAssociationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelEntityAssociationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PackageActionErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PackageActionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PackageActionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PackageErrorReason", false)) {
+ /**
+ * The reasons for the {@link PackageError}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PackageErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PackageError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PackageOperator", false)) {
+ /**
+ * Possible operators to be performed on a {@link Package}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PackageOperator {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PackageOperator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PackageStatus", false)) {
+ /**
+ * Describes the different statuses for {@link Package}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PackageStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PackageStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PrecisionErrorReason", false)) {
+ /**
+ * Describes reasons for precision errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PrecisionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PrecisionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProductErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProposalErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProposalLineItemErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalLineItemErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalLineItemError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RangeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberErrorReason", false)) {
+ /**
+ * Describes reasons for a number to be invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ReservationDetailsErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReservationDetailsErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReservationDetailsError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TeamErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TeamErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TeamError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TechnologyTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TechnologyTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TechnologyTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TimeZoneErrorReason", false)) {
+ /**
+ * Describes reasons for invalid timezone.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TimeZoneErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TimeZoneError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("UserDomainTargetingErrorReason", false)) {
+ /**
+ * {@link ApiErrorReason} enum for user domain targeting error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserDomainTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserDomainTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreatePackages", false)) {
+ /**
+ * Creates new {@link Package} objects.
+ *
+ * For each package, the following fields are required:
+ *
+ * - {@link Package#proposalId}
+ * - {@link Package#productPackageId}
+ * - {@link Package#name}
+ *
+ *
+ * @param packages the packages to create
+ * @return the created packages with their IDs filled in
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreatePackages {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Package[]
+ */
+ public $packages;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($packages = null) {
+ $this->packages = $packages;
+ }
+
+ }
+}
+
+if (!class_exists("CreatePackagesResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreatePackagesResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Package[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetPackagesByStatement", false)) {
+ /**
+ * Gets a {@link PackagePage} of {@link Package} objects
+ * that satisfy the given {@link Statement#query}. The following fields are supported for
+ * filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link Package#id} |
+ *
+ *
+ * {@code name} |
+ * {@link Package#name} |
+ *
+ *
+ * {@code proposalId} |
+ * {@link Package#proposalId} |
+ *
+ *
+ * {@code productPackageId} |
+ * {@link Package#productPackageId} |
+ *
+ *
+ * {@code isArchived} |
+ * {@link Package#isArchived} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link Package#lastModifiedDateTime} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of packages
+ * @return the packages that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetPackagesByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetPackagesByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetPackagesByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var PackagePage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("PerformPackageAction", false)) {
+ /**
+ * Performs actions on {@link Package} objects that match the given {@link Statement}.
+ *
+ * @param packageAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter a set of packages
+ * @return the result of the action performed
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformPackageAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var PackageAction
+ */
+ public $packageAction;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($packageAction = null, $filterStatement = null) {
+ $this->packageAction = $packageAction;
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("PerformPackageActionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformPackageActionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UpdateResult
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdatePackages", false)) {
+ /**
+ * Updates the specified {@link Package} objects.
+ *
+ * @param packages the packages to update
+ * @return the updated packages
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdatePackages {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Package[]
+ */
+ public $packages;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($packages = null) {
+ $this->packages = $packages;
+ }
+
+ }
+}
+
+if (!class_exists("UpdatePackagesResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdatePackagesResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Package[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("CreateProposalLineItemsFromPackages", false)) {
+ /**
+ * The action used for creating proposal line items from {@link Package} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateProposalLineItemsFromPackages extends PackageAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreateProposalLineItemsFromPackages";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($packageOperator = null) {
+ parent::__construct();
+ $this->packageOperator = $packageOperator;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("PackageService", false)) {
+ /**
+ * PackageService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PackageService extends DfpSoapClient {
+
+ const SERVICE_NAME = "PackageService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/PackageService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/PackageService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AuthenticationError" => "AuthenticationError",
+ "AvailableBillingError" => "AvailableBillingError",
+ "BillingError" => "BillingError",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "CreateProposalLineItemsFromPackages" => "CreateProposalLineItemsFromPackages",
+ "CustomFieldValueError" => "CustomFieldValueError",
+ "CustomTargetingError" => "CustomTargetingError",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "DayPartTargetingError" => "DayPartTargetingError",
+ "FeatureError" => "FeatureError",
+ "FrequencyCapError" => "FrequencyCapError",
+ "GenericTargetingError" => "GenericTargetingError",
+ "GeoTargetingError" => "GeoTargetingError",
+ "InternalApiError" => "InternalApiError",
+ "InventoryTargetingError" => "InventoryTargetingError",
+ "LabelEntityAssociationError" => "LabelEntityAssociationError",
+ "NotNullError" => "NotNullError",
+ "NumberValue" => "NumberValue",
+ "PackageAction" => "PackageAction",
+ "PackageActionError" => "PackageActionError",
+ "Package" => "Package",
+ "PackageError" => "PackageError",
+ "PackagePage" => "PackagePage",
+ "PermissionError" => "PermissionError",
+ "PrecisionError" => "PrecisionError",
+ "ProductError" => "ProductError",
+ "ProposalError" => "ProposalError",
+ "ProposalLineItemError" => "ProposalLineItemError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RangeError" => "RangeError",
+ "RequiredError" => "RequiredError",
+ "RequiredNumberError" => "RequiredNumberError",
+ "ReservationDetailsError" => "ReservationDetailsError",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "StringLengthError" => "StringLengthError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "TeamError" => "TeamError",
+ "TechnologyTargetingError" => "TechnologyTargetingError",
+ "TextValue" => "TextValue",
+ "TimeZoneError" => "TimeZoneError",
+ "UniqueError" => "UniqueError",
+ "UpdateResult" => "UpdateResult",
+ "UserDomainTargetingError" => "UserDomainTargetingError",
+ "Value" => "Value",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "AvailableBillingError.Reason" => "AvailableBillingErrorReason",
+ "BillingError.Reason" => "BillingErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "CustomFieldValueError.Reason" => "CustomFieldValueErrorReason",
+ "CustomTargetingError.Reason" => "CustomTargetingErrorReason",
+ "DayPartTargetingError.Reason" => "DayPartTargetingErrorReason",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "FrequencyCapError.Reason" => "FrequencyCapErrorReason",
+ "GenericTargetingError.Reason" => "GenericTargetingErrorReason",
+ "GeoTargetingError.Reason" => "GeoTargetingErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "InventoryTargetingError.Reason" => "InventoryTargetingErrorReason",
+ "LabelEntityAssociationError.Reason" => "LabelEntityAssociationErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "PackageActionError.Reason" => "PackageActionErrorReason",
+ "PackageError.Reason" => "PackageErrorReason",
+ "PackageOperator" => "PackageOperator",
+ "PackageStatus" => "PackageStatus",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PrecisionError.Reason" => "PrecisionErrorReason",
+ "ProductError.Reason" => "ProductErrorReason",
+ "ProposalError.Reason" => "ProposalErrorReason",
+ "ProposalLineItemError.Reason" => "ProposalLineItemErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RangeError.Reason" => "RangeErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "RequiredNumberError.Reason" => "RequiredNumberErrorReason",
+ "ReservationDetailsError.Reason" => "ReservationDetailsErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "TeamError.Reason" => "TeamErrorReason",
+ "TechnologyTargetingError.Reason" => "TechnologyTargetingErrorReason",
+ "TimeZoneError.Reason" => "TimeZoneErrorReason",
+ "UserDomainTargetingError.Reason" => "UserDomainTargetingErrorReason",
+ "createPackages" => "CreatePackages",
+ "createPackagesResponse" => "CreatePackagesResponse",
+ "getPackagesByStatement" => "GetPackagesByStatement",
+ "getPackagesByStatementResponse" => "GetPackagesByStatementResponse",
+ "performPackageAction" => "PerformPackageAction",
+ "performPackageActionResponse" => "PerformPackageActionResponse",
+ "updatePackages" => "UpdatePackages",
+ "updatePackagesResponse" => "UpdatePackagesResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Creates new {@link Package} objects.
+ *
+ * For each package, the following fields are required:
+ *
+ * - {@link Package#proposalId}
+ * - {@link Package#productPackageId}
+ * - {@link Package#name}
+ *
+ *
+ * @param packages the packages to create
+ * @return the created packages with their IDs filled in
+ */
+ public function createPackages($packages) {
+ $args = new CreatePackages($packages);
+ $result = $this->__soapCall("createPackages", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@link PackagePage} of {@link Package} objects
+ * that satisfy the given {@link Statement#query}. The following fields are supported for
+ * filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link Package#id} |
+ *
+ *
+ * {@code name} |
+ * {@link Package#name} |
+ *
+ *
+ * {@code proposalId} |
+ * {@link Package#proposalId} |
+ *
+ *
+ * {@code productPackageId} |
+ * {@link Package#productPackageId} |
+ *
+ *
+ * {@code isArchived} |
+ * {@link Package#isArchived} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link Package#lastModifiedDateTime} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of packages
+ * @return the packages that match the given filter
+ */
+ public function getPackagesByStatement($filterStatement) {
+ $args = new GetPackagesByStatement($filterStatement);
+ $result = $this->__soapCall("getPackagesByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Performs actions on {@link Package} objects that match the given {@link Statement}.
+ *
+ * @param packageAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter a set of packages
+ * @return the result of the action performed
+ */
+ public function performPackageAction($packageAction, $filterStatement) {
+ $args = new PerformPackageAction($packageAction, $filterStatement);
+ $result = $this->__soapCall("performPackageAction", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link Package} objects.
+ *
+ * @param packages the packages to update
+ * @return the updated packages
+ */
+ public function updatePackages($packages) {
+ $args = new UpdatePackages($packages);
+ $result = $this->__soapCall("updatePackages", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/PlacementService.php b/src/Google/Api/Ads/Dfp/v201505/PlacementService.php
new file mode 100755
index 000000000..f5b558134
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/PlacementService.php
@@ -0,0 +1,3656 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("EntityChildrenLimitReachedError", false)) {
+ /**
+ * Lists errors relating to having too many children on an entity.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityChildrenLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityChildrenLimitReachedError";
+
+ /**
+ * @access public
+ * @var tnsEntityChildrenLimitReachedErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("EntityLimitReachedError", false)) {
+ /**
+ * An error that occurs when creating an entity if the limit on the number of allowed entities for
+ * a network has already been reached.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityLimitReachedError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NullError", false)) {
+ /**
+ * Errors associated with violation of a NOT NULL check.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ParseError", false)) {
+ /**
+ * Lists errors related to parsing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError";
+
+ /**
+ * @access public
+ * @var tnsParseErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PlacementAction", false)) {
+ /**
+ * Represents the actions that can be performed on {@link Placement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PlacementAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PlacementAction";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PlacementError", false)) {
+ /**
+ * Class defining all validation errors for a placement.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PlacementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PlacementError";
+
+ /**
+ * @access public
+ * @var tnsPlacementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PlacementPage", false)) {
+ /**
+ * Captures a page of {@link Placement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PlacementPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PlacementPage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var Placement[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RangeError", false)) {
+ /**
+ * A list of all errors associated with the Range constraint.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError";
+
+ /**
+ * @access public
+ * @var tnsRangeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RegExError", false)) {
+ /**
+ * Caused by supplying a value for an object attribute that does not conform
+ * to a documented valid regular expression.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RegExError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RegExError";
+
+ /**
+ * @access public
+ * @var tnsRegExErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionError", false)) {
+ /**
+ * A list of all errors to be used for validating sizes of collections.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError";
+
+ /**
+ * @access public
+ * @var tnsRequiredCollectionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SiteTargetingInfo", false)) {
+ /**
+ * Contains information required for AdWords advertisers to place their ads.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SiteTargetingInfo {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SiteTargetingInfo";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $targetingDescription;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $targetingSiteName;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $targetingAdLocation;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetingDescription = null, $targetingSiteName = null, $targetingAdLocation = null) {
+ $this->targetingDescription = $targetingDescription;
+ $this->targetingSiteName = $targetingSiteName;
+ $this->targetingAdLocation = $targetingAdLocation;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthError", false)) {
+ /**
+ * Errors for Strings which do not meet given length constraints.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("TypeError", false)) {
+ /**
+ * An error for a field which is an invalid type.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TypeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TypeError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateResult", false)) {
+ /**
+ * Represents the result of performing an action on objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UpdateResult";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numChanges;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($numChanges = null) {
+ $this->numChanges = $numChanges;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("EntityChildrenLimitReachedErrorReason", false)) {
+ /**
+ * The reasons for the entity children limit reached error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityChildrenLimitReachedErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityChildrenLimitReachedError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InventoryStatus", false)) {
+ /**
+ * Represents the status of objects that represent inventory - ad units and
+ * placements.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NullErrorReason", false)) {
+ /**
+ * The reasons for the validation error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ParseErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PlacementErrorReason", false)) {
+ /**
+ * Possible reasons for the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PlacementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PlacementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RangeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RegExErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RegExErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RegExError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionErrorReason", false)) {
+ /**
+ * A required collection is missing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreatePlacements", false)) {
+ /**
+ * Creates new {@link Placement} objects.
+ *
+ * @param placements the placements to create
+ * @return the new placements, with their IDs filled in
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreatePlacements {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Placement[]
+ */
+ public $placements;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($placements = null) {
+ $this->placements = $placements;
+ }
+
+ }
+}
+
+if (!class_exists("CreatePlacementsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreatePlacementsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Placement[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetPlacementsByStatement", false)) {
+ /**
+ * Gets a {@link PlacementPage} of {@link Placement} objects that satisfy the
+ * given {@link Statement#query}. The following fields are supported for
+ * filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code description} |
+ * {@link Placement#description} |
+ *
+ *
+ * {@code id} |
+ * {@link Placement#id} |
+ *
+ *
+ * {@code isAdSenseTargetingEnabled} |
+ * {@link Placement#isAdSenseTargetingEnabled} |
+ *
+ *
+ * {@code name} |
+ * {@link Placement#name} |
+ *
+ *
+ * {@code placementCode} |
+ * {@link Placement#placementCode} |
+ *
+ *
+ * {@code status} |
+ * {@link Placement#status} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link Placement#lastModifiedDateTime} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of placements
+ * @return the placements that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetPlacementsByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetPlacementsByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetPlacementsByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var PlacementPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("PerformPlacementAction", false)) {
+ /**
+ * Performs actions on {@link Placement} objects that match the given
+ * {@link Statement#query}.
+ *
+ * @param placementAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of placements
+ * @return the result of the action performed
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformPlacementAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var PlacementAction
+ */
+ public $placementAction;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($placementAction = null, $filterStatement = null) {
+ $this->placementAction = $placementAction;
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("PerformPlacementActionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformPlacementActionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UpdateResult
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdatePlacements", false)) {
+ /**
+ * Updates the specified {@link Placement} objects.
+ *
+ * @param placements the placements to update
+ * @return the updated placements
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdatePlacements {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Placement[]
+ */
+ public $placements;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($placements = null) {
+ $this->placements = $placements;
+ }
+
+ }
+}
+
+if (!class_exists("UpdatePlacementsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdatePlacementsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Placement[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ActivatePlacements", false)) {
+ /**
+ * The action used for activating {@link Placement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ActivatePlacements extends PlacementAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ActivatePlacements";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("ArchivePlacements", false)) {
+ /**
+ * The action used for archiving {@link Placement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ArchivePlacements extends PlacementAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ArchivePlacements";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DeactivatePlacements", false)) {
+ /**
+ * The action used for deactivating {@link Placement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeactivatePlacements extends PlacementAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeactivatePlacements";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("Placement", false)) {
+ /**
+ * A {@code Placement} groups related {@code AdUnit} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Placement extends SiteTargetingInfo {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Placement";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $description;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $placementCode;
+
+ /**
+ * @access public
+ * @var tnsInventoryStatus
+ */
+ public $status;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isAdSenseTargetingEnabled;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $adSenseTargetingLocale;
+
+ /**
+ * @access public
+ * @var string[]
+ */
+ public $targetedAdUnitIds;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $lastModifiedDateTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null, $description = null, $placementCode = null, $status = null, $isAdSenseTargetingEnabled = null, $adSenseTargetingLocale = null, $targetedAdUnitIds = null, $lastModifiedDateTime = null, $targetingDescription = null, $targetingSiteName = null, $targetingAdLocation = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ $this->description = $description;
+ $this->placementCode = $placementCode;
+ $this->status = $status;
+ $this->isAdSenseTargetingEnabled = $isAdSenseTargetingEnabled;
+ $this->adSenseTargetingLocale = $adSenseTargetingLocale;
+ $this->targetedAdUnitIds = $targetedAdUnitIds;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ $this->targetingDescription = $targetingDescription;
+ $this->targetingSiteName = $targetingSiteName;
+ $this->targetingAdLocation = $targetingAdLocation;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("PlacementService", false)) {
+ /**
+ * PlacementService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PlacementService extends DfpSoapClient {
+
+ const SERVICE_NAME = "PlacementService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/PlacementService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/PlacementService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ActivatePlacements" => "ActivatePlacements",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "ArchivePlacements" => "ArchivePlacements",
+ "AuthenticationError" => "AuthenticationError",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "DeactivatePlacements" => "DeactivatePlacements",
+ "EntityChildrenLimitReachedError" => "EntityChildrenLimitReachedError",
+ "EntityLimitReachedError" => "EntityLimitReachedError",
+ "FeatureError" => "FeatureError",
+ "InternalApiError" => "InternalApiError",
+ "NotNullError" => "NotNullError",
+ "NullError" => "NullError",
+ "NumberValue" => "NumberValue",
+ "ParseError" => "ParseError",
+ "PermissionError" => "PermissionError",
+ "PlacementAction" => "PlacementAction",
+ "Placement" => "Placement",
+ "PlacementError" => "PlacementError",
+ "PlacementPage" => "PlacementPage",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RangeError" => "RangeError",
+ "RegExError" => "RegExError",
+ "RequiredCollectionError" => "RequiredCollectionError",
+ "RequiredError" => "RequiredError",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SiteTargetingInfo" => "SiteTargetingInfo",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "StringLengthError" => "StringLengthError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "TextValue" => "TextValue",
+ "TypeError" => "TypeError",
+ "UniqueError" => "UniqueError",
+ "UpdateResult" => "UpdateResult",
+ "Value" => "Value",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "EntityChildrenLimitReachedError.Reason" => "EntityChildrenLimitReachedErrorReason",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "InventoryStatus" => "InventoryStatus",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "NullError.Reason" => "NullErrorReason",
+ "ParseError.Reason" => "ParseErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PlacementError.Reason" => "PlacementErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RangeError.Reason" => "RangeErrorReason",
+ "RegExError.Reason" => "RegExErrorReason",
+ "RequiredCollectionError.Reason" => "RequiredCollectionErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "createPlacements" => "CreatePlacements",
+ "createPlacementsResponse" => "CreatePlacementsResponse",
+ "getPlacementsByStatement" => "GetPlacementsByStatement",
+ "getPlacementsByStatementResponse" => "GetPlacementsByStatementResponse",
+ "performPlacementAction" => "PerformPlacementAction",
+ "performPlacementActionResponse" => "PerformPlacementActionResponse",
+ "updatePlacements" => "UpdatePlacements",
+ "updatePlacementsResponse" => "UpdatePlacementsResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Creates new {@link Placement} objects.
+ *
+ * @param placements the placements to create
+ * @return the new placements, with their IDs filled in
+ */
+ public function createPlacements($placements) {
+ $args = new CreatePlacements($placements);
+ $result = $this->__soapCall("createPlacements", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@link PlacementPage} of {@link Placement} objects that satisfy the
+ * given {@link Statement#query}. The following fields are supported for
+ * filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code description} |
+ * {@link Placement#description} |
+ *
+ *
+ * {@code id} |
+ * {@link Placement#id} |
+ *
+ *
+ * {@code isAdSenseTargetingEnabled} |
+ * {@link Placement#isAdSenseTargetingEnabled} |
+ *
+ *
+ * {@code name} |
+ * {@link Placement#name} |
+ *
+ *
+ * {@code placementCode} |
+ * {@link Placement#placementCode} |
+ *
+ *
+ * {@code status} |
+ * {@link Placement#status} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link Placement#lastModifiedDateTime} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of placements
+ * @return the placements that match the given filter
+ */
+ public function getPlacementsByStatement($filterStatement) {
+ $args = new GetPlacementsByStatement($filterStatement);
+ $result = $this->__soapCall("getPlacementsByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Performs actions on {@link Placement} objects that match the given
+ * {@link Statement#query}.
+ *
+ * @param placementAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of placements
+ * @return the result of the action performed
+ */
+ public function performPlacementAction($placementAction, $filterStatement) {
+ $args = new PerformPlacementAction($placementAction, $filterStatement);
+ $result = $this->__soapCall("performPlacementAction", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link Placement} objects.
+ *
+ * @param placements the placements to update
+ * @return the updated placements
+ */
+ public function updatePlacements($placements) {
+ $args = new UpdatePlacements($placements);
+ $result = $this->__soapCall("updatePlacements", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/PremiumRateService.php b/src/Google/Api/Ads/Dfp/v201505/PremiumRateService.php
new file mode 100755
index 000000000..57b5aec56
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/PremiumRateService.php
@@ -0,0 +1,3608 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("EntityChildrenLimitReachedError", false)) {
+ /**
+ * Lists errors relating to having too many children on an entity.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityChildrenLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityChildrenLimitReachedError";
+
+ /**
+ * @access public
+ * @var tnsEntityChildrenLimitReachedErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NullError", false)) {
+ /**
+ * Errors associated with violation of a NOT NULL check.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PremiumFeature", false)) {
+ /**
+ * A {@code PremiumFeature} represents the feature type to be applied as a premium on a
+ * {@link RateCard}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PremiumRate", false)) {
+ /**
+ * A premium rate holding a set of {@link PremiumRateValue} objects with the
+ * same {@link PremiumFeature}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PremiumRate {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PremiumRate";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $rateCardId;
+
+ /**
+ * @access public
+ * @var tnsPricingMethod
+ */
+ public $pricingMethod;
+
+ /**
+ * @access public
+ * @var PremiumFeature
+ */
+ public $premiumFeature;
+
+ /**
+ * @access public
+ * @var PremiumRateValue[]
+ */
+ public $premiumRateValues;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $rateCardId = null, $pricingMethod = null, $premiumFeature = null, $premiumRateValues = null) {
+ $this->id = $id;
+ $this->rateCardId = $rateCardId;
+ $this->pricingMethod = $pricingMethod;
+ $this->premiumFeature = $premiumFeature;
+ $this->premiumRateValues = $premiumRateValues;
+ }
+
+ }
+}
+
+if (!class_exists("PremiumRateError", false)) {
+ /**
+ * An error having to do with {@link PremiumRate}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PremiumRateError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PremiumRateError";
+
+ /**
+ * @access public
+ * @var tnsPremiumRateErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PremiumRatePage", false)) {
+ /**
+ * Captures a page of {@link PremiumRate} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PremiumRatePage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PremiumRatePage";
+
+ /**
+ * @access public
+ * @var PremiumRate[]
+ */
+ public $results;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($results = null, $startIndex = null, $totalResultSetSize = null) {
+ $this->results = $results;
+ $this->startIndex = $startIndex;
+ $this->totalResultSetSize = $totalResultSetSize;
+ }
+
+ }
+}
+
+if (!class_exists("PremiumRateValue", false)) {
+ /**
+ * A premium of a {@link RateCard} which could be applied to the line item
+ * and charges extra.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PremiumRateValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PremiumRateValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $premiumRateId;
+
+ /**
+ * @access public
+ * @var PremiumFeature
+ */
+ public $premiumFeature;
+
+ /**
+ * @access public
+ * @var tnsRateType
+ */
+ public $rateType;
+
+ /**
+ * @access public
+ * @var tnsPremiumAdjustmentType
+ */
+ public $adjustmentType;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $adjustmentSize;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($premiumRateId = null, $premiumFeature = null, $rateType = null, $adjustmentType = null, $adjustmentSize = null) {
+ $this->premiumRateId = $premiumRateId;
+ $this->premiumFeature = $premiumFeature;
+ $this->rateType = $rateType;
+ $this->adjustmentType = $adjustmentType;
+ $this->adjustmentSize = $adjustmentSize;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RangeError", false)) {
+ /**
+ * A list of all errors associated with the Range constraint.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError";
+
+ /**
+ * @access public
+ * @var tnsRangeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("UnknownPremiumFeature", false)) {
+ /**
+ * The {@link PremiumFeature} returned if the actual feature is not exposed by
+ * the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UnknownPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UnknownPremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("UserDomainPremiumFeature", false)) {
+ /**
+ * A premium feature applied to user domain targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserDomainPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserDomainPremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("EntityChildrenLimitReachedErrorReason", false)) {
+ /**
+ * The reasons for the entity children limit reached error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityChildrenLimitReachedErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityChildrenLimitReachedError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NullErrorReason", false)) {
+ /**
+ * The reasons for the validation error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PremiumAdjustmentType", false)) {
+ /**
+ * Describes how to apply the adjustment to the base rate.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PremiumAdjustmentType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PremiumAdjustmentType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PremiumRateErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PremiumRateErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PremiumRateError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PricingMethod", false)) {
+ /**
+ * Describes which {@link PremiumRateValue} objects from the
+ * {@link PremiumRate} to apply to a {@link ProposalLineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PricingMethod {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PricingMethod";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RangeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RateType", false)) {
+ /**
+ * Describes the type of event the advertiser is paying for. The values here correspond to the
+ * values for the {@link LineItem#costType} field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RateType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RateType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreatePremiumRates", false)) {
+ /**
+ * Creates a list of new {@link PremiumRate} objects.
+ *
+ * @param premiumRates the premium rates to be created
+ * @return the premium rates with their IDs filled in
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreatePremiumRates {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var PremiumRate[]
+ */
+ public $premiumRates;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($premiumRates = null) {
+ $this->premiumRates = $premiumRates;
+ }
+
+ }
+}
+
+if (!class_exists("CreatePremiumRatesResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreatePremiumRatesResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var PremiumRate[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetPremiumRatesByStatement", false)) {
+ /**
+ * Gets a {@link PremiumRatePage} of {@link PremiumRate} objects that
+ * satisfy the given {@link Statement#query}. The following fields are
+ * supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link PremiumRate#id} |
+ *
+ *
+ * {@code rateCardId} |
+ * {@link PremiumRate#rateCardId} |
+ *
+ *
+ * {@code pricingMethod} |
+ * {@link PremiumRate#pricingMethod} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement to filter a
+ * list of premium rates.
+ * @return the premium rates that match the filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetPremiumRatesByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetPremiumRatesByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetPremiumRatesByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var PremiumRatePage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdatePremiumRates", false)) {
+ /**
+ * Updates the specified {@link PremiumRate} objects.
+ *
+ * @param premiumRates the premium rates to be updated
+ * @return the updated premium rates
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdatePremiumRates {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var PremiumRate[]
+ */
+ public $premiumRates;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($premiumRates = null) {
+ $this->premiumRates = $premiumRates;
+ }
+
+ }
+}
+
+if (!class_exists("UpdatePremiumRatesResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdatePremiumRatesResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var PremiumRate[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitPremiumFeature", false)) {
+ /**
+ * A premium feature applied to ad unit targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnitPremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AudienceSegmentPremiumFeature", false)) {
+ /**
+ * A premium feature applied to audience segment targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceSegmentPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceSegmentPremiumFeature";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $audienceSegmentId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($audienceSegmentId = null) {
+ parent::__construct();
+ $this->audienceSegmentId = $audienceSegmentId;
+ }
+
+ }
+}
+
+if (!class_exists("BandwidthPremiumFeature", false)) {
+ /**
+ * A premium feature applied to bandwidth targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BandwidthPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BandwidthPremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("BrowserPremiumFeature", false)) {
+ /**
+ * A premium feature applied to browser targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BrowserPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BrowserPremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("BrowserLanguagePremiumFeature", false)) {
+ /**
+ * A premium feature applied to browser language targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BrowserLanguagePremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BrowserLanguagePremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingPremiumFeature", false)) {
+ /**
+ * A premium feature applied to custom criteria targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingPremiumFeature";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customTargetingKeyId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customTargetingValueId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customTargetingKeyId = null, $customTargetingValueId = null) {
+ parent::__construct();
+ $this->customTargetingKeyId = $customTargetingKeyId;
+ $this->customTargetingValueId = $customTargetingValueId;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DaypartPremiumFeature", false)) {
+ /**
+ * A premium feature applied to daypart targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DaypartPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DaypartPremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("DeviceCapabilityPremiumFeature", false)) {
+ /**
+ * A premium feature applied to device capability targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceCapabilityPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceCapabilityPremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("DeviceCategoryPremiumFeature", false)) {
+ /**
+ * A premium feature applied to device category targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceCategoryPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceCategoryPremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("DeviceManufacturerPremiumFeature", false)) {
+ /**
+ * A premium feature applied to device manufacturer targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceManufacturerPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceManufacturerPremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("FrequencyCapPremiumFeature", false)) {
+ /**
+ * A premium feature applied to frequency caps.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FrequencyCapPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FrequencyCapPremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("GeographyPremiumFeature", false)) {
+ /**
+ * A premium feature applied to geography targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GeographyPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GeographyPremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("MobileCarrierPremiumFeature", false)) {
+ /**
+ * A premium feature applied to mobile carrier targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileCarrierPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileCarrierPremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("OperatingSystemPremiumFeature", false)) {
+ /**
+ * A premium feature applied to operating system targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OperatingSystemPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OperatingSystemPremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("PlacementPremiumFeature", false)) {
+ /**
+ * A premium feature applied to placement targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PlacementPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PlacementPremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("PremiumRateService", false)) {
+ /**
+ * PremiumRateService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PremiumRateService extends DfpSoapClient {
+
+ const SERVICE_NAME = "PremiumRateService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/PremiumRateService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/PremiumRateService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "AdUnitPremiumFeature" => "AdUnitPremiumFeature",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AudienceSegmentPremiumFeature" => "AudienceSegmentPremiumFeature",
+ "AuthenticationError" => "AuthenticationError",
+ "BandwidthPremiumFeature" => "BandwidthPremiumFeature",
+ "BooleanValue" => "BooleanValue",
+ "BrowserPremiumFeature" => "BrowserPremiumFeature",
+ "BrowserLanguagePremiumFeature" => "BrowserLanguagePremiumFeature",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "CustomTargetingPremiumFeature" => "CustomTargetingPremiumFeature",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "DaypartPremiumFeature" => "DaypartPremiumFeature",
+ "DeviceCapabilityPremiumFeature" => "DeviceCapabilityPremiumFeature",
+ "DeviceCategoryPremiumFeature" => "DeviceCategoryPremiumFeature",
+ "DeviceManufacturerPremiumFeature" => "DeviceManufacturerPremiumFeature",
+ "EntityChildrenLimitReachedError" => "EntityChildrenLimitReachedError",
+ "FeatureError" => "FeatureError",
+ "FrequencyCapPremiumFeature" => "FrequencyCapPremiumFeature",
+ "GeographyPremiumFeature" => "GeographyPremiumFeature",
+ "InternalApiError" => "InternalApiError",
+ "MobileCarrierPremiumFeature" => "MobileCarrierPremiumFeature",
+ "NotNullError" => "NotNullError",
+ "NullError" => "NullError",
+ "NumberValue" => "NumberValue",
+ "OperatingSystemPremiumFeature" => "OperatingSystemPremiumFeature",
+ "PermissionError" => "PermissionError",
+ "PlacementPremiumFeature" => "PlacementPremiumFeature",
+ "PremiumFeature" => "PremiumFeature",
+ "PremiumRate" => "PremiumRate",
+ "PremiumRateError" => "PremiumRateError",
+ "PremiumRatePage" => "PremiumRatePage",
+ "PremiumRateValue" => "PremiumRateValue",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RangeError" => "RangeError",
+ "RequiredError" => "RequiredError",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "TextValue" => "TextValue",
+ "UnknownPremiumFeature" => "UnknownPremiumFeature",
+ "UserDomainPremiumFeature" => "UserDomainPremiumFeature",
+ "Value" => "Value",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "EntityChildrenLimitReachedError.Reason" => "EntityChildrenLimitReachedErrorReason",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "NullError.Reason" => "NullErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PremiumAdjustmentType" => "PremiumAdjustmentType",
+ "PremiumRateError.Reason" => "PremiumRateErrorReason",
+ "PricingMethod" => "PricingMethod",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RangeError.Reason" => "RangeErrorReason",
+ "RateType" => "RateType",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "createPremiumRates" => "CreatePremiumRates",
+ "createPremiumRatesResponse" => "CreatePremiumRatesResponse",
+ "getPremiumRatesByStatement" => "GetPremiumRatesByStatement",
+ "getPremiumRatesByStatementResponse" => "GetPremiumRatesByStatementResponse",
+ "updatePremiumRates" => "UpdatePremiumRates",
+ "updatePremiumRatesResponse" => "UpdatePremiumRatesResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Creates a list of new {@link PremiumRate} objects.
+ *
+ * @param premiumRates the premium rates to be created
+ * @return the premium rates with their IDs filled in
+ */
+ public function createPremiumRates($premiumRates) {
+ $args = new CreatePremiumRates($premiumRates);
+ $result = $this->__soapCall("createPremiumRates", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@link PremiumRatePage} of {@link PremiumRate} objects that
+ * satisfy the given {@link Statement#query}. The following fields are
+ * supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link PremiumRate#id} |
+ *
+ *
+ * {@code rateCardId} |
+ * {@link PremiumRate#rateCardId} |
+ *
+ *
+ * {@code pricingMethod} |
+ * {@link PremiumRate#pricingMethod} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement to filter a
+ * list of premium rates.
+ * @return the premium rates that match the filter
+ */
+ public function getPremiumRatesByStatement($filterStatement) {
+ $args = new GetPremiumRatesByStatement($filterStatement);
+ $result = $this->__soapCall("getPremiumRatesByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link PremiumRate} objects.
+ *
+ * @param premiumRates the premium rates to be updated
+ * @return the updated premium rates
+ */
+ public function updatePremiumRates($premiumRates) {
+ $args = new UpdatePremiumRates($premiumRates);
+ $result = $this->__soapCall("updatePremiumRates", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/ProductPackageItemService.php b/src/Google/Api/Ads/Dfp/v201505/ProductPackageItemService.php
new file mode 100755
index 000000000..75e3b445d
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/ProductPackageItemService.php
@@ -0,0 +1,3407 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("EntityChildrenLimitReachedError", false)) {
+ /**
+ * Lists errors relating to having too many children on an entity.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityChildrenLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityChildrenLimitReachedError";
+
+ /**
+ * @access public
+ * @var tnsEntityChildrenLimitReachedErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("EntityLimitReachedError", false)) {
+ /**
+ * An error that occurs when creating an entity if the limit on the number of allowed entities for
+ * a network has already been reached.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityLimitReachedError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProductError", false)) {
+ /**
+ * A catch-all error that lists all generic errors associated with Product.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductError";
+
+ /**
+ * @access public
+ * @var tnsProductErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProductPackageActionError", false)) {
+ /**
+ * Lists all errors for executing operations on product packages.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductPackageActionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductPackageActionError";
+
+ /**
+ * @access public
+ * @var tnsProductPackageActionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProductPackageItemAction", false)) {
+ /**
+ * Represents the actions that can be performed on product package items.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductPackageItemAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductPackageItemAction";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProductPackageItemActionError", false)) {
+ /**
+ * Lists all errors for executing operations on product package items.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductPackageItemActionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductPackageItemActionError";
+
+ /**
+ * @access public
+ * @var tnsProductPackageItemActionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProductPackageItem", false)) {
+ /**
+ * A {@code ProductPackageItem} represents a product item in a package.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductPackageItem {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductPackageItem";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $productId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $productPackageId;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isMandatory;
+
+ /**
+ * @access public
+ * @var tnsArchiveStatus
+ */
+ public $archiveStatus;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $productId = null, $productPackageId = null, $isMandatory = null, $archiveStatus = null) {
+ $this->id = $id;
+ $this->productId = $productId;
+ $this->productPackageId = $productPackageId;
+ $this->isMandatory = $isMandatory;
+ $this->archiveStatus = $archiveStatus;
+ }
+
+ }
+}
+
+if (!class_exists("ProductPackageItemError", false)) {
+ /**
+ * Lists all errors associated with product package items.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductPackageItemError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductPackageItemError";
+
+ /**
+ * @access public
+ * @var tnsProductPackageItemErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProductPackageItemPage", false)) {
+ /**
+ * Captures a page of {@link ProductPackageItemDto} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductPackageItemPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductPackageItemPage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var ProductPackageItem[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("ProductPackageRateCardAssociationError", false)) {
+ /**
+ * Lists all errors associated with product packages rate card associations.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductPackageRateCardAssociationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductPackageRateCardAssociationError";
+
+ /**
+ * @access public
+ * @var tnsProductPackageRateCardAssociationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RangeError", false)) {
+ /**
+ * A list of all errors associated with the Range constraint.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError";
+
+ /**
+ * @access public
+ * @var tnsRangeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthError", false)) {
+ /**
+ * Errors for Strings which do not meet given length constraints.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("UnArchiveProductPackageItems", false)) {
+ /**
+ * The action used to un-archive product package items.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UnArchiveProductPackageItems extends ProductPackageItemAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UnArchiveProductPackageItems";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateResult", false)) {
+ /**
+ * Represents the result of performing an action on objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UpdateResult";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numChanges;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($numChanges = null) {
+ $this->numChanges = $numChanges;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ArchiveStatus", false)) {
+ /**
+ * Archive status of product package item.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ArchiveStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ArchiveStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("EntityChildrenLimitReachedErrorReason", false)) {
+ /**
+ * The reasons for the entity children limit reached error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityChildrenLimitReachedErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityChildrenLimitReachedError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProductErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProductPackageActionErrorReason", false)) {
+ /**
+ * The reasons for the {@link ProductPackageActionError}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductPackageActionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductPackageActionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProductPackageItemActionErrorReason", false)) {
+ /**
+ * The reasons for the {@link ProductPackageItemActionError}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductPackageItemActionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductPackageItemActionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProductPackageItemErrorReason", false)) {
+ /**
+ * The reasons for the {@link ProductPackageItemError}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductPackageItemErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductPackageItemError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProductPackageRateCardAssociationErrorReason", false)) {
+ /**
+ * The reasons for the {@link ProductPackageError}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductPackageRateCardAssociationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductPackageRateCardAssociationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RangeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreateProductPackageItems", false)) {
+ /**
+ * Creates new {@link ProductPackageItem} objects.
+ *
+ * @param productPackageItems the product package items to create
+ * @return the created product package items with their IDs filled in
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateProductPackageItems {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProductPackageItem[]
+ */
+ public $productPackageItems;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($productPackageItems = null) {
+ $this->productPackageItems = $productPackageItems;
+ }
+
+ }
+}
+
+if (!class_exists("CreateProductPackageItemsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateProductPackageItemsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProductPackageItem[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetProductPackageItemsByStatement", false)) {
+ /**
+ * Gets a {@link ProductPackageItemPage} of {@code ProductPackageItem} objects
+ * that satisfy the filtering criteria specified by given {@link Statement#query}.
+ * The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link ProductPackageItem#id} |
+ *
+ *
+ * {@code productPackageId} |
+ * {@link ProductPackageItem#productPackageId} |
+ *
+ *
+ * {@code productId} |
+ * {@link ProductPackageItem#productId} |
+ *
+ *
+ * {@code productTemplateId} |
+ * {@link ProductPackageItem#productTemplateId} |
+ *
+ *
+ * {@code mandatory} |
+ * {@link ProductPackageItem#mandatory} |
+ *
+ *
+ * {@code archived} |
+ * {@link ProductPackageItem#archived} |
+ *
+ *
+ *
+ * @param statement a Publisher Query Language statement which specifies the
+ * filtering criteria over product packages
+ * @return the product package items that match the given statement
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetProductPackageItemsByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $statement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($statement = null) {
+ $this->statement = $statement;
+ }
+
+ }
+}
+
+if (!class_exists("GetProductPackageItemsByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetProductPackageItemsByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProductPackageItemPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("PerformProductPackageItemAction", false)) {
+ /**
+ * Performs actions on {@link ProductPackageItem} objects that satisfy the given
+ * {@link Statement#query}.
+ *
+ * @param productPackageItemAction the action to perform
+ * @param statement a Publisher Query Language statement used to filter
+ * a set of product package items
+ * @return the result of the action performed
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformProductPackageItemAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProductPackageItemAction
+ */
+ public $productPackageItemAction;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $statement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($productPackageItemAction = null, $statement = null) {
+ $this->productPackageItemAction = $productPackageItemAction;
+ $this->statement = $statement;
+ }
+
+ }
+}
+
+if (!class_exists("PerformProductPackageItemActionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformProductPackageItemActionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UpdateResult
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateProductPackageItems", false)) {
+ /**
+ * Updates the specified {@link ProductPackageItem} objects.
+ *
+ * @param productPackageItems the product package items to update
+ * @return the updated product package items
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateProductPackageItems {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProductPackageItem[]
+ */
+ public $productPackageItems;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($productPackageItems = null) {
+ $this->productPackageItems = $productPackageItems;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateProductPackageItemsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateProductPackageItemsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProductPackageItem[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("ArchiveProductPackageItems", false)) {
+ /**
+ * The action used to archive product package items.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ArchiveProductPackageItems extends ProductPackageItemAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ArchiveProductPackageItems";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("ProductPackageItemService", false)) {
+ /**
+ * ProductPackageItemService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductPackageItemService extends DfpSoapClient {
+
+ const SERVICE_NAME = "ProductPackageItemService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/ProductPackageItemService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/ProductPackageItemService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "ArchiveProductPackageItems" => "ArchiveProductPackageItems",
+ "AuthenticationError" => "AuthenticationError",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "EntityChildrenLimitReachedError" => "EntityChildrenLimitReachedError",
+ "EntityLimitReachedError" => "EntityLimitReachedError",
+ "FeatureError" => "FeatureError",
+ "InternalApiError" => "InternalApiError",
+ "NotNullError" => "NotNullError",
+ "NumberValue" => "NumberValue",
+ "PermissionError" => "PermissionError",
+ "ProductError" => "ProductError",
+ "ProductPackageActionError" => "ProductPackageActionError",
+ "ProductPackageItemAction" => "ProductPackageItemAction",
+ "ProductPackageItemActionError" => "ProductPackageItemActionError",
+ "ProductPackageItem" => "ProductPackageItem",
+ "ProductPackageItemError" => "ProductPackageItemError",
+ "ProductPackageItemPage" => "ProductPackageItemPage",
+ "ProductPackageRateCardAssociationError" => "ProductPackageRateCardAssociationError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RangeError" => "RangeError",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "StringLengthError" => "StringLengthError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "TextValue" => "TextValue",
+ "UnArchiveProductPackageItems" => "UnArchiveProductPackageItems",
+ "UniqueError" => "UniqueError",
+ "UpdateResult" => "UpdateResult",
+ "Value" => "Value",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "ArchiveStatus" => "ArchiveStatus",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "EntityChildrenLimitReachedError.Reason" => "EntityChildrenLimitReachedErrorReason",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "ProductError.Reason" => "ProductErrorReason",
+ "ProductPackageActionError.Reason" => "ProductPackageActionErrorReason",
+ "ProductPackageItemActionError.Reason" => "ProductPackageItemActionErrorReason",
+ "ProductPackageItemError.Reason" => "ProductPackageItemErrorReason",
+ "ProductPackageRateCardAssociationError.Reason" => "ProductPackageRateCardAssociationErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RangeError.Reason" => "RangeErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "createProductPackageItems" => "CreateProductPackageItems",
+ "createProductPackageItemsResponse" => "CreateProductPackageItemsResponse",
+ "getProductPackageItemsByStatement" => "GetProductPackageItemsByStatement",
+ "getProductPackageItemsByStatementResponse" => "GetProductPackageItemsByStatementResponse",
+ "performProductPackageItemAction" => "PerformProductPackageItemAction",
+ "performProductPackageItemActionResponse" => "PerformProductPackageItemActionResponse",
+ "updateProductPackageItems" => "UpdateProductPackageItems",
+ "updateProductPackageItemsResponse" => "UpdateProductPackageItemsResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Creates new {@link ProductPackageItem} objects.
+ *
+ * @param productPackageItems the product package items to create
+ * @return the created product package items with their IDs filled in
+ */
+ public function createProductPackageItems($productPackageItems) {
+ $args = new CreateProductPackageItems($productPackageItems);
+ $result = $this->__soapCall("createProductPackageItems", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@link ProductPackageItemPage} of {@code ProductPackageItem} objects
+ * that satisfy the filtering criteria specified by given {@link Statement#query}.
+ * The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link ProductPackageItem#id} |
+ *
+ *
+ * {@code productPackageId} |
+ * {@link ProductPackageItem#productPackageId} |
+ *
+ *
+ * {@code productId} |
+ * {@link ProductPackageItem#productId} |
+ *
+ *
+ * {@code productTemplateId} |
+ * {@link ProductPackageItem#productTemplateId} |
+ *
+ *
+ * {@code mandatory} |
+ * {@link ProductPackageItem#mandatory} |
+ *
+ *
+ * {@code archived} |
+ * {@link ProductPackageItem#archived} |
+ *
+ *
+ *
+ * @param statement a Publisher Query Language statement which specifies the
+ * filtering criteria over product packages
+ * @return the product package items that match the given statement
+ */
+ public function getProductPackageItemsByStatement($statement) {
+ $args = new GetProductPackageItemsByStatement($statement);
+ $result = $this->__soapCall("getProductPackageItemsByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Performs actions on {@link ProductPackageItem} objects that satisfy the given
+ * {@link Statement#query}.
+ *
+ * @param productPackageItemAction the action to perform
+ * @param statement a Publisher Query Language statement used to filter
+ * a set of product package items
+ * @return the result of the action performed
+ */
+ public function performProductPackageItemAction($productPackageItemAction, $statement) {
+ $args = new PerformProductPackageItemAction($productPackageItemAction, $statement);
+ $result = $this->__soapCall("performProductPackageItemAction", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link ProductPackageItem} objects.
+ *
+ * @param productPackageItems the product package items to update
+ * @return the updated product package items
+ */
+ public function updateProductPackageItems($productPackageItems) {
+ $args = new UpdateProductPackageItems($productPackageItems);
+ $result = $this->__soapCall("updateProductPackageItems", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/ProductPackageService.php b/src/Google/Api/Ads/Dfp/v201505/ProductPackageService.php
new file mode 100755
index 000000000..d1ac0461a
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/ProductPackageService.php
@@ -0,0 +1,3546 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("BaseCustomFieldValue", false)) {
+ /**
+ * The value of a {@link CustomField} for a particular entity.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BaseCustomFieldValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customFieldId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customFieldId = null) {
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("BaseRateError", false)) {
+ /**
+ * An error having to do with {@link BaseRate}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BaseRateError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BaseRateError";
+
+ /**
+ * @access public
+ * @var tnsBaseRateErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValue", false)) {
+ /**
+ * The value of a {@link CustomField} that does not have a {@link CustomField#dataType}
+ * of {@link CustomFieldDataType#DROP_DOWN}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValue extends BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValue";
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null, $customFieldId = null) {
+ parent::__construct();
+ $this->value = $value;
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("DropDownCustomFieldValue", false)) {
+ /**
+ * A {@link CustomFieldValue} for a {@link CustomField} that has a {@link CustomField#dataType}
+ * of {@link CustomFieldDataType#DROP_DOWN}
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DropDownCustomFieldValue extends BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DropDownCustomFieldValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customFieldOptionId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customFieldOptionId = null, $customFieldId = null) {
+ parent::__construct();
+ $this->customFieldOptionId = $customFieldOptionId;
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("EntityChildrenLimitReachedError", false)) {
+ /**
+ * Lists errors relating to having too many children on an entity.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityChildrenLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityChildrenLimitReachedError";
+
+ /**
+ * @access public
+ * @var tnsEntityChildrenLimitReachedErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("EntityLimitReachedError", false)) {
+ /**
+ * An error that occurs when creating an entity if the limit on the number of allowed entities for
+ * a network has already been reached.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityLimitReachedError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProductPackageAction", false)) {
+ /**
+ * Represents the actions that can be performed on product packages.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductPackageAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductPackageAction";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProductPackageActionError", false)) {
+ /**
+ * Lists all errors for executing operations on product packages.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductPackageActionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductPackageActionError";
+
+ /**
+ * @access public
+ * @var tnsProductPackageActionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProductPackage", false)) {
+ /**
+ * A {@code ProductPackage} represents a group of products which will be sold together.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductPackage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductPackage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $notes;
+
+ /**
+ * @access public
+ * @var tnsProductPackageStatus
+ */
+ public $status;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isArchived;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $rateCardIds;
+
+ /**
+ * @access public
+ * @var BaseCustomFieldValue[]
+ */
+ public $customFieldValues;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $lastModifiedDateTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null, $notes = null, $status = null, $isArchived = null, $rateCardIds = null, $customFieldValues = null, $lastModifiedDateTime = null) {
+ $this->id = $id;
+ $this->name = $name;
+ $this->notes = $notes;
+ $this->status = $status;
+ $this->isArchived = $isArchived;
+ $this->rateCardIds = $rateCardIds;
+ $this->customFieldValues = $customFieldValues;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ }
+
+ }
+}
+
+if (!class_exists("ProductPackageItemError", false)) {
+ /**
+ * Lists all errors associated with product package items.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductPackageItemError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductPackageItemError";
+
+ /**
+ * @access public
+ * @var tnsProductPackageItemErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProductPackagePage", false)) {
+ /**
+ * Captures a page of {@link ProductPackageDto} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductPackagePage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductPackagePage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var ProductPackage[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("ProductPackageRateCardAssociationError", false)) {
+ /**
+ * Lists all errors associated with product packages rate card associations.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductPackageRateCardAssociationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductPackageRateCardAssociationError";
+
+ /**
+ * @access public
+ * @var tnsProductPackageRateCardAssociationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RangeError", false)) {
+ /**
+ * A list of all errors associated with the Range constraint.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError";
+
+ /**
+ * @access public
+ * @var tnsRangeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthError", false)) {
+ /**
+ * Errors for Strings which do not meet given length constraints.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("UnarchiveProductPackages", false)) {
+ /**
+ * The action used to un-archive product packages.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UnarchiveProductPackages extends ProductPackageAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UnarchiveProductPackages";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateResult", false)) {
+ /**
+ * Represents the result of performing an action on objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UpdateResult";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numChanges;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($numChanges = null) {
+ $this->numChanges = $numChanges;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("BaseRateErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BaseRateErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BaseRateError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("EntityChildrenLimitReachedErrorReason", false)) {
+ /**
+ * The reasons for the entity children limit reached error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityChildrenLimitReachedErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityChildrenLimitReachedError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProductPackageActionErrorReason", false)) {
+ /**
+ * The reasons for the {@link ProductPackageActionError}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductPackageActionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductPackageActionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProductPackageItemErrorReason", false)) {
+ /**
+ * The reasons for the {@link ProductPackageItemError}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductPackageItemErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductPackageItemError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProductPackageRateCardAssociationErrorReason", false)) {
+ /**
+ * The reasons for the {@link ProductPackageError}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductPackageRateCardAssociationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductPackageRateCardAssociationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProductPackageStatus", false)) {
+ /**
+ * Describes the different statuses for {@code ProductPackage}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductPackageStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductPackageStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RangeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreateProductPackages", false)) {
+ /**
+ * Creates new {@link ProductPackage} objects.
+ *
+ * @param productPackages the product packages to create
+ * @return the persisted product packages with their ID filled in
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateProductPackages {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProductPackage[]
+ */
+ public $productPackages;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($productPackages = null) {
+ $this->productPackages = $productPackages;
+ }
+
+ }
+}
+
+if (!class_exists("CreateProductPackagesResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateProductPackagesResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProductPackage[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetProductPackagesByStatement", false)) {
+ /**
+ * Gets a {@link ProductPackagePage} of {@link ProductPackage} objects
+ * that satisfy the filtering criteria specified by given {@link Statement#query}.
+ * The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link ProductPackage#id} |
+ *
+ *
+ * {@code name} |
+ * {@link ProductPackage#name} |
+ *
+ *
+ * {@code notes} |
+ * {@link ProductPackage#notes} |
+ *
+ *
+ * {@code status} |
+ * {@link ProductPackage#status} |
+ *
+ *
+ * {@code isArchived} |
+ * {@link ProductPackage#isArchived} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link ProductPackage#lastModifiedDateTime} |
+ *
+ *
+ *
+ * @param statement a Publisher Query Language statement which specifies the
+ * filtering criteria over product packages
+ * @return the product packages that match the given statement
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetProductPackagesByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $statement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($statement = null) {
+ $this->statement = $statement;
+ }
+
+ }
+}
+
+if (!class_exists("GetProductPackagesByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetProductPackagesByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProductPackagePage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("PerformProductPackageAction", false)) {
+ /**
+ * Performs actions on {@link ProductPackage} objects that match the given
+ * {@link Statement#query}.
+ *
+ * @param action the action to perform
+ * @param statement a Publisher Query Language statement used to filter a set of product packages
+ * @return the result of the action performed
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformProductPackageAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProductPackageAction
+ */
+ public $action;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $statement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($action = null, $statement = null) {
+ $this->action = $action;
+ $this->statement = $statement;
+ }
+
+ }
+}
+
+if (!class_exists("PerformProductPackageActionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformProductPackageActionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UpdateResult
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateProductPackages", false)) {
+ /**
+ * Updates the specified {@link ProductPackage} objects.
+ *
+ * @param productPackages the product packages to update
+ * @return the updated product packages
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateProductPackages {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProductPackage[]
+ */
+ public $productPackages;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($productPackages = null) {
+ $this->productPackages = $productPackages;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateProductPackagesResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateProductPackagesResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProductPackage[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ActivateProductPackages", false)) {
+ /**
+ * The action used to activate product packages.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ActivateProductPackages extends ProductPackageAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ActivateProductPackages";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("ArchiveProductPackages", false)) {
+ /**
+ * The action used to archive product packages.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ArchiveProductPackages extends ProductPackageAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ArchiveProductPackages";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DeactivateProductPackages", false)) {
+ /**
+ * The action used to de-activate product packages.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeactivateProductPackages extends ProductPackageAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeactivateProductPackages";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("ProductPackageService", false)) {
+ /**
+ * ProductPackageService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductPackageService extends DfpSoapClient {
+
+ const SERVICE_NAME = "ProductPackageService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/ProductPackageService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/ProductPackageService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ActivateProductPackages" => "ActivateProductPackages",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "ArchiveProductPackages" => "ArchiveProductPackages",
+ "AuthenticationError" => "AuthenticationError",
+ "BaseCustomFieldValue" => "BaseCustomFieldValue",
+ "BaseRateError" => "BaseRateError",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "CustomFieldValue" => "CustomFieldValue",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "DeactivateProductPackages" => "DeactivateProductPackages",
+ "DropDownCustomFieldValue" => "DropDownCustomFieldValue",
+ "EntityChildrenLimitReachedError" => "EntityChildrenLimitReachedError",
+ "EntityLimitReachedError" => "EntityLimitReachedError",
+ "FeatureError" => "FeatureError",
+ "InternalApiError" => "InternalApiError",
+ "NotNullError" => "NotNullError",
+ "NumberValue" => "NumberValue",
+ "PermissionError" => "PermissionError",
+ "ProductPackageAction" => "ProductPackageAction",
+ "ProductPackageActionError" => "ProductPackageActionError",
+ "ProductPackage" => "ProductPackage",
+ "ProductPackageItemError" => "ProductPackageItemError",
+ "ProductPackagePage" => "ProductPackagePage",
+ "ProductPackageRateCardAssociationError" => "ProductPackageRateCardAssociationError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RangeError" => "RangeError",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "StringLengthError" => "StringLengthError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "TextValue" => "TextValue",
+ "UnarchiveProductPackages" => "UnarchiveProductPackages",
+ "UniqueError" => "UniqueError",
+ "UpdateResult" => "UpdateResult",
+ "Value" => "Value",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "BaseRateError.Reason" => "BaseRateErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "EntityChildrenLimitReachedError.Reason" => "EntityChildrenLimitReachedErrorReason",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "ProductPackageActionError.Reason" => "ProductPackageActionErrorReason",
+ "ProductPackageItemError.Reason" => "ProductPackageItemErrorReason",
+ "ProductPackageRateCardAssociationError.Reason" => "ProductPackageRateCardAssociationErrorReason",
+ "ProductPackageStatus" => "ProductPackageStatus",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RangeError.Reason" => "RangeErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "createProductPackages" => "CreateProductPackages",
+ "createProductPackagesResponse" => "CreateProductPackagesResponse",
+ "getProductPackagesByStatement" => "GetProductPackagesByStatement",
+ "getProductPackagesByStatementResponse" => "GetProductPackagesByStatementResponse",
+ "performProductPackageAction" => "PerformProductPackageAction",
+ "performProductPackageActionResponse" => "PerformProductPackageActionResponse",
+ "updateProductPackages" => "UpdateProductPackages",
+ "updateProductPackagesResponse" => "UpdateProductPackagesResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Creates new {@link ProductPackage} objects.
+ *
+ * @param productPackages the product packages to create
+ * @return the persisted product packages with their ID filled in
+ */
+ public function createProductPackages($productPackages) {
+ $args = new CreateProductPackages($productPackages);
+ $result = $this->__soapCall("createProductPackages", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@link ProductPackagePage} of {@link ProductPackage} objects
+ * that satisfy the filtering criteria specified by given {@link Statement#query}.
+ * The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link ProductPackage#id} |
+ *
+ *
+ * {@code name} |
+ * {@link ProductPackage#name} |
+ *
+ *
+ * {@code notes} |
+ * {@link ProductPackage#notes} |
+ *
+ *
+ * {@code status} |
+ * {@link ProductPackage#status} |
+ *
+ *
+ * {@code isArchived} |
+ * {@link ProductPackage#isArchived} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link ProductPackage#lastModifiedDateTime} |
+ *
+ *
+ *
+ * @param statement a Publisher Query Language statement which specifies the
+ * filtering criteria over product packages
+ * @return the product packages that match the given statement
+ */
+ public function getProductPackagesByStatement($statement) {
+ $args = new GetProductPackagesByStatement($statement);
+ $result = $this->__soapCall("getProductPackagesByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Performs actions on {@link ProductPackage} objects that match the given
+ * {@link Statement#query}.
+ *
+ * @param action the action to perform
+ * @param statement a Publisher Query Language statement used to filter a set of product packages
+ * @return the result of the action performed
+ */
+ public function performProductPackageAction($action, $statement) {
+ $args = new PerformProductPackageAction($action, $statement);
+ $result = $this->__soapCall("performProductPackageAction", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link ProductPackage} objects.
+ *
+ * @param productPackages the product packages to update
+ * @return the updated product packages
+ */
+ public function updateProductPackages($productPackages) {
+ $args = new UpdateProductPackages($productPackages);
+ $result = $this->__soapCall("updateProductPackages", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/ProductService.php b/src/Google/Api/Ads/Dfp/v201505/ProductService.php
new file mode 100755
index 000000000..523aca630
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/ProductService.php
@@ -0,0 +1,6509 @@
+adUnitId = $adUnitId;
+ $this->includeDescendants = $includeDescendants;
+ }
+
+ }
+}
+
+if (!class_exists("ApiError", false)) {
+ /**
+ * The API error base class that provides details about an error that occurred
+ * while processing a service request.
+ *
+ * The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AppliedLabel", false)) {
+ /**
+ * Represents a {@link Label} that can be applied to an entity. To negate an
+ * inherited label, create an {@code AppliedLabel} with {@code labelId} as the
+ * inherited label's ID and {@code isNegated} set to true.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AppliedLabel {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AppliedLabel";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $labelId;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isNegated;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($labelId = null, $isNegated = null) {
+ $this->labelId = $labelId;
+ $this->isNegated = $isNegated;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("BandwidthGroupTargeting", false)) {
+ /**
+ * Represents bandwidth groups that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BandwidthGroupTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BandwidthGroupTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $bandwidthGroups;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $bandwidthGroups = null) {
+ $this->isTargeted = $isTargeted;
+ $this->bandwidthGroups = $bandwidthGroups;
+ }
+
+ }
+}
+
+if (!class_exists("BaseCustomFieldValue", false)) {
+ /**
+ * The value of a {@link CustomField} for a particular entity.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BaseCustomFieldValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customFieldId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customFieldId = null) {
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("BaseRateError", false)) {
+ /**
+ * An error having to do with {@link BaseRate}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BaseRateError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BaseRateError";
+
+ /**
+ * @access public
+ * @var tnsBaseRateErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("BrowserLanguageTargeting", false)) {
+ /**
+ * Represents browser languages that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BrowserLanguageTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BrowserLanguageTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $browserLanguages;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $browserLanguages = null) {
+ $this->isTargeted = $isTargeted;
+ $this->browserLanguages = $browserLanguages;
+ }
+
+ }
+}
+
+if (!class_exists("BrowserTargeting", false)) {
+ /**
+ * Represents browsers that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BrowserTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BrowserTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $browsers;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $browsers = null) {
+ $this->isTargeted = $isTargeted;
+ $this->browsers = $browsers;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ContentMetadataKeyHierarchyTargeting", false)) {
+ /**
+ * Represents one or more {@link CustomTargetingValue custom targeting values} from different
+ * {@link CustomTargetingKey custom targeting keys} ANDed together.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentMetadataKeyHierarchyTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentMetadataKeyHierarchyTargeting";
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $customTargetingValueIds;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customTargetingValueIds = null) {
+ $this->customTargetingValueIds = $customTargetingValueIds;
+ }
+
+ }
+}
+
+if (!class_exists("ContentTargeting", false)) {
+ /**
+ * Used to target {@link LineItem}s to specific videos on a publisher's site.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentTargeting";
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $targetedContentIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $excludedContentIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $targetedVideoCategoryIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $excludedVideoCategoryIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $targetedVideoContentBundleIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $excludedVideoContentBundleIds;
+
+ /**
+ * @access public
+ * @var ContentMetadataKeyHierarchyTargeting[]
+ */
+ public $targetedContentMetadata;
+
+ /**
+ * @access public
+ * @var ContentMetadataKeyHierarchyTargeting[]
+ */
+ public $excludedContentMetadata;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedContentIds = null, $excludedContentIds = null, $targetedVideoCategoryIds = null, $excludedVideoCategoryIds = null, $targetedVideoContentBundleIds = null, $excludedVideoContentBundleIds = null, $targetedContentMetadata = null, $excludedContentMetadata = null) {
+ $this->targetedContentIds = $targetedContentIds;
+ $this->excludedContentIds = $excludedContentIds;
+ $this->targetedVideoCategoryIds = $targetedVideoCategoryIds;
+ $this->excludedVideoCategoryIds = $excludedVideoCategoryIds;
+ $this->targetedVideoContentBundleIds = $targetedVideoContentBundleIds;
+ $this->excludedVideoContentBundleIds = $excludedVideoContentBundleIds;
+ $this->targetedContentMetadata = $targetedContentMetadata;
+ $this->excludedContentMetadata = $excludedContentMetadata;
+ }
+
+ }
+}
+
+if (!class_exists("CreativePlaceholder", false)) {
+ /**
+ * A {@code CreativePlaceholder} describes a slot that a creative is expected to
+ * fill. This is used primarily to help in forecasting, and also to validate
+ * that the correct creatives are associated with the line item. A
+ * {@code CreativePlaceholder} must contain a size, and it can optionally
+ * contain companions. Companions are only valid if the line item's environment
+ * type is {@link EnvironmentType#VIDEO_PLAYER}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativePlaceholder {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativePlaceholder";
+
+ /**
+ * @access public
+ * @var Size
+ */
+ public $size;
+
+ /**
+ * @access public
+ * @var CreativePlaceholder[]
+ */
+ public $companions;
+
+ /**
+ * @access public
+ * @var AppliedLabel[]
+ */
+ public $appliedLabels;
+
+ /**
+ * @access public
+ * @var AppliedLabel[]
+ */
+ public $effectiveAppliedLabels;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $expectedCreativeCount;
+
+ /**
+ * @access public
+ * @var tnsCreativeSizeType
+ */
+ public $creativeSizeType;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($size = null, $companions = null, $appliedLabels = null, $effectiveAppliedLabels = null, $id = null, $expectedCreativeCount = null, $creativeSizeType = null) {
+ $this->size = $size;
+ $this->companions = $companions;
+ $this->appliedLabels = $appliedLabels;
+ $this->effectiveAppliedLabels = $effectiveAppliedLabels;
+ $this->id = $id;
+ $this->expectedCreativeCount = $expectedCreativeCount;
+ $this->creativeSizeType = $creativeSizeType;
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValue", false)) {
+ /**
+ * The value of a {@link CustomField} that does not have a {@link CustomField#dataType}
+ * of {@link CustomFieldDataType#DROP_DOWN}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValue extends BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValue";
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null, $customFieldId = null) {
+ parent::__construct();
+ $this->value = $value;
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValueError", false)) {
+ /**
+ * Errors specific to editing custom field values
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValueError";
+
+ /**
+ * @access public
+ * @var tnsCustomFieldValueErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingError", false)) {
+ /**
+ * Lists all errors related to {@link CustomTargetingKey} and
+ * {@link CustomTargetingValue} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingError";
+
+ /**
+ * @access public
+ * @var tnsCustomTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaNode", false)) {
+ /**
+ * A {@link CustomCriteriaNode} is a node in the custom targeting tree. A custom
+ * criteria node can either be a {@link CustomCriteriaSet} (a non-leaf node) or
+ * a {@link CustomCriteria} (a leaf node). The custom criteria targeting tree is
+ * subject to the rules defined on {@link Targeting#customTargeting}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaNode {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteriaNode";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceCapabilityTargeting", false)) {
+ /**
+ * Represents device capabilities that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceCapabilityTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceCapabilityTargeting";
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $targetedDeviceCapabilities;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $excludedDeviceCapabilities;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedDeviceCapabilities = null, $excludedDeviceCapabilities = null) {
+ $this->targetedDeviceCapabilities = $targetedDeviceCapabilities;
+ $this->excludedDeviceCapabilities = $excludedDeviceCapabilities;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceCategoryTargeting", false)) {
+ /**
+ * Represents device categories that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceCategoryTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceCategoryTargeting";
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $targetedDeviceCategories;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $excludedDeviceCategories;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedDeviceCategories = null, $excludedDeviceCategories = null) {
+ $this->targetedDeviceCategories = $targetedDeviceCategories;
+ $this->excludedDeviceCategories = $excludedDeviceCategories;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceManufacturerTargeting", false)) {
+ /**
+ * Represents device manufacturer that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceManufacturerTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceManufacturerTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $deviceManufacturers;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $deviceManufacturers = null) {
+ $this->isTargeted = $isTargeted;
+ $this->deviceManufacturers = $deviceManufacturers;
+ }
+
+ }
+}
+
+if (!class_exists("DropDownCustomFieldValue", false)) {
+ /**
+ * A {@link CustomFieldValue} for a {@link CustomField} that has a {@link CustomField#dataType}
+ * of {@link CustomFieldDataType#DROP_DOWN}
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DropDownCustomFieldValue extends BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DropDownCustomFieldValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customFieldOptionId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customFieldOptionId = null, $customFieldId = null) {
+ parent::__construct();
+ $this->customFieldOptionId = $customFieldOptionId;
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FrequencyCap", false)) {
+ /**
+ * Represents a limit on the number of times a single viewer can be exposed to
+ * the same {@link LineItem} in a specified time period.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FrequencyCap {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FrequencyCap";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $maxImpressions;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numTimeUnits;
+
+ /**
+ * @access public
+ * @var tnsTimeUnit
+ */
+ public $timeUnit;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($maxImpressions = null, $numTimeUnits = null, $timeUnit = null) {
+ $this->maxImpressions = $maxImpressions;
+ $this->numTimeUnits = $numTimeUnits;
+ $this->timeUnit = $timeUnit;
+ }
+
+ }
+}
+
+if (!class_exists("GeoTargeting", false)) {
+ /**
+ * Provides line items the ability to target geographical locations. By default,
+ * line items target all countries and their subdivisions. With geographical
+ * targeting, you can target line items to specific countries, regions, metro
+ * areas, and cities. You can also exclude the same.
+ *
+ * The following rules apply for geographical targeting:
+ *
+ *
+ * - You cannot target and exclude the same location
+ * - You cannot target a child whose parent has been excluded. So if the state
+ * of Illinois has been excluded, then you cannot target Chicago
+ * - You must not target a location if you are also targeting its parent.
+ * So if you are targeting New York City, you must not have the state of New
+ * York as one of the targeted locations
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GeoTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GeoTargeting";
+
+ /**
+ * @access public
+ * @var Location[]
+ */
+ public $targetedLocations;
+
+ /**
+ * @access public
+ * @var Location[]
+ */
+ public $excludedLocations;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedLocations = null, $excludedLocations = null) {
+ $this->targetedLocations = $targetedLocations;
+ $this->excludedLocations = $excludedLocations;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InventoryTargeting", false)) {
+ /**
+ * A collection of targeted and excluded ad units and placements.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryTargeting";
+
+ /**
+ * @access public
+ * @var AdUnitTargeting[]
+ */
+ public $targetedAdUnits;
+
+ /**
+ * @access public
+ * @var AdUnitTargeting[]
+ */
+ public $excludedAdUnits;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $targetedPlacementIds;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedAdUnits = null, $excludedAdUnits = null, $targetedPlacementIds = null) {
+ $this->targetedAdUnits = $targetedAdUnits;
+ $this->excludedAdUnits = $excludedAdUnits;
+ $this->targetedPlacementIds = $targetedPlacementIds;
+ }
+
+ }
+}
+
+if (!class_exists("DfpLocation", false)) {
+ /**
+ * A {@link Location} represents a geographical entity that can be targeted. If
+ * a location type is not available because of the API version you are using,
+ * the location will be represented as just the base class, otherwise it will be
+ * sub-classed correctly.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpLocation {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Location";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $type;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $canonicalParentId;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $displayName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $type = null, $canonicalParentId = null, $displayName = null) {
+ $this->id = $id;
+ $this->type = $type;
+ $this->canonicalParentId = $canonicalParentId;
+ $this->displayName = $displayName;
+ }
+
+ }
+}
+
+if (!class_exists("MobileCarrierTargeting", false)) {
+ /**
+ * Represents mobile carriers that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileCarrierTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileCarrierTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $mobileCarriers;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $mobileCarriers = null) {
+ $this->isTargeted = $isTargeted;
+ $this->mobileCarriers = $mobileCarriers;
+ }
+
+ }
+}
+
+if (!class_exists("MobileDeviceSubmodelTargeting", false)) {
+ /**
+ * Represents mobile devices that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileDeviceSubmodelTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileDeviceSubmodelTargeting";
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $targetedMobileDeviceSubmodels;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $excludedMobileDeviceSubmodels;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedMobileDeviceSubmodels = null, $excludedMobileDeviceSubmodels = null) {
+ $this->targetedMobileDeviceSubmodels = $targetedMobileDeviceSubmodels;
+ $this->excludedMobileDeviceSubmodels = $excludedMobileDeviceSubmodels;
+ }
+
+ }
+}
+
+if (!class_exists("MobileDeviceTargeting", false)) {
+ /**
+ * Represents mobile devices that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileDeviceTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileDeviceTargeting";
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $targetedMobileDevices;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $excludedMobileDevices;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedMobileDevices = null, $excludedMobileDevices = null) {
+ $this->targetedMobileDevices = $targetedMobileDevices;
+ $this->excludedMobileDevices = $excludedMobileDevices;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("OperatingSystemTargeting", false)) {
+ /**
+ * Represents operating systems that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OperatingSystemTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OperatingSystemTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $operatingSystems;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $operatingSystems = null) {
+ $this->isTargeted = $isTargeted;
+ $this->operatingSystems = $operatingSystems;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProductAction", false)) {
+ /**
+ * Represents the actions that can be performed on products.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductAction";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProductActionError", false)) {
+ /**
+ * An error lists all error reasons associated with performing action on {@link Product} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductActionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductActionError";
+
+ /**
+ * @access public
+ * @var tnsProductActionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Product", false)) {
+ /**
+ * {@link ProposalLineItem Proposal line items} are created from products,
+ * from which their properties are copied.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Product {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Product";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var tnsProductStatus
+ */
+ public $status;
+
+ /**
+ * @access public
+ * @var tnsProductType
+ */
+ public $productType;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $productTemplateId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $notes;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $productTemplateDescription;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $lastModifiedDateTime;
+
+ /**
+ * @access public
+ * @var tnsRateType
+ */
+ public $rateType;
+
+ /**
+ * @access public
+ * @var tnsRoadblockingType
+ */
+ public $roadblockingType;
+
+ /**
+ * @access public
+ * @var CreativePlaceholder[]
+ */
+ public $creativePlaceholders;
+
+ /**
+ * @access public
+ * @var tnsLineItemType
+ */
+ public $lineItemType;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $priority;
+
+ /**
+ * @access public
+ * @var FrequencyCap[]
+ */
+ public $frequencyCaps;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowFrequencyCapsCustomization;
+
+ /**
+ * @access public
+ * @var ProductTemplateTargeting
+ */
+ public $targeting;
+
+ /**
+ * @access public
+ * @var BaseCustomFieldValue[]
+ */
+ public $customFieldValues;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($name = null, $status = null, $productType = null, $productTemplateId = null, $id = null, $notes = null, $productTemplateDescription = null, $lastModifiedDateTime = null, $rateType = null, $roadblockingType = null, $creativePlaceholders = null, $lineItemType = null, $priority = null, $frequencyCaps = null, $allowFrequencyCapsCustomization = null, $targeting = null, $customFieldValues = null) {
+ $this->name = $name;
+ $this->status = $status;
+ $this->productType = $productType;
+ $this->productTemplateId = $productTemplateId;
+ $this->id = $id;
+ $this->notes = $notes;
+ $this->productTemplateDescription = $productTemplateDescription;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ $this->rateType = $rateType;
+ $this->roadblockingType = $roadblockingType;
+ $this->creativePlaceholders = $creativePlaceholders;
+ $this->lineItemType = $lineItemType;
+ $this->priority = $priority;
+ $this->frequencyCaps = $frequencyCaps;
+ $this->allowFrequencyCapsCustomization = $allowFrequencyCapsCustomization;
+ $this->targeting = $targeting;
+ $this->customFieldValues = $customFieldValues;
+ }
+
+ }
+}
+
+if (!class_exists("ProductError", false)) {
+ /**
+ * A catch-all error that lists all generic errors associated with Product.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductError";
+
+ /**
+ * @access public
+ * @var tnsProductErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProductPage", false)) {
+ /**
+ * Captures a page of {@link ProductDto} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductPage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var Product[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("ProductTemplateTargeting", false)) {
+ /**
+ * Contains targeting criteria for {@link ProductTemplate} objects.
+ * {@link ProposalLineItem Proposal line items} created from {@link Product products}
+ * of this template will have this criteria added to {@link ProposalLineItem#targeting}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductTemplateTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductTemplateTargeting";
+
+ /**
+ * @access public
+ * @var GeoTargeting
+ */
+ public $geoTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowGeoTargetingCustomization;
+
+ /**
+ * @access public
+ * @var InventoryTargeting
+ */
+ public $inventoryTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowAdUnitTargetingCustomization;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowPlacementTargetingCustomization;
+
+ /**
+ * @access public
+ * @var CustomCriteriaSet
+ */
+ public $customTargeting;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $customizableCustomTargetingKeyIds;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowAudienceSegmentTargetingCustomization;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isAllCustomTargetingKeysCustomizable;
+
+ /**
+ * @access public
+ * @var UserDomainTargeting
+ */
+ public $userDomainTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowUserDomainTargetingCustomization;
+
+ /**
+ * @access public
+ * @var BandwidthGroupTargeting
+ */
+ public $bandwidthGroupTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowBandwidthGroupTargetingCustomization;
+
+ /**
+ * @access public
+ * @var BrowserTargeting
+ */
+ public $browserTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowBrowserTargetingCustomization;
+
+ /**
+ * @access public
+ * @var BrowserLanguageTargeting
+ */
+ public $browserLanguageTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowBrowserLanguageTargetingCustomization;
+
+ /**
+ * @access public
+ * @var OperatingSystemTargeting
+ */
+ public $operatingSystemTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowOperatingSystemTargetingCustomization;
+
+ /**
+ * @access public
+ * @var DeviceCapabilityTargeting
+ */
+ public $deviceCapabilityTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowDeviceCapabilityTargetingCustomization;
+
+ /**
+ * @access public
+ * @var DeviceCategoryTargeting
+ */
+ public $deviceCategoryTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowDeviceCategoryTargetingCustomization;
+
+ /**
+ * @access public
+ * @var MobileCarrierTargeting
+ */
+ public $mobileCarrierTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowMobileCarrierTargetingCustomization;
+
+ /**
+ * @access public
+ * @var DeviceManufacturerTargeting
+ */
+ public $deviceManufacturerTargeting;
+
+ /**
+ * @access public
+ * @var MobileDeviceTargeting
+ */
+ public $mobileDeviceTargeting;
+
+ /**
+ * @access public
+ * @var MobileDeviceSubmodelTargeting
+ */
+ public $mobileDeviceSubmodelTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowMobileDeviceAndManufacturerTargetingCustomization;
+
+ /**
+ * @access public
+ * @var ContentTargeting
+ */
+ public $contentTargeting;
+
+ /**
+ * @access public
+ * @var VideoPositionTargeting
+ */
+ public $videoPositionTargeting;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($geoTargeting = null, $allowGeoTargetingCustomization = null, $inventoryTargeting = null, $allowAdUnitTargetingCustomization = null, $allowPlacementTargetingCustomization = null, $customTargeting = null, $customizableCustomTargetingKeyIds = null, $allowAudienceSegmentTargetingCustomization = null, $isAllCustomTargetingKeysCustomizable = null, $userDomainTargeting = null, $allowUserDomainTargetingCustomization = null, $bandwidthGroupTargeting = null, $allowBandwidthGroupTargetingCustomization = null, $browserTargeting = null, $allowBrowserTargetingCustomization = null, $browserLanguageTargeting = null, $allowBrowserLanguageTargetingCustomization = null, $operatingSystemTargeting = null, $allowOperatingSystemTargetingCustomization = null, $deviceCapabilityTargeting = null, $allowDeviceCapabilityTargetingCustomization = null, $deviceCategoryTargeting = null, $allowDeviceCategoryTargetingCustomization = null, $mobileCarrierTargeting = null, $allowMobileCarrierTargetingCustomization = null, $deviceManufacturerTargeting = null, $mobileDeviceTargeting = null, $mobileDeviceSubmodelTargeting = null, $allowMobileDeviceAndManufacturerTargetingCustomization = null, $contentTargeting = null, $videoPositionTargeting = null) {
+ $this->geoTargeting = $geoTargeting;
+ $this->allowGeoTargetingCustomization = $allowGeoTargetingCustomization;
+ $this->inventoryTargeting = $inventoryTargeting;
+ $this->allowAdUnitTargetingCustomization = $allowAdUnitTargetingCustomization;
+ $this->allowPlacementTargetingCustomization = $allowPlacementTargetingCustomization;
+ $this->customTargeting = $customTargeting;
+ $this->customizableCustomTargetingKeyIds = $customizableCustomTargetingKeyIds;
+ $this->allowAudienceSegmentTargetingCustomization = $allowAudienceSegmentTargetingCustomization;
+ $this->isAllCustomTargetingKeysCustomizable = $isAllCustomTargetingKeysCustomizable;
+ $this->userDomainTargeting = $userDomainTargeting;
+ $this->allowUserDomainTargetingCustomization = $allowUserDomainTargetingCustomization;
+ $this->bandwidthGroupTargeting = $bandwidthGroupTargeting;
+ $this->allowBandwidthGroupTargetingCustomization = $allowBandwidthGroupTargetingCustomization;
+ $this->browserTargeting = $browserTargeting;
+ $this->allowBrowserTargetingCustomization = $allowBrowserTargetingCustomization;
+ $this->browserLanguageTargeting = $browserLanguageTargeting;
+ $this->allowBrowserLanguageTargetingCustomization = $allowBrowserLanguageTargetingCustomization;
+ $this->operatingSystemTargeting = $operatingSystemTargeting;
+ $this->allowOperatingSystemTargetingCustomization = $allowOperatingSystemTargetingCustomization;
+ $this->deviceCapabilityTargeting = $deviceCapabilityTargeting;
+ $this->allowDeviceCapabilityTargetingCustomization = $allowDeviceCapabilityTargetingCustomization;
+ $this->deviceCategoryTargeting = $deviceCategoryTargeting;
+ $this->allowDeviceCategoryTargetingCustomization = $allowDeviceCategoryTargetingCustomization;
+ $this->mobileCarrierTargeting = $mobileCarrierTargeting;
+ $this->allowMobileCarrierTargetingCustomization = $allowMobileCarrierTargetingCustomization;
+ $this->deviceManufacturerTargeting = $deviceManufacturerTargeting;
+ $this->mobileDeviceTargeting = $mobileDeviceTargeting;
+ $this->mobileDeviceSubmodelTargeting = $mobileDeviceSubmodelTargeting;
+ $this->allowMobileDeviceAndManufacturerTargetingCustomization = $allowMobileDeviceAndManufacturerTargetingCustomization;
+ $this->contentTargeting = $contentTargeting;
+ $this->videoPositionTargeting = $videoPositionTargeting;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RangeError", false)) {
+ /**
+ * A list of all errors associated with the Range constraint.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError";
+
+ /**
+ * @access public
+ * @var tnsRangeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionError", false)) {
+ /**
+ * A list of all errors to be used for validating sizes of collections.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError";
+
+ /**
+ * @access public
+ * @var tnsRequiredCollectionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberError", false)) {
+ /**
+ * A list of all errors to be used in conjunction with required number
+ * validators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError";
+
+ /**
+ * @access public
+ * @var tnsRequiredNumberErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Size", false)) {
+ /**
+ * Represents the dimensions of an {@link AdUnit}, {@link LineItem} or {@link Creative}.
+ *
+ * For interstitial size (out-of-page) and native size, {@code Size} must be 1x1.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Size {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Size";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $width;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $height;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isAspectRatio;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($width = null, $height = null, $isAspectRatio = null) {
+ $this->width = $width;
+ $this->height = $height;
+ $this->isAspectRatio = $isAspectRatio;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthError", false)) {
+ /**
+ * Errors for Strings which do not meet given length constraints.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("Technology", false)) {
+ /**
+ * Represents a technology entity that can be targeted.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Technology";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("TypeError", false)) {
+ /**
+ * An error for a field which is an invalid type.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TypeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TypeError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateResult", false)) {
+ /**
+ * Represents the result of performing an action on objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UpdateResult";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numChanges;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($numChanges = null) {
+ $this->numChanges = $numChanges;
+ }
+
+ }
+}
+
+if (!class_exists("UserDomainTargeting", false)) {
+ /**
+ * Provides line items the ability to target or exclude users visiting their
+ * websites from a list of domains or subdomains.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserDomainTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserDomainTargeting";
+
+ /**
+ * @access public
+ * @var string[]
+ */
+ public $domains;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $targeted;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($domains = null, $targeted = null) {
+ $this->domains = $domains;
+ $this->targeted = $targeted;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("VideoPosition", false)) {
+ /**
+ * Represents a targetable position within a video. A video ad can be targeted
+ * to a position (pre-roll, all mid-rolls, or post-roll), or to a specific mid-roll index.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPosition {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPosition";
+
+ /**
+ * @access public
+ * @var tnsVideoPositionType
+ */
+ public $positionType;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $midrollIndex;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($positionType = null, $midrollIndex = null) {
+ $this->positionType = $positionType;
+ $this->midrollIndex = $midrollIndex;
+ }
+
+ }
+}
+
+if (!class_exists("VideoPositionTargeting", false)) {
+ /**
+ * Represents positions within and around a video where ads can be targeted to.
+ *
+ * Example positions could be {@code pre-roll} (before the video plays),
+ * {@code post-roll} (after a video has completed playback) and
+ * {@code mid-roll} (during video playback).
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPositionTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPositionTargeting";
+
+ /**
+ * @access public
+ * @var VideoPositionTarget[]
+ */
+ public $targetedPositions;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedPositions = null) {
+ $this->targetedPositions = $targetedPositions;
+ }
+
+ }
+}
+
+if (!class_exists("VideoPositionWithinPod", false)) {
+ /**
+ * Represents a targetable position within a pod within a video stream. A video ad can be targeted
+ * to any position in the pod (first, second, third ... last). If there is only 1 ad in a pod,
+ * either first or last will target that position.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPositionWithinPod {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPositionWithinPod";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $index;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($index = null) {
+ $this->index = $index;
+ }
+
+ }
+}
+
+if (!class_exists("VideoPositionTarget", false)) {
+ /**
+ * Represents the options for targetable positions within a video.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPositionTarget {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPositionTarget";
+
+ /**
+ * @access public
+ * @var VideoPosition
+ */
+ public $videoPosition;
+
+ /**
+ * @access public
+ * @var tnsVideoBumperType
+ */
+ public $videoBumperType;
+
+ /**
+ * @access public
+ * @var VideoPositionWithinPod
+ */
+ public $videoPositionWithinPod;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($videoPosition = null, $videoBumperType = null, $videoPositionWithinPod = null) {
+ $this->videoPosition = $videoPosition;
+ $this->videoBumperType = $videoBumperType;
+ $this->videoPositionWithinPod = $videoPositionWithinPod;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("BaseRateErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BaseRateErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BaseRateError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeSizeType", false)) {
+ /**
+ * Descriptions of the types of sizes a creative can be. Not all creatives can
+ * be described by a height-width pair, this provides additional context.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeSizeType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeSizeType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaComparisonOperator", false)) {
+ /**
+ * Specifies the available comparison operators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaComparisonOperator {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteria.ComparisonOperator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaSetLogicalOperator", false)) {
+ /**
+ * Specifies the available logical operators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaSetLogicalOperator {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteriaSet.LogicalOperator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValueErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValueErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValueError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AudienceSegmentCriteriaComparisonOperator", false)) {
+ /**
+ * Specifies the available comparison operators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceSegmentCriteriaComparisonOperator {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceSegmentCriteria.ComparisonOperator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemType", false)) {
+ /**
+ * {@code LineItemType} indicates the priority of a {@link LineItem}, determined
+ * by the way in which impressions are reserved to be served for it.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProductActionErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductActionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductActionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProductErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProductStatus", false)) {
+ /**
+ * Describes the different statuses for {@link Product}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProductType", false)) {
+ /**
+ * Describes the type of {@link Product}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RangeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RateType", false)) {
+ /**
+ * Describes the type of event the advertiser is paying for. The values here correspond to the
+ * values for the {@link LineItem#costType} field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RateType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RateType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionErrorReason", false)) {
+ /**
+ * A required collection is missing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberErrorReason", false)) {
+ /**
+ * Describes reasons for a number to be invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RoadblockingType", false)) {
+ /**
+ * Describes the roadblocking types.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RoadblockingType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RoadblockingType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TimeUnit", false)) {
+ /**
+ * Represent the possible time units for frequency capping.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TimeUnit {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TimeUnit";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("VideoBumperType", false)) {
+ /**
+ * Represents the options for targetable bumper positions, surrounding an ad
+ * pod, within a video stream. This includes before and after the supported ad
+ * pod positions, {@link VideoPositionType#PREROLL},
+ * {@link VideoPositionType#MIDROLL}, and {@link VideoPositionType#POSTROLL}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoBumperType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoBumperType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("VideoPositionType", false)) {
+ /**
+ * Represents a targetable position within a video.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPositionType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPosition.Type";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GetProductsByStatement", false)) {
+ /**
+ * Gets a {@link ProductPage} of {@link Product} objects that satisfy the criteria specified by
+ * given {@link Statement#query}. The following fields are supported for filtering and/or sorting:
+ *
+ *
+ *
+ * PQL Property |
+ * Object Property |
+ * Filterable |
+ * Sortable |
+ *
+ *
+ * {@code rateCardId} |
+ * Rate card ID which the product is associated with |
+ * Yes |
+ * No |
+ *
+ *
+ * {@code status} |
+ * {@link Product#status} |
+ * Yes |
+ * Yes |
+ *
+ *
+ * {@code lineItemType} |
+ * {@link Product#lineItemType} |
+ * Yes |
+ * Yes |
+ *
+ * {@code productType} |
+ * {@link Product#productType} |
+ * Yes |
+ * Yes |
+ *
+ *
+ * {@code rateType} |
+ * {@link Product#rateType} |
+ * Yes |
+ * Yes |
+ *
+ *
+ * {@code productTemplateId} |
+ * {@link Product#productTemplateId} |
+ * Yes |
+ * No |
+ *
+ *
+ * {@code name} |
+ * {@link Product#name} |
+ * Yes |
+ * Yes |
+ *
+ *
+ * {@code description} |
+ * {@link Product#description} |
+ * Yes |
+ * No |
+ *
+ *
+ * {@code id} |
+ * {@link Product#id} |
+ * Yes |
+ * Yes |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link Product#lastModifiedDateTime} |
+ * Yes |
+ * Yes |
+ *
+ *
+ *
+ * @param statement a Publisher Query Language statement which specifies the filtering
+ * criteria over products
+ * @return the products that match the given statement
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetProductsByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $statement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($statement = null) {
+ $this->statement = $statement;
+ }
+
+ }
+}
+
+if (!class_exists("GetProductsByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetProductsByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProductPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("PerformProductAction", false)) {
+ /**
+ * Performs action on {@link Product} objects that satisfy the given {@link Statement}.
+ *
+ * @param productAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter a set of products.
+ * @return the result of the action performed
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformProductAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProductAction
+ */
+ public $productAction;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($productAction = null, $filterStatement = null) {
+ $this->productAction = $productAction;
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("PerformProductActionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformProductActionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UpdateResult
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateProducts", false)) {
+ /**
+ * Updates the specified {@link Product} objects.
+ * Note non-updatable fields will not be backfilled.
+ *
+ * @param products the products to update
+ * @return the updated products
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateProducts {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Product[]
+ */
+ public $products;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($products = null) {
+ $this->products = $products;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateProductsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateProductsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Product[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ActivateProducts", false)) {
+ /**
+ * The action used to activate products.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ActivateProducts extends ProductAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ActivateProducts";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("ArchiveProducts", false)) {
+ /**
+ * This action is deprecated and is a no-op, use {@link ArchiveProductTemplates} instead.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ArchiveProducts extends ProductAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ArchiveProducts";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("BandwidthGroup", false)) {
+ /**
+ * Represents a group of bandwidths that are logically organized by some well
+ * known generic names such as 'Cable' or 'DSL'.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BandwidthGroup extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BandwidthGroup";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("Browser", false)) {
+ /**
+ * Represents an internet browser.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Browser extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Browser";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $majorVersion;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $minorVersion;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($majorVersion = null, $minorVersion = null, $id = null, $name = null) {
+ parent::__construct();
+ $this->majorVersion = $majorVersion;
+ $this->minorVersion = $minorVersion;
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("BrowserLanguage", false)) {
+ /**
+ * Represents a Browser's language.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BrowserLanguage extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BrowserLanguage";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaSet", false)) {
+ /**
+ * A {@link CustomCriteriaSet} comprises of a set of {@link CustomCriteriaNode}
+ * objects combined by the
+ * {@link CustomCriteriaSet.LogicalOperator#logicalOperator}. The custom
+ * criteria targeting tree is subject to the rules defined on
+ * {@link Targeting#customTargeting}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaSet extends CustomCriteriaNode {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteriaSet";
+
+ /**
+ * @access public
+ * @var tnsCustomCriteriaSetLogicalOperator
+ */
+ public $logicalOperator;
+
+ /**
+ * @access public
+ * @var CustomCriteriaNode[]
+ */
+ public $children;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($logicalOperator = null, $children = null) {
+ parent::__construct();
+ $this->logicalOperator = $logicalOperator;
+ $this->children = $children;
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaLeaf", false)) {
+ /**
+ * A {@link CustomCriteriaLeaf} object represents a generic leaf of {@link CustomCriteria} tree
+ * structure.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaLeaf extends CustomCriteriaNode {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteriaLeaf";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("AudienceSegmentCriteria", false)) {
+ /**
+ * An {@link AudienceSegmentCriteria} object is used to target {@link AudienceSegment} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceSegmentCriteria extends CustomCriteriaLeaf {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceSegmentCriteria";
+
+ /**
+ * @access public
+ * @var tnsAudienceSegmentCriteriaComparisonOperator
+ */
+ public $operator;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $audienceSegmentIds;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($operator = null, $audienceSegmentIds = null) {
+ parent::__construct();
+ $this->operator = $operator;
+ $this->audienceSegmentIds = $audienceSegmentIds;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DeactivateProducts", false)) {
+ /**
+ * The action used to deactivate products.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeactivateProducts extends ProductAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeactivateProducts";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("DeviceCapability", false)) {
+ /**
+ * Represents a capability of a physical device.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceCapability extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceCapability";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceCategory", false)) {
+ /**
+ * Represents the category of a device.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceCategory extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceCategory";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceManufacturer", false)) {
+ /**
+ * Represents a mobile device's manufacturer.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceManufacturer extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceManufacturer";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("MobileCarrier", false)) {
+ /**
+ * Represents a mobile carrier.
+ * Carrier targeting is only available to DFP mobile publishers.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileCarrier extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileCarrier";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("MobileDevice", false)) {
+ /**
+ * Represents a Mobile Device.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileDevice extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileDevice";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $manufacturerCriterionId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($manufacturerCriterionId = null, $id = null, $name = null) {
+ parent::__construct();
+ $this->manufacturerCriterionId = $manufacturerCriterionId;
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("MobileDeviceSubmodel", false)) {
+ /**
+ * Represents a mobile device submodel.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileDeviceSubmodel extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileDeviceSubmodel";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $mobileDeviceCriterionId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $deviceManufacturerCriterionId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($mobileDeviceCriterionId = null, $deviceManufacturerCriterionId = null, $id = null, $name = null) {
+ parent::__construct();
+ $this->mobileDeviceCriterionId = $mobileDeviceCriterionId;
+ $this->deviceManufacturerCriterionId = $deviceManufacturerCriterionId;
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("OperatingSystem", false)) {
+ /**
+ * Represents an Operating System, such as Linux, Mac OS or Windows.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OperatingSystem extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OperatingSystem";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("OperatingSystemVersion", false)) {
+ /**
+ * Represents a specific version of an operating system.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OperatingSystemVersion extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OperatingSystemVersion";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $majorVersion;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minorVersion;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $microVersion;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($majorVersion = null, $minorVersion = null, $microVersion = null, $id = null, $name = null) {
+ parent::__construct();
+ $this->majorVersion = $majorVersion;
+ $this->minorVersion = $minorVersion;
+ $this->microVersion = $microVersion;
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteria", false)) {
+ /**
+ * A {@link CustomCriteria} object is used to perform custom criteria targeting
+ * on custom targeting keys of type {@link CustomTargetingKey.Type#PREDEFINED}
+ * or {@link CustomTargetingKey.Type#FREEFORM}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteria extends CustomCriteriaLeaf {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteria";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $keyId;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $valueIds;
+
+ /**
+ * @access public
+ * @var tnsCustomCriteriaComparisonOperator
+ */
+ public $operator;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($keyId = null, $valueIds = null, $operator = null) {
+ parent::__construct();
+ $this->keyId = $keyId;
+ $this->valueIds = $valueIds;
+ $this->operator = $operator;
+ }
+
+ }
+}
+
+if (!class_exists("ProductService", false)) {
+ /**
+ * ProductService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductService extends DfpSoapClient {
+
+ const SERVICE_NAME = "ProductService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/ProductService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/ProductService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ActivateProducts" => "ActivateProducts",
+ "AdUnitTargeting" => "AdUnitTargeting",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AppliedLabel" => "AppliedLabel",
+ "ArchiveProducts" => "ArchiveProducts",
+ "AuthenticationError" => "AuthenticationError",
+ "BandwidthGroup" => "BandwidthGroup",
+ "BandwidthGroupTargeting" => "BandwidthGroupTargeting",
+ "BaseCustomFieldValue" => "BaseCustomFieldValue",
+ "BaseRateError" => "BaseRateError",
+ "BooleanValue" => "BooleanValue",
+ "Browser" => "Browser",
+ "BrowserLanguage" => "BrowserLanguage",
+ "BrowserLanguageTargeting" => "BrowserLanguageTargeting",
+ "BrowserTargeting" => "BrowserTargeting",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "ContentMetadataKeyHierarchyTargeting" => "ContentMetadataKeyHierarchyTargeting",
+ "ContentTargeting" => "ContentTargeting",
+ "CreativePlaceholder" => "CreativePlaceholder",
+ "CustomCriteria" => "CustomCriteria",
+ "CustomCriteriaSet" => "CustomCriteriaSet",
+ "CustomFieldValue" => "CustomFieldValue",
+ "CustomFieldValueError" => "CustomFieldValueError",
+ "CustomTargetingError" => "CustomTargetingError",
+ "CustomCriteriaLeaf" => "CustomCriteriaLeaf",
+ "CustomCriteriaNode" => "CustomCriteriaNode",
+ "AudienceSegmentCriteria" => "AudienceSegmentCriteria",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "DeactivateProducts" => "DeactivateProducts",
+ "DeviceCapability" => "DeviceCapability",
+ "DeviceCapabilityTargeting" => "DeviceCapabilityTargeting",
+ "DeviceCategory" => "DeviceCategory",
+ "DeviceCategoryTargeting" => "DeviceCategoryTargeting",
+ "DeviceManufacturer" => "DeviceManufacturer",
+ "DeviceManufacturerTargeting" => "DeviceManufacturerTargeting",
+ "DropDownCustomFieldValue" => "DropDownCustomFieldValue",
+ "FeatureError" => "FeatureError",
+ "FrequencyCap" => "FrequencyCap",
+ "GeoTargeting" => "GeoTargeting",
+ "InternalApiError" => "InternalApiError",
+ "InventoryTargeting" => "InventoryTargeting",
+ "Location" => "DfpLocation",
+ "MobileCarrier" => "MobileCarrier",
+ "MobileCarrierTargeting" => "MobileCarrierTargeting",
+ "MobileDevice" => "MobileDevice",
+ "MobileDeviceSubmodel" => "MobileDeviceSubmodel",
+ "MobileDeviceSubmodelTargeting" => "MobileDeviceSubmodelTargeting",
+ "MobileDeviceTargeting" => "MobileDeviceTargeting",
+ "NotNullError" => "NotNullError",
+ "NumberValue" => "NumberValue",
+ "OperatingSystem" => "OperatingSystem",
+ "OperatingSystemTargeting" => "OperatingSystemTargeting",
+ "OperatingSystemVersion" => "OperatingSystemVersion",
+ "PermissionError" => "PermissionError",
+ "ProductAction" => "ProductAction",
+ "ProductActionError" => "ProductActionError",
+ "Product" => "Product",
+ "ProductError" => "ProductError",
+ "ProductPage" => "ProductPage",
+ "ProductTemplateTargeting" => "ProductTemplateTargeting",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RangeError" => "RangeError",
+ "RequiredCollectionError" => "RequiredCollectionError",
+ "RequiredError" => "RequiredError",
+ "RequiredNumberError" => "RequiredNumberError",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "Size" => "Size",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "StringLengthError" => "StringLengthError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "Technology" => "Technology",
+ "TextValue" => "TextValue",
+ "TypeError" => "TypeError",
+ "UniqueError" => "UniqueError",
+ "UpdateResult" => "UpdateResult",
+ "UserDomainTargeting" => "UserDomainTargeting",
+ "Value" => "Value",
+ "VideoPosition" => "VideoPosition",
+ "VideoPositionTargeting" => "VideoPositionTargeting",
+ "VideoPositionWithinPod" => "VideoPositionWithinPod",
+ "VideoPositionTarget" => "VideoPositionTarget",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "BaseRateError.Reason" => "BaseRateErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "CreativeSizeType" => "CreativeSizeType",
+ "CustomCriteria.ComparisonOperator" => "CustomCriteriaComparisonOperator",
+ "CustomCriteriaSet.LogicalOperator" => "CustomCriteriaSetLogicalOperator",
+ "CustomFieldValueError.Reason" => "CustomFieldValueErrorReason",
+ "CustomTargetingError.Reason" => "CustomTargetingErrorReason",
+ "AudienceSegmentCriteria.ComparisonOperator" => "AudienceSegmentCriteriaComparisonOperator",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "LineItemType" => "LineItemType",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "ProductActionError.Reason" => "ProductActionErrorReason",
+ "ProductError.Reason" => "ProductErrorReason",
+ "ProductStatus" => "ProductStatus",
+ "ProductType" => "ProductType",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RangeError.Reason" => "RangeErrorReason",
+ "RateType" => "RateType",
+ "RequiredCollectionError.Reason" => "RequiredCollectionErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "RequiredNumberError.Reason" => "RequiredNumberErrorReason",
+ "RoadblockingType" => "RoadblockingType",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "TimeUnit" => "TimeUnit",
+ "VideoBumperType" => "VideoBumperType",
+ "VideoPosition.Type" => "VideoPositionType",
+ "getProductsByStatement" => "GetProductsByStatement",
+ "getProductsByStatementResponse" => "GetProductsByStatementResponse",
+ "performProductAction" => "PerformProductAction",
+ "performProductActionResponse" => "PerformProductActionResponse",
+ "updateProducts" => "UpdateProducts",
+ "updateProductsResponse" => "UpdateProductsResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Gets a {@link ProductPage} of {@link Product} objects that satisfy the criteria specified by
+ * given {@link Statement#query}. The following fields are supported for filtering and/or sorting:
+ *
+ *
+ *
+ * PQL Property |
+ * Object Property |
+ * Filterable |
+ * Sortable |
+ *
+ *
+ * {@code rateCardId} |
+ * Rate card ID which the product is associated with |
+ * Yes |
+ * No |
+ *
+ *
+ * {@code status} |
+ * {@link Product#status} |
+ * Yes |
+ * Yes |
+ *
+ *
+ * {@code lineItemType} |
+ * {@link Product#lineItemType} |
+ * Yes |
+ * Yes |
+ *
+ * {@code productType} |
+ * {@link Product#productType} |
+ * Yes |
+ * Yes |
+ *
+ *
+ * {@code rateType} |
+ * {@link Product#rateType} |
+ * Yes |
+ * Yes |
+ *
+ *
+ * {@code productTemplateId} |
+ * {@link Product#productTemplateId} |
+ * Yes |
+ * No |
+ *
+ *
+ * {@code name} |
+ * {@link Product#name} |
+ * Yes |
+ * Yes |
+ *
+ *
+ * {@code description} |
+ * {@link Product#description} |
+ * Yes |
+ * No |
+ *
+ *
+ * {@code id} |
+ * {@link Product#id} |
+ * Yes |
+ * Yes |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link Product#lastModifiedDateTime} |
+ * Yes |
+ * Yes |
+ *
+ *
+ *
+ * @param statement a Publisher Query Language statement which specifies the filtering
+ * criteria over products
+ * @return the products that match the given statement
+ */
+ public function getProductsByStatement($statement) {
+ $args = new GetProductsByStatement($statement);
+ $result = $this->__soapCall("getProductsByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Performs action on {@link Product} objects that satisfy the given {@link Statement}.
+ *
+ * @param productAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter a set of products.
+ * @return the result of the action performed
+ */
+ public function performProductAction($productAction, $filterStatement) {
+ $args = new PerformProductAction($productAction, $filterStatement);
+ $result = $this->__soapCall("performProductAction", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link Product} objects.
+ * Note non-updatable fields will not be backfilled.
+ *
+ * @param products the products to update
+ * @return the updated products
+ */
+ public function updateProducts($products) {
+ $args = new UpdateProducts($products);
+ $result = $this->__soapCall("updateProducts", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/ProductTemplateService.php b/src/Google/Api/Ads/Dfp/v201505/ProductTemplateService.php
new file mode 100755
index 000000000..32d5aada0
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/ProductTemplateService.php
@@ -0,0 +1,7438 @@
+adUnitId = $adUnitId;
+ $this->includeDescendants = $includeDescendants;
+ }
+
+ }
+}
+
+if (!class_exists("ApiError", false)) {
+ /**
+ * The API error base class that provides details about an error that occurred
+ * while processing a service request.
+ *
+ * The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AppliedLabel", false)) {
+ /**
+ * Represents a {@link Label} that can be applied to an entity. To negate an
+ * inherited label, create an {@code AppliedLabel} with {@code labelId} as the
+ * inherited label's ID and {@code isNegated} set to true.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AppliedLabel {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AppliedLabel";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $labelId;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isNegated;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($labelId = null, $isNegated = null) {
+ $this->labelId = $labelId;
+ $this->isNegated = $isNegated;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("BandwidthGroupTargeting", false)) {
+ /**
+ * Represents bandwidth groups that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BandwidthGroupTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BandwidthGroupTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $bandwidthGroups;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $bandwidthGroups = null) {
+ $this->isTargeted = $isTargeted;
+ $this->bandwidthGroups = $bandwidthGroups;
+ }
+
+ }
+}
+
+if (!class_exists("BaseCustomFieldValue", false)) {
+ /**
+ * The value of a {@link CustomField} for a particular entity.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BaseCustomFieldValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customFieldId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customFieldId = null) {
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("BaseRateError", false)) {
+ /**
+ * An error having to do with {@link BaseRate}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BaseRateError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BaseRateError";
+
+ /**
+ * @access public
+ * @var tnsBaseRateErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("BrowserLanguageTargeting", false)) {
+ /**
+ * Represents browser languages that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BrowserLanguageTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BrowserLanguageTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $browserLanguages;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $browserLanguages = null) {
+ $this->isTargeted = $isTargeted;
+ $this->browserLanguages = $browserLanguages;
+ }
+
+ }
+}
+
+if (!class_exists("BrowserTargeting", false)) {
+ /**
+ * Represents browsers that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BrowserTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BrowserTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $browsers;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $browsers = null) {
+ $this->isTargeted = $isTargeted;
+ $this->browsers = $browsers;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ContentMetadataKeyHierarchyTargeting", false)) {
+ /**
+ * Represents one or more {@link CustomTargetingValue custom targeting values} from different
+ * {@link CustomTargetingKey custom targeting keys} ANDed together.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentMetadataKeyHierarchyTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentMetadataKeyHierarchyTargeting";
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $customTargetingValueIds;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customTargetingValueIds = null) {
+ $this->customTargetingValueIds = $customTargetingValueIds;
+ }
+
+ }
+}
+
+if (!class_exists("ContentTargeting", false)) {
+ /**
+ * Used to target {@link LineItem}s to specific videos on a publisher's site.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentTargeting";
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $targetedContentIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $excludedContentIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $targetedVideoCategoryIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $excludedVideoCategoryIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $targetedVideoContentBundleIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $excludedVideoContentBundleIds;
+
+ /**
+ * @access public
+ * @var ContentMetadataKeyHierarchyTargeting[]
+ */
+ public $targetedContentMetadata;
+
+ /**
+ * @access public
+ * @var ContentMetadataKeyHierarchyTargeting[]
+ */
+ public $excludedContentMetadata;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedContentIds = null, $excludedContentIds = null, $targetedVideoCategoryIds = null, $excludedVideoCategoryIds = null, $targetedVideoContentBundleIds = null, $excludedVideoContentBundleIds = null, $targetedContentMetadata = null, $excludedContentMetadata = null) {
+ $this->targetedContentIds = $targetedContentIds;
+ $this->excludedContentIds = $excludedContentIds;
+ $this->targetedVideoCategoryIds = $targetedVideoCategoryIds;
+ $this->excludedVideoCategoryIds = $excludedVideoCategoryIds;
+ $this->targetedVideoContentBundleIds = $targetedVideoContentBundleIds;
+ $this->excludedVideoContentBundleIds = $excludedVideoContentBundleIds;
+ $this->targetedContentMetadata = $targetedContentMetadata;
+ $this->excludedContentMetadata = $excludedContentMetadata;
+ }
+
+ }
+}
+
+if (!class_exists("CreativePlaceholder", false)) {
+ /**
+ * A {@code CreativePlaceholder} describes a slot that a creative is expected to
+ * fill. This is used primarily to help in forecasting, and also to validate
+ * that the correct creatives are associated with the line item. A
+ * {@code CreativePlaceholder} must contain a size, and it can optionally
+ * contain companions. Companions are only valid if the line item's environment
+ * type is {@link EnvironmentType#VIDEO_PLAYER}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativePlaceholder {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativePlaceholder";
+
+ /**
+ * @access public
+ * @var Size
+ */
+ public $size;
+
+ /**
+ * @access public
+ * @var CreativePlaceholder[]
+ */
+ public $companions;
+
+ /**
+ * @access public
+ * @var AppliedLabel[]
+ */
+ public $appliedLabels;
+
+ /**
+ * @access public
+ * @var AppliedLabel[]
+ */
+ public $effectiveAppliedLabels;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $expectedCreativeCount;
+
+ /**
+ * @access public
+ * @var tnsCreativeSizeType
+ */
+ public $creativeSizeType;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($size = null, $companions = null, $appliedLabels = null, $effectiveAppliedLabels = null, $id = null, $expectedCreativeCount = null, $creativeSizeType = null) {
+ $this->size = $size;
+ $this->companions = $companions;
+ $this->appliedLabels = $appliedLabels;
+ $this->effectiveAppliedLabels = $effectiveAppliedLabels;
+ $this->id = $id;
+ $this->expectedCreativeCount = $expectedCreativeCount;
+ $this->creativeSizeType = $creativeSizeType;
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValue", false)) {
+ /**
+ * The value of a {@link CustomField} that does not have a {@link CustomField#dataType}
+ * of {@link CustomFieldDataType#DROP_DOWN}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValue extends BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValue";
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null, $customFieldId = null) {
+ parent::__construct();
+ $this->value = $value;
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValueError", false)) {
+ /**
+ * Errors specific to editing custom field values
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValueError";
+
+ /**
+ * @access public
+ * @var tnsCustomFieldValueErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingError", false)) {
+ /**
+ * Lists all errors related to {@link CustomTargetingKey} and
+ * {@link CustomTargetingValue} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingError";
+
+ /**
+ * @access public
+ * @var tnsCustomTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaNode", false)) {
+ /**
+ * A {@link CustomCriteriaNode} is a node in the custom targeting tree. A custom
+ * criteria node can either be a {@link CustomCriteriaSet} (a non-leaf node) or
+ * a {@link CustomCriteria} (a leaf node). The custom criteria targeting tree is
+ * subject to the rules defined on {@link Targeting#customTargeting}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaNode {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteriaNode";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceCapabilityTargeting", false)) {
+ /**
+ * Represents device capabilities that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceCapabilityTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceCapabilityTargeting";
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $targetedDeviceCapabilities;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $excludedDeviceCapabilities;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedDeviceCapabilities = null, $excludedDeviceCapabilities = null) {
+ $this->targetedDeviceCapabilities = $targetedDeviceCapabilities;
+ $this->excludedDeviceCapabilities = $excludedDeviceCapabilities;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceCategoryTargeting", false)) {
+ /**
+ * Represents device categories that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceCategoryTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceCategoryTargeting";
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $targetedDeviceCategories;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $excludedDeviceCategories;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedDeviceCategories = null, $excludedDeviceCategories = null) {
+ $this->targetedDeviceCategories = $targetedDeviceCategories;
+ $this->excludedDeviceCategories = $excludedDeviceCategories;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceManufacturerTargeting", false)) {
+ /**
+ * Represents device manufacturer that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceManufacturerTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceManufacturerTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $deviceManufacturers;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $deviceManufacturers = null) {
+ $this->isTargeted = $isTargeted;
+ $this->deviceManufacturers = $deviceManufacturers;
+ }
+
+ }
+}
+
+if (!class_exists("DropDownCustomFieldValue", false)) {
+ /**
+ * A {@link CustomFieldValue} for a {@link CustomField} that has a {@link CustomField#dataType}
+ * of {@link CustomFieldDataType#DROP_DOWN}
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DropDownCustomFieldValue extends BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DropDownCustomFieldValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customFieldOptionId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customFieldOptionId = null, $customFieldId = null) {
+ parent::__construct();
+ $this->customFieldOptionId = $customFieldOptionId;
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("EntityChildrenLimitReachedError", false)) {
+ /**
+ * Lists errors relating to having too many children on an entity.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityChildrenLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityChildrenLimitReachedError";
+
+ /**
+ * @access public
+ * @var tnsEntityChildrenLimitReachedErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("EntityLimitReachedError", false)) {
+ /**
+ * An error that occurs when creating an entity if the limit on the number of allowed entities for
+ * a network has already been reached.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityLimitReachedError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FrequencyCap", false)) {
+ /**
+ * Represents a limit on the number of times a single viewer can be exposed to
+ * the same {@link LineItem} in a specified time period.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FrequencyCap {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FrequencyCap";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $maxImpressions;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numTimeUnits;
+
+ /**
+ * @access public
+ * @var tnsTimeUnit
+ */
+ public $timeUnit;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($maxImpressions = null, $numTimeUnits = null, $timeUnit = null) {
+ $this->maxImpressions = $maxImpressions;
+ $this->numTimeUnits = $numTimeUnits;
+ $this->timeUnit = $timeUnit;
+ }
+
+ }
+}
+
+if (!class_exists("FrequencyCapError", false)) {
+ /**
+ * Lists all errors associated with frequency caps.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FrequencyCapError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FrequencyCapError";
+
+ /**
+ * @access public
+ * @var tnsFrequencyCapErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("GenericTargetingError", false)) {
+ /**
+ * Targeting validation errors that can be used by different targeting types.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GenericTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GenericTargetingError";
+
+ /**
+ * @access public
+ * @var tnsGenericTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("GeoTargeting", false)) {
+ /**
+ * Provides line items the ability to target geographical locations. By default,
+ * line items target all countries and their subdivisions. With geographical
+ * targeting, you can target line items to specific countries, regions, metro
+ * areas, and cities. You can also exclude the same.
+ *
+ * The following rules apply for geographical targeting:
+ *
+ *
+ * - You cannot target and exclude the same location
+ * - You cannot target a child whose parent has been excluded. So if the state
+ * of Illinois has been excluded, then you cannot target Chicago
+ * - You must not target a location if you are also targeting its parent.
+ * So if you are targeting New York City, you must not have the state of New
+ * York as one of the targeted locations
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GeoTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GeoTargeting";
+
+ /**
+ * @access public
+ * @var Location[]
+ */
+ public $targetedLocations;
+
+ /**
+ * @access public
+ * @var Location[]
+ */
+ public $excludedLocations;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedLocations = null, $excludedLocations = null) {
+ $this->targetedLocations = $targetedLocations;
+ $this->excludedLocations = $excludedLocations;
+ }
+
+ }
+}
+
+if (!class_exists("GeoTargetingError", false)) {
+ /**
+ * Lists all errors associated with geographical targeting for a
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GeoTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GeoTargetingError";
+
+ /**
+ * @access public
+ * @var tnsGeoTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InventoryTargeting", false)) {
+ /**
+ * A collection of targeted and excluded ad units and placements.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryTargeting";
+
+ /**
+ * @access public
+ * @var AdUnitTargeting[]
+ */
+ public $targetedAdUnits;
+
+ /**
+ * @access public
+ * @var AdUnitTargeting[]
+ */
+ public $excludedAdUnits;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $targetedPlacementIds;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedAdUnits = null, $excludedAdUnits = null, $targetedPlacementIds = null) {
+ $this->targetedAdUnits = $targetedAdUnits;
+ $this->excludedAdUnits = $excludedAdUnits;
+ $this->targetedPlacementIds = $targetedPlacementIds;
+ }
+
+ }
+}
+
+if (!class_exists("InventoryTargetingError", false)) {
+ /**
+ * Lists all inventory errors caused by associating a line item with a targeting
+ * expression.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryTargetingError";
+
+ /**
+ * @access public
+ * @var tnsInventoryTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("DfpLocation", false)) {
+ /**
+ * A {@link Location} represents a geographical entity that can be targeted. If
+ * a location type is not available because of the API version you are using,
+ * the location will be represented as just the base class, otherwise it will be
+ * sub-classed correctly.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpLocation {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Location";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $type;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $canonicalParentId;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $displayName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $type = null, $canonicalParentId = null, $displayName = null) {
+ $this->id = $id;
+ $this->type = $type;
+ $this->canonicalParentId = $canonicalParentId;
+ $this->displayName = $displayName;
+ }
+
+ }
+}
+
+if (!class_exists("MobileCarrierTargeting", false)) {
+ /**
+ * Represents mobile carriers that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileCarrierTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileCarrierTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $mobileCarriers;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $mobileCarriers = null) {
+ $this->isTargeted = $isTargeted;
+ $this->mobileCarriers = $mobileCarriers;
+ }
+
+ }
+}
+
+if (!class_exists("MobileDeviceSubmodelTargeting", false)) {
+ /**
+ * Represents mobile devices that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileDeviceSubmodelTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileDeviceSubmodelTargeting";
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $targetedMobileDeviceSubmodels;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $excludedMobileDeviceSubmodels;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedMobileDeviceSubmodels = null, $excludedMobileDeviceSubmodels = null) {
+ $this->targetedMobileDeviceSubmodels = $targetedMobileDeviceSubmodels;
+ $this->excludedMobileDeviceSubmodels = $excludedMobileDeviceSubmodels;
+ }
+
+ }
+}
+
+if (!class_exists("MobileDeviceTargeting", false)) {
+ /**
+ * Represents mobile devices that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileDeviceTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileDeviceTargeting";
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $targetedMobileDevices;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $excludedMobileDevices;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedMobileDevices = null, $excludedMobileDevices = null) {
+ $this->targetedMobileDevices = $targetedMobileDevices;
+ $this->excludedMobileDevices = $excludedMobileDevices;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NullError", false)) {
+ /**
+ * Errors associated with violation of a NOT NULL check.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("OperatingSystemTargeting", false)) {
+ /**
+ * Represents operating systems that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OperatingSystemTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OperatingSystemTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $operatingSystems;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $operatingSystems = null) {
+ $this->isTargeted = $isTargeted;
+ $this->operatingSystems = $operatingSystems;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PlacementTargeting", false)) {
+ /**
+ * Specifies what {@link Placement placements} are targeted.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PlacementTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PlacementTargeting";
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $targetedPlacementIds;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedPlacementIds = null) {
+ $this->targetedPlacementIds = $targetedPlacementIds;
+ }
+
+ }
+}
+
+if (!class_exists("ProductTemplateAction", false)) {
+ /**
+ * Represents the actions that can be performed on product templates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductTemplateAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductTemplateAction";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProductTemplateActionError", false)) {
+ /**
+ * An error lists all error reasons associated with performing action on
+ * {@link ProductTemplate} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductTemplateActionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductTemplateActionError";
+
+ /**
+ * @access public
+ * @var tnsProductTemplateActionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProductTemplate", false)) {
+ /**
+ * {@code ProductTemplate} is used to generate products. All generated products will
+ * inherit all attributes from their {@code ProductTemplate}, except for segmentation,
+ * which will be included in the {@link Product#targeting}. The generated products in turn will be
+ * used to create {@link ProposalLineItem proposal line items} so that almost all attributes
+ * in the product template are properties of the proposal line item.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductTemplate {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductTemplate";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $creationDateTime;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $lastModifiedDateTime;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $description;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $nameMacro;
+
+ /**
+ * @access public
+ * @var tnsProductTemplateStatus
+ */
+ public $status;
+
+ /**
+ * @access public
+ * @var tnsProductType
+ */
+ public $productType;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $creatorId;
+
+ /**
+ * @access public
+ * @var tnsRateType
+ */
+ public $rateType;
+
+ /**
+ * @access public
+ * @var tnsRoadblockingType
+ */
+ public $roadblockingType;
+
+ /**
+ * @access public
+ * @var CreativePlaceholder[]
+ */
+ public $creativePlaceholders;
+
+ /**
+ * @access public
+ * @var tnsLineItemType
+ */
+ public $lineItemType;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $priority;
+
+ /**
+ * @access public
+ * @var FrequencyCap[]
+ */
+ public $frequencyCaps;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowFrequencyCapsCustomization;
+
+ /**
+ * @access public
+ * @var ProductSegmentation
+ */
+ public $productSegmentation;
+
+ /**
+ * @access public
+ * @var ProductTemplateTargeting
+ */
+ public $targeting;
+
+ /**
+ * @access public
+ * @var BaseCustomFieldValue[]
+ */
+ public $customFieldValues;
+
+ /**
+ * @access public
+ * @var tnsEnvironmentType
+ */
+ public $environmentType;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null, $creationDateTime = null, $lastModifiedDateTime = null, $description = null, $nameMacro = null, $status = null, $productType = null, $creatorId = null, $rateType = null, $roadblockingType = null, $creativePlaceholders = null, $lineItemType = null, $priority = null, $frequencyCaps = null, $allowFrequencyCapsCustomization = null, $productSegmentation = null, $targeting = null, $customFieldValues = null, $environmentType = null) {
+ $this->id = $id;
+ $this->name = $name;
+ $this->creationDateTime = $creationDateTime;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ $this->description = $description;
+ $this->nameMacro = $nameMacro;
+ $this->status = $status;
+ $this->productType = $productType;
+ $this->creatorId = $creatorId;
+ $this->rateType = $rateType;
+ $this->roadblockingType = $roadblockingType;
+ $this->creativePlaceholders = $creativePlaceholders;
+ $this->lineItemType = $lineItemType;
+ $this->priority = $priority;
+ $this->frequencyCaps = $frequencyCaps;
+ $this->allowFrequencyCapsCustomization = $allowFrequencyCapsCustomization;
+ $this->productSegmentation = $productSegmentation;
+ $this->targeting = $targeting;
+ $this->customFieldValues = $customFieldValues;
+ $this->environmentType = $environmentType;
+ }
+
+ }
+}
+
+if (!class_exists("ProductTemplateError", false)) {
+ /**
+ * A catch-all error that lists all generic errors associated with ProductTemplate.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductTemplateError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductTemplateError";
+
+ /**
+ * @access public
+ * @var tnsProductTemplateErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProductTemplatePage", false)) {
+ /**
+ * Captures a page of {@link ProductTemplate} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductTemplatePage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductTemplatePage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var ProductTemplate[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("ProductSegmentation", false)) {
+ /**
+ * Segmentations used to create products. Within a product template, for each segmentation,
+ * a product will be created for the combination of all other segments within other segmentations.
+ *
+ * For example, a product with 3 segmentations with only 1 segment for each will produce
+ * {@code 1 x 1 x 1 = 1} product.
+ * A product with 3 segmentations with 2 segments for each will produce {@code 2 x 2 x 2 = 8}
+ * products.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductSegmentation {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductSegmentation";
+
+ /**
+ * @access public
+ * @var GeoTargeting
+ */
+ public $geoSegment;
+
+ /**
+ * @access public
+ * @var AdUnitTargeting[]
+ */
+ public $adUnitSegments;
+
+ /**
+ * @access public
+ * @var PlacementTargeting
+ */
+ public $placementSegment;
+
+ /**
+ * @access public
+ * @var CustomCriteria[]
+ */
+ public $customTargetingSegment;
+
+ /**
+ * @access public
+ * @var UserDomainTargeting
+ */
+ public $userDomainSegment;
+
+ /**
+ * @access public
+ * @var BandwidthGroupTargeting
+ */
+ public $bandwidthSegment;
+
+ /**
+ * @access public
+ * @var BrowserTargeting
+ */
+ public $browserSegment;
+
+ /**
+ * @access public
+ * @var BrowserLanguageTargeting
+ */
+ public $browserLanguageSegment;
+
+ /**
+ * @access public
+ * @var OperatingSystemTargeting
+ */
+ public $operatingSystemSegment;
+
+ /**
+ * @access public
+ * @var MobileCarrierTargeting
+ */
+ public $mobileCarrierSegment;
+
+ /**
+ * @access public
+ * @var DeviceCapabilityTargeting
+ */
+ public $deviceCapabilitySegment;
+
+ /**
+ * @access public
+ * @var DeviceCategoryTargeting
+ */
+ public $deviceCategorySegment;
+
+ /**
+ * @access public
+ * @var DeviceManufacturerTargeting
+ */
+ public $deviceManufacturerSegment;
+
+ /**
+ * @access public
+ * @var MobileDeviceTargeting
+ */
+ public $mobileDeviceSegment;
+
+ /**
+ * @access public
+ * @var MobileDeviceSubmodelTargeting
+ */
+ public $mobileDeviceSubmodelSegment;
+
+ /**
+ * @access public
+ * @var VideoPositionTargeting
+ */
+ public $videoPositionSegment;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($geoSegment = null, $adUnitSegments = null, $placementSegment = null, $customTargetingSegment = null, $userDomainSegment = null, $bandwidthSegment = null, $browserSegment = null, $browserLanguageSegment = null, $operatingSystemSegment = null, $mobileCarrierSegment = null, $deviceCapabilitySegment = null, $deviceCategorySegment = null, $deviceManufacturerSegment = null, $mobileDeviceSegment = null, $mobileDeviceSubmodelSegment = null, $videoPositionSegment = null) {
+ $this->geoSegment = $geoSegment;
+ $this->adUnitSegments = $adUnitSegments;
+ $this->placementSegment = $placementSegment;
+ $this->customTargetingSegment = $customTargetingSegment;
+ $this->userDomainSegment = $userDomainSegment;
+ $this->bandwidthSegment = $bandwidthSegment;
+ $this->browserSegment = $browserSegment;
+ $this->browserLanguageSegment = $browserLanguageSegment;
+ $this->operatingSystemSegment = $operatingSystemSegment;
+ $this->mobileCarrierSegment = $mobileCarrierSegment;
+ $this->deviceCapabilitySegment = $deviceCapabilitySegment;
+ $this->deviceCategorySegment = $deviceCategorySegment;
+ $this->deviceManufacturerSegment = $deviceManufacturerSegment;
+ $this->mobileDeviceSegment = $mobileDeviceSegment;
+ $this->mobileDeviceSubmodelSegment = $mobileDeviceSubmodelSegment;
+ $this->videoPositionSegment = $videoPositionSegment;
+ }
+
+ }
+}
+
+if (!class_exists("ProductTemplateTargeting", false)) {
+ /**
+ * Contains targeting criteria for {@link ProductTemplate} objects.
+ * {@link ProposalLineItem Proposal line items} created from {@link Product products}
+ * of this template will have this criteria added to {@link ProposalLineItem#targeting}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductTemplateTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductTemplateTargeting";
+
+ /**
+ * @access public
+ * @var GeoTargeting
+ */
+ public $geoTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowGeoTargetingCustomization;
+
+ /**
+ * @access public
+ * @var InventoryTargeting
+ */
+ public $inventoryTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowAdUnitTargetingCustomization;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowPlacementTargetingCustomization;
+
+ /**
+ * @access public
+ * @var CustomCriteriaSet
+ */
+ public $customTargeting;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $customizableCustomTargetingKeyIds;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowAudienceSegmentTargetingCustomization;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isAllCustomTargetingKeysCustomizable;
+
+ /**
+ * @access public
+ * @var UserDomainTargeting
+ */
+ public $userDomainTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowUserDomainTargetingCustomization;
+
+ /**
+ * @access public
+ * @var BandwidthGroupTargeting
+ */
+ public $bandwidthGroupTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowBandwidthGroupTargetingCustomization;
+
+ /**
+ * @access public
+ * @var BrowserTargeting
+ */
+ public $browserTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowBrowserTargetingCustomization;
+
+ /**
+ * @access public
+ * @var BrowserLanguageTargeting
+ */
+ public $browserLanguageTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowBrowserLanguageTargetingCustomization;
+
+ /**
+ * @access public
+ * @var OperatingSystemTargeting
+ */
+ public $operatingSystemTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowOperatingSystemTargetingCustomization;
+
+ /**
+ * @access public
+ * @var DeviceCapabilityTargeting
+ */
+ public $deviceCapabilityTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowDeviceCapabilityTargetingCustomization;
+
+ /**
+ * @access public
+ * @var DeviceCategoryTargeting
+ */
+ public $deviceCategoryTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowDeviceCategoryTargetingCustomization;
+
+ /**
+ * @access public
+ * @var MobileCarrierTargeting
+ */
+ public $mobileCarrierTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowMobileCarrierTargetingCustomization;
+
+ /**
+ * @access public
+ * @var DeviceManufacturerTargeting
+ */
+ public $deviceManufacturerTargeting;
+
+ /**
+ * @access public
+ * @var MobileDeviceTargeting
+ */
+ public $mobileDeviceTargeting;
+
+ /**
+ * @access public
+ * @var MobileDeviceSubmodelTargeting
+ */
+ public $mobileDeviceSubmodelTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowMobileDeviceAndManufacturerTargetingCustomization;
+
+ /**
+ * @access public
+ * @var ContentTargeting
+ */
+ public $contentTargeting;
+
+ /**
+ * @access public
+ * @var VideoPositionTargeting
+ */
+ public $videoPositionTargeting;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($geoTargeting = null, $allowGeoTargetingCustomization = null, $inventoryTargeting = null, $allowAdUnitTargetingCustomization = null, $allowPlacementTargetingCustomization = null, $customTargeting = null, $customizableCustomTargetingKeyIds = null, $allowAudienceSegmentTargetingCustomization = null, $isAllCustomTargetingKeysCustomizable = null, $userDomainTargeting = null, $allowUserDomainTargetingCustomization = null, $bandwidthGroupTargeting = null, $allowBandwidthGroupTargetingCustomization = null, $browserTargeting = null, $allowBrowserTargetingCustomization = null, $browserLanguageTargeting = null, $allowBrowserLanguageTargetingCustomization = null, $operatingSystemTargeting = null, $allowOperatingSystemTargetingCustomization = null, $deviceCapabilityTargeting = null, $allowDeviceCapabilityTargetingCustomization = null, $deviceCategoryTargeting = null, $allowDeviceCategoryTargetingCustomization = null, $mobileCarrierTargeting = null, $allowMobileCarrierTargetingCustomization = null, $deviceManufacturerTargeting = null, $mobileDeviceTargeting = null, $mobileDeviceSubmodelTargeting = null, $allowMobileDeviceAndManufacturerTargetingCustomization = null, $contentTargeting = null, $videoPositionTargeting = null) {
+ $this->geoTargeting = $geoTargeting;
+ $this->allowGeoTargetingCustomization = $allowGeoTargetingCustomization;
+ $this->inventoryTargeting = $inventoryTargeting;
+ $this->allowAdUnitTargetingCustomization = $allowAdUnitTargetingCustomization;
+ $this->allowPlacementTargetingCustomization = $allowPlacementTargetingCustomization;
+ $this->customTargeting = $customTargeting;
+ $this->customizableCustomTargetingKeyIds = $customizableCustomTargetingKeyIds;
+ $this->allowAudienceSegmentTargetingCustomization = $allowAudienceSegmentTargetingCustomization;
+ $this->isAllCustomTargetingKeysCustomizable = $isAllCustomTargetingKeysCustomizable;
+ $this->userDomainTargeting = $userDomainTargeting;
+ $this->allowUserDomainTargetingCustomization = $allowUserDomainTargetingCustomization;
+ $this->bandwidthGroupTargeting = $bandwidthGroupTargeting;
+ $this->allowBandwidthGroupTargetingCustomization = $allowBandwidthGroupTargetingCustomization;
+ $this->browserTargeting = $browserTargeting;
+ $this->allowBrowserTargetingCustomization = $allowBrowserTargetingCustomization;
+ $this->browserLanguageTargeting = $browserLanguageTargeting;
+ $this->allowBrowserLanguageTargetingCustomization = $allowBrowserLanguageTargetingCustomization;
+ $this->operatingSystemTargeting = $operatingSystemTargeting;
+ $this->allowOperatingSystemTargetingCustomization = $allowOperatingSystemTargetingCustomization;
+ $this->deviceCapabilityTargeting = $deviceCapabilityTargeting;
+ $this->allowDeviceCapabilityTargetingCustomization = $allowDeviceCapabilityTargetingCustomization;
+ $this->deviceCategoryTargeting = $deviceCategoryTargeting;
+ $this->allowDeviceCategoryTargetingCustomization = $allowDeviceCategoryTargetingCustomization;
+ $this->mobileCarrierTargeting = $mobileCarrierTargeting;
+ $this->allowMobileCarrierTargetingCustomization = $allowMobileCarrierTargetingCustomization;
+ $this->deviceManufacturerTargeting = $deviceManufacturerTargeting;
+ $this->mobileDeviceTargeting = $mobileDeviceTargeting;
+ $this->mobileDeviceSubmodelTargeting = $mobileDeviceSubmodelTargeting;
+ $this->allowMobileDeviceAndManufacturerTargetingCustomization = $allowMobileDeviceAndManufacturerTargetingCustomization;
+ $this->contentTargeting = $contentTargeting;
+ $this->videoPositionTargeting = $videoPositionTargeting;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RangeError", false)) {
+ /**
+ * A list of all errors associated with the Range constraint.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError";
+
+ /**
+ * @access public
+ * @var tnsRangeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionError", false)) {
+ /**
+ * A list of all errors to be used for validating sizes of collections.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError";
+
+ /**
+ * @access public
+ * @var tnsRequiredCollectionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberError", false)) {
+ /**
+ * A list of all errors to be used in conjunction with required number
+ * validators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError";
+
+ /**
+ * @access public
+ * @var tnsRequiredNumberErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Size", false)) {
+ /**
+ * Represents the dimensions of an {@link AdUnit}, {@link LineItem} or {@link Creative}.
+ *
+ * For interstitial size (out-of-page) and native size, {@code Size} must be 1x1.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Size {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Size";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $width;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $height;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isAspectRatio;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($width = null, $height = null, $isAspectRatio = null) {
+ $this->width = $width;
+ $this->height = $height;
+ $this->isAspectRatio = $isAspectRatio;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthError", false)) {
+ /**
+ * Errors for Strings which do not meet given length constraints.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("Technology", false)) {
+ /**
+ * Represents a technology entity that can be targeted.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Technology";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("TypeError", false)) {
+ /**
+ * An error for a field which is an invalid type.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TypeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TypeError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UnarchiveProductTemplates", false)) {
+ /**
+ * The action used for unarchiving {@link ProductTemplate} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UnarchiveProductTemplates extends ProductTemplateAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UnarchiveProductTemplates";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateResult", false)) {
+ /**
+ * Represents the result of performing an action on objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UpdateResult";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numChanges;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($numChanges = null) {
+ $this->numChanges = $numChanges;
+ }
+
+ }
+}
+
+if (!class_exists("UserDomainTargeting", false)) {
+ /**
+ * Provides line items the ability to target or exclude users visiting their
+ * websites from a list of domains or subdomains.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserDomainTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserDomainTargeting";
+
+ /**
+ * @access public
+ * @var string[]
+ */
+ public $domains;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $targeted;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($domains = null, $targeted = null) {
+ $this->domains = $domains;
+ $this->targeted = $targeted;
+ }
+
+ }
+}
+
+if (!class_exists("UserDomainTargetingError", false)) {
+ /**
+ * Lists all errors related to user domain targeting for a line item.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserDomainTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserDomainTargetingError";
+
+ /**
+ * @access public
+ * @var tnsUserDomainTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("VideoPosition", false)) {
+ /**
+ * Represents a targetable position within a video. A video ad can be targeted
+ * to a position (pre-roll, all mid-rolls, or post-roll), or to a specific mid-roll index.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPosition {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPosition";
+
+ /**
+ * @access public
+ * @var tnsVideoPositionType
+ */
+ public $positionType;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $midrollIndex;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($positionType = null, $midrollIndex = null) {
+ $this->positionType = $positionType;
+ $this->midrollIndex = $midrollIndex;
+ }
+
+ }
+}
+
+if (!class_exists("VideoPositionTargeting", false)) {
+ /**
+ * Represents positions within and around a video where ads can be targeted to.
+ *
+ * Example positions could be {@code pre-roll} (before the video plays),
+ * {@code post-roll} (after a video has completed playback) and
+ * {@code mid-roll} (during video playback).
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPositionTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPositionTargeting";
+
+ /**
+ * @access public
+ * @var VideoPositionTarget[]
+ */
+ public $targetedPositions;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedPositions = null) {
+ $this->targetedPositions = $targetedPositions;
+ }
+
+ }
+}
+
+if (!class_exists("VideoPositionWithinPod", false)) {
+ /**
+ * Represents a targetable position within a pod within a video stream. A video ad can be targeted
+ * to any position in the pod (first, second, third ... last). If there is only 1 ad in a pod,
+ * either first or last will target that position.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPositionWithinPod {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPositionWithinPod";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $index;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($index = null) {
+ $this->index = $index;
+ }
+
+ }
+}
+
+if (!class_exists("VideoPositionTarget", false)) {
+ /**
+ * Represents the options for targetable positions within a video.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPositionTarget {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPositionTarget";
+
+ /**
+ * @access public
+ * @var VideoPosition
+ */
+ public $videoPosition;
+
+ /**
+ * @access public
+ * @var tnsVideoBumperType
+ */
+ public $videoBumperType;
+
+ /**
+ * @access public
+ * @var VideoPositionWithinPod
+ */
+ public $videoPositionWithinPod;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($videoPosition = null, $videoBumperType = null, $videoPositionWithinPod = null) {
+ $this->videoPosition = $videoPosition;
+ $this->videoBumperType = $videoBumperType;
+ $this->videoPositionWithinPod = $videoPositionWithinPod;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("BaseRateErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BaseRateErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BaseRateError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeSizeType", false)) {
+ /**
+ * Descriptions of the types of sizes a creative can be. Not all creatives can
+ * be described by a height-width pair, this provides additional context.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeSizeType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeSizeType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaComparisonOperator", false)) {
+ /**
+ * Specifies the available comparison operators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaComparisonOperator {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteria.ComparisonOperator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaSetLogicalOperator", false)) {
+ /**
+ * Specifies the available logical operators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaSetLogicalOperator {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteriaSet.LogicalOperator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValueErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValueErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValueError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AudienceSegmentCriteriaComparisonOperator", false)) {
+ /**
+ * Specifies the available comparison operators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceSegmentCriteriaComparisonOperator {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceSegmentCriteria.ComparisonOperator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("EntityChildrenLimitReachedErrorReason", false)) {
+ /**
+ * The reasons for the entity children limit reached error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityChildrenLimitReachedErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityChildrenLimitReachedError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("EnvironmentType", false)) {
+ /**
+ * Enum for the valid environments in which ads can be shown.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EnvironmentType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EnvironmentType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FrequencyCapErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FrequencyCapErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FrequencyCapError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GenericTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GenericTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GenericTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GeoTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GeoTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GeoTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InventoryTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemType", false)) {
+ /**
+ * {@code LineItemType} indicates the priority of a {@link LineItem}, determined
+ * by the way in which impressions are reserved to be served for it.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NullErrorReason", false)) {
+ /**
+ * The reasons for the validation error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProductTemplateActionErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductTemplateActionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductTemplateActionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProductTemplateErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductTemplateErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductTemplateError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProductTemplateStatus", false)) {
+ /**
+ * Describes the different statuses for ProductTemplate.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductTemplateStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductTemplateStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProductType", false)) {
+ /**
+ * Describes the type of {@link Product}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RangeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RateType", false)) {
+ /**
+ * Describes the type of event the advertiser is paying for. The values here correspond to the
+ * values for the {@link LineItem#costType} field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RateType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RateType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionErrorReason", false)) {
+ /**
+ * A required collection is missing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberErrorReason", false)) {
+ /**
+ * Describes reasons for a number to be invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RoadblockingType", false)) {
+ /**
+ * Describes the roadblocking types.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RoadblockingType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RoadblockingType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TimeUnit", false)) {
+ /**
+ * Represent the possible time units for frequency capping.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TimeUnit {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TimeUnit";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("UserDomainTargetingErrorReason", false)) {
+ /**
+ * {@link ApiErrorReason} enum for user domain targeting error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserDomainTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserDomainTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("VideoBumperType", false)) {
+ /**
+ * Represents the options for targetable bumper positions, surrounding an ad
+ * pod, within a video stream. This includes before and after the supported ad
+ * pod positions, {@link VideoPositionType#PREROLL},
+ * {@link VideoPositionType#MIDROLL}, and {@link VideoPositionType#POSTROLL}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoBumperType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoBumperType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("VideoPositionType", false)) {
+ /**
+ * Represents a targetable position within a video.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPositionType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPosition.Type";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreateProductTemplates", false)) {
+ /**
+ * Creates new {@link ProductTemplate} objects.
+ *
+ * @param productTemplates the productTemplates to create
+ * @return the persisted product templates with their Ids filled in
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateProductTemplates {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProductTemplate[]
+ */
+ public $productTemplates;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($productTemplates = null) {
+ $this->productTemplates = $productTemplates;
+ }
+
+ }
+}
+
+if (!class_exists("CreateProductTemplatesResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateProductTemplatesResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProductTemplate[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetProductTemplatesByStatement", false)) {
+ /**
+ * Gets a {@link ProductTemplatePage} of {@link ProductTemplate} objects
+ * that satisfy the filtering criteria specified by given {@link Statement#query}.
+ * The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link ProductTemplate#id} |
+ *
+ *
+ * {@code name} |
+ * {@link ProductTemplate#name} |
+ *
+ *
+ * {@code nameMacro} |
+ * {@link ProductTemplate#nameMacro} |
+ *
+ *
+ * {@code description} |
+ * {@link ProductTemplate#description} |
+ *
+ *
+ * {@code status} |
+ * {@link ProductTemplate#status} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link ProductTemplate#lastModifiedDateTime} |
+ *
+ *
+ * {@code lineItemType} |
+ * {@link LineItemType} |
+ *
+ *
+ * {@code productType} |
+ * {@link ProductType} |
+ *
+ *
+ * {@code rateType} |
+ * {@link RateType} |
+ *
+ *
+ *
+ * @param statement a Publisher Query Language statement which specifies the
+ * filtering criteria over productTemplates
+ * @return the productTemplates that match the given statement
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetProductTemplatesByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $statement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($statement = null) {
+ $this->statement = $statement;
+ }
+
+ }
+}
+
+if (!class_exists("GetProductTemplatesByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetProductTemplatesByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProductTemplatePage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("PerformProductTemplateAction", false)) {
+ /**
+ * Performs action on {@link ProductTemplate} objects that satisfy the given
+ * {@link Statement#query}.
+ *
+ * @param action the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of product templates
+ * @return the result of the action performed
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformProductTemplateAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProductTemplateAction
+ */
+ public $action;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($action = null, $filterStatement = null) {
+ $this->action = $action;
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("PerformProductTemplateActionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformProductTemplateActionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UpdateResult
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateProductTemplates", false)) {
+ /**
+ * Updates the specified {@link ProductTemplate} objects.
+ *
+ * @param productTemplates the product templates to update
+ * @return the updated product templates
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateProductTemplates {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProductTemplate[]
+ */
+ public $productTemplates;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($productTemplates = null) {
+ $this->productTemplates = $productTemplates;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateProductTemplatesResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateProductTemplatesResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProductTemplate[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ActivateProductTemplates", false)) {
+ /**
+ * The action used for activating product templates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ActivateProductTemplates extends ProductTemplateAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ActivateProductTemplates";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("ArchiveProductTemplates", false)) {
+ /**
+ * The action used for archiving product template.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ArchiveProductTemplates extends ProductTemplateAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ArchiveProductTemplates";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("BandwidthGroup", false)) {
+ /**
+ * Represents a group of bandwidths that are logically organized by some well
+ * known generic names such as 'Cable' or 'DSL'.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BandwidthGroup extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BandwidthGroup";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("Browser", false)) {
+ /**
+ * Represents an internet browser.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Browser extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Browser";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $majorVersion;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $minorVersion;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($majorVersion = null, $minorVersion = null, $id = null, $name = null) {
+ parent::__construct();
+ $this->majorVersion = $majorVersion;
+ $this->minorVersion = $minorVersion;
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("BrowserLanguage", false)) {
+ /**
+ * Represents a Browser's language.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BrowserLanguage extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BrowserLanguage";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaSet", false)) {
+ /**
+ * A {@link CustomCriteriaSet} comprises of a set of {@link CustomCriteriaNode}
+ * objects combined by the
+ * {@link CustomCriteriaSet.LogicalOperator#logicalOperator}. The custom
+ * criteria targeting tree is subject to the rules defined on
+ * {@link Targeting#customTargeting}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaSet extends CustomCriteriaNode {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteriaSet";
+
+ /**
+ * @access public
+ * @var tnsCustomCriteriaSetLogicalOperator
+ */
+ public $logicalOperator;
+
+ /**
+ * @access public
+ * @var CustomCriteriaNode[]
+ */
+ public $children;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($logicalOperator = null, $children = null) {
+ parent::__construct();
+ $this->logicalOperator = $logicalOperator;
+ $this->children = $children;
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaLeaf", false)) {
+ /**
+ * A {@link CustomCriteriaLeaf} object represents a generic leaf of {@link CustomCriteria} tree
+ * structure.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaLeaf extends CustomCriteriaNode {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteriaLeaf";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("AudienceSegmentCriteria", false)) {
+ /**
+ * An {@link AudienceSegmentCriteria} object is used to target {@link AudienceSegment} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceSegmentCriteria extends CustomCriteriaLeaf {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceSegmentCriteria";
+
+ /**
+ * @access public
+ * @var tnsAudienceSegmentCriteriaComparisonOperator
+ */
+ public $operator;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $audienceSegmentIds;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($operator = null, $audienceSegmentIds = null) {
+ parent::__construct();
+ $this->operator = $operator;
+ $this->audienceSegmentIds = $audienceSegmentIds;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DeactivateProductTemplates", false)) {
+ /**
+ * The action used for deactivating product templates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeactivateProductTemplates extends ProductTemplateAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeactivateProductTemplates";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("DeviceCapability", false)) {
+ /**
+ * Represents a capability of a physical device.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceCapability extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceCapability";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceCategory", false)) {
+ /**
+ * Represents the category of a device.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceCategory extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceCategory";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceManufacturer", false)) {
+ /**
+ * Represents a mobile device's manufacturer.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceManufacturer extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceManufacturer";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("MobileCarrier", false)) {
+ /**
+ * Represents a mobile carrier.
+ * Carrier targeting is only available to DFP mobile publishers.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileCarrier extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileCarrier";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("MobileDevice", false)) {
+ /**
+ * Represents a Mobile Device.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileDevice extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileDevice";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $manufacturerCriterionId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($manufacturerCriterionId = null, $id = null, $name = null) {
+ parent::__construct();
+ $this->manufacturerCriterionId = $manufacturerCriterionId;
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("MobileDeviceSubmodel", false)) {
+ /**
+ * Represents a mobile device submodel.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileDeviceSubmodel extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileDeviceSubmodel";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $mobileDeviceCriterionId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $deviceManufacturerCriterionId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($mobileDeviceCriterionId = null, $deviceManufacturerCriterionId = null, $id = null, $name = null) {
+ parent::__construct();
+ $this->mobileDeviceCriterionId = $mobileDeviceCriterionId;
+ $this->deviceManufacturerCriterionId = $deviceManufacturerCriterionId;
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("OperatingSystem", false)) {
+ /**
+ * Represents an Operating System, such as Linux, Mac OS or Windows.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OperatingSystem extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OperatingSystem";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("OperatingSystemVersion", false)) {
+ /**
+ * Represents a specific version of an operating system.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OperatingSystemVersion extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OperatingSystemVersion";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $majorVersion;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minorVersion;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $microVersion;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($majorVersion = null, $minorVersion = null, $microVersion = null, $id = null, $name = null) {
+ parent::__construct();
+ $this->majorVersion = $majorVersion;
+ $this->minorVersion = $minorVersion;
+ $this->microVersion = $microVersion;
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteria", false)) {
+ /**
+ * A {@link CustomCriteria} object is used to perform custom criteria targeting
+ * on custom targeting keys of type {@link CustomTargetingKey.Type#PREDEFINED}
+ * or {@link CustomTargetingKey.Type#FREEFORM}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteria extends CustomCriteriaLeaf {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteria";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $keyId;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $valueIds;
+
+ /**
+ * @access public
+ * @var tnsCustomCriteriaComparisonOperator
+ */
+ public $operator;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($keyId = null, $valueIds = null, $operator = null) {
+ parent::__construct();
+ $this->keyId = $keyId;
+ $this->valueIds = $valueIds;
+ $this->operator = $operator;
+ }
+
+ }
+}
+
+if (!class_exists("ProductTemplateService", false)) {
+ /**
+ * ProductTemplateService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductTemplateService extends DfpSoapClient {
+
+ const SERVICE_NAME = "ProductTemplateService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/ProductTemplateService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/ProductTemplateService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ActivateProductTemplates" => "ActivateProductTemplates",
+ "AdUnitTargeting" => "AdUnitTargeting",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AppliedLabel" => "AppliedLabel",
+ "ArchiveProductTemplates" => "ArchiveProductTemplates",
+ "AuthenticationError" => "AuthenticationError",
+ "BandwidthGroup" => "BandwidthGroup",
+ "BandwidthGroupTargeting" => "BandwidthGroupTargeting",
+ "BaseCustomFieldValue" => "BaseCustomFieldValue",
+ "BaseRateError" => "BaseRateError",
+ "BooleanValue" => "BooleanValue",
+ "Browser" => "Browser",
+ "BrowserLanguage" => "BrowserLanguage",
+ "BrowserLanguageTargeting" => "BrowserLanguageTargeting",
+ "BrowserTargeting" => "BrowserTargeting",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "ContentMetadataKeyHierarchyTargeting" => "ContentMetadataKeyHierarchyTargeting",
+ "ContentTargeting" => "ContentTargeting",
+ "CreativePlaceholder" => "CreativePlaceholder",
+ "CustomCriteria" => "CustomCriteria",
+ "CustomCriteriaSet" => "CustomCriteriaSet",
+ "CustomFieldValue" => "CustomFieldValue",
+ "CustomFieldValueError" => "CustomFieldValueError",
+ "CustomTargetingError" => "CustomTargetingError",
+ "CustomCriteriaLeaf" => "CustomCriteriaLeaf",
+ "CustomCriteriaNode" => "CustomCriteriaNode",
+ "AudienceSegmentCriteria" => "AudienceSegmentCriteria",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "DeactivateProductTemplates" => "DeactivateProductTemplates",
+ "DeviceCapability" => "DeviceCapability",
+ "DeviceCapabilityTargeting" => "DeviceCapabilityTargeting",
+ "DeviceCategory" => "DeviceCategory",
+ "DeviceCategoryTargeting" => "DeviceCategoryTargeting",
+ "DeviceManufacturer" => "DeviceManufacturer",
+ "DeviceManufacturerTargeting" => "DeviceManufacturerTargeting",
+ "DropDownCustomFieldValue" => "DropDownCustomFieldValue",
+ "EntityChildrenLimitReachedError" => "EntityChildrenLimitReachedError",
+ "EntityLimitReachedError" => "EntityLimitReachedError",
+ "FeatureError" => "FeatureError",
+ "FrequencyCap" => "FrequencyCap",
+ "FrequencyCapError" => "FrequencyCapError",
+ "GenericTargetingError" => "GenericTargetingError",
+ "GeoTargeting" => "GeoTargeting",
+ "GeoTargetingError" => "GeoTargetingError",
+ "InternalApiError" => "InternalApiError",
+ "InventoryTargeting" => "InventoryTargeting",
+ "InventoryTargetingError" => "InventoryTargetingError",
+ "Location" => "DfpLocation",
+ "MobileCarrier" => "MobileCarrier",
+ "MobileCarrierTargeting" => "MobileCarrierTargeting",
+ "MobileDevice" => "MobileDevice",
+ "MobileDeviceSubmodel" => "MobileDeviceSubmodel",
+ "MobileDeviceSubmodelTargeting" => "MobileDeviceSubmodelTargeting",
+ "MobileDeviceTargeting" => "MobileDeviceTargeting",
+ "NotNullError" => "NotNullError",
+ "NullError" => "NullError",
+ "NumberValue" => "NumberValue",
+ "OperatingSystem" => "OperatingSystem",
+ "OperatingSystemTargeting" => "OperatingSystemTargeting",
+ "OperatingSystemVersion" => "OperatingSystemVersion",
+ "PermissionError" => "PermissionError",
+ "PlacementTargeting" => "PlacementTargeting",
+ "ProductTemplateAction" => "ProductTemplateAction",
+ "ProductTemplateActionError" => "ProductTemplateActionError",
+ "ProductTemplate" => "ProductTemplate",
+ "ProductTemplateError" => "ProductTemplateError",
+ "ProductTemplatePage" => "ProductTemplatePage",
+ "ProductSegmentation" => "ProductSegmentation",
+ "ProductTemplateTargeting" => "ProductTemplateTargeting",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RangeError" => "RangeError",
+ "RequiredCollectionError" => "RequiredCollectionError",
+ "RequiredError" => "RequiredError",
+ "RequiredNumberError" => "RequiredNumberError",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "Size" => "Size",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "StringLengthError" => "StringLengthError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "Technology" => "Technology",
+ "TextValue" => "TextValue",
+ "TypeError" => "TypeError",
+ "UnarchiveProductTemplates" => "UnarchiveProductTemplates",
+ "UniqueError" => "UniqueError",
+ "UpdateResult" => "UpdateResult",
+ "UserDomainTargeting" => "UserDomainTargeting",
+ "UserDomainTargetingError" => "UserDomainTargetingError",
+ "Value" => "Value",
+ "VideoPosition" => "VideoPosition",
+ "VideoPositionTargeting" => "VideoPositionTargeting",
+ "VideoPositionWithinPod" => "VideoPositionWithinPod",
+ "VideoPositionTarget" => "VideoPositionTarget",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "BaseRateError.Reason" => "BaseRateErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "CreativeSizeType" => "CreativeSizeType",
+ "CustomCriteria.ComparisonOperator" => "CustomCriteriaComparisonOperator",
+ "CustomCriteriaSet.LogicalOperator" => "CustomCriteriaSetLogicalOperator",
+ "CustomFieldValueError.Reason" => "CustomFieldValueErrorReason",
+ "CustomTargetingError.Reason" => "CustomTargetingErrorReason",
+ "AudienceSegmentCriteria.ComparisonOperator" => "AudienceSegmentCriteriaComparisonOperator",
+ "EntityChildrenLimitReachedError.Reason" => "EntityChildrenLimitReachedErrorReason",
+ "EnvironmentType" => "EnvironmentType",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "FrequencyCapError.Reason" => "FrequencyCapErrorReason",
+ "GenericTargetingError.Reason" => "GenericTargetingErrorReason",
+ "GeoTargetingError.Reason" => "GeoTargetingErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "InventoryTargetingError.Reason" => "InventoryTargetingErrorReason",
+ "LineItemType" => "LineItemType",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "NullError.Reason" => "NullErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "ProductTemplateActionError.Reason" => "ProductTemplateActionErrorReason",
+ "ProductTemplateError.Reason" => "ProductTemplateErrorReason",
+ "ProductTemplateStatus" => "ProductTemplateStatus",
+ "ProductType" => "ProductType",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RangeError.Reason" => "RangeErrorReason",
+ "RateType" => "RateType",
+ "RequiredCollectionError.Reason" => "RequiredCollectionErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "RequiredNumberError.Reason" => "RequiredNumberErrorReason",
+ "RoadblockingType" => "RoadblockingType",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "TimeUnit" => "TimeUnit",
+ "UserDomainTargetingError.Reason" => "UserDomainTargetingErrorReason",
+ "VideoBumperType" => "VideoBumperType",
+ "VideoPosition.Type" => "VideoPositionType",
+ "createProductTemplates" => "CreateProductTemplates",
+ "createProductTemplatesResponse" => "CreateProductTemplatesResponse",
+ "getProductTemplatesByStatement" => "GetProductTemplatesByStatement",
+ "getProductTemplatesByStatementResponse" => "GetProductTemplatesByStatementResponse",
+ "performProductTemplateAction" => "PerformProductTemplateAction",
+ "performProductTemplateActionResponse" => "PerformProductTemplateActionResponse",
+ "updateProductTemplates" => "UpdateProductTemplates",
+ "updateProductTemplatesResponse" => "UpdateProductTemplatesResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Creates new {@link ProductTemplate} objects.
+ *
+ * @param productTemplates the productTemplates to create
+ * @return the persisted product templates with their Ids filled in
+ */
+ public function createProductTemplates($productTemplates) {
+ $args = new CreateProductTemplates($productTemplates);
+ $result = $this->__soapCall("createProductTemplates", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@link ProductTemplatePage} of {@link ProductTemplate} objects
+ * that satisfy the filtering criteria specified by given {@link Statement#query}.
+ * The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link ProductTemplate#id} |
+ *
+ *
+ * {@code name} |
+ * {@link ProductTemplate#name} |
+ *
+ *
+ * {@code nameMacro} |
+ * {@link ProductTemplate#nameMacro} |
+ *
+ *
+ * {@code description} |
+ * {@link ProductTemplate#description} |
+ *
+ *
+ * {@code status} |
+ * {@link ProductTemplate#status} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link ProductTemplate#lastModifiedDateTime} |
+ *
+ *
+ * {@code lineItemType} |
+ * {@link LineItemType} |
+ *
+ *
+ * {@code productType} |
+ * {@link ProductType} |
+ *
+ *
+ * {@code rateType} |
+ * {@link RateType} |
+ *
+ *
+ *
+ * @param statement a Publisher Query Language statement which specifies the
+ * filtering criteria over productTemplates
+ * @return the productTemplates that match the given statement
+ */
+ public function getProductTemplatesByStatement($statement) {
+ $args = new GetProductTemplatesByStatement($statement);
+ $result = $this->__soapCall("getProductTemplatesByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Performs action on {@link ProductTemplate} objects that satisfy the given
+ * {@link Statement#query}.
+ *
+ * @param action the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of product templates
+ * @return the result of the action performed
+ */
+ public function performProductTemplateAction($action, $filterStatement) {
+ $args = new PerformProductTemplateAction($action, $filterStatement);
+ $result = $this->__soapCall("performProductTemplateAction", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link ProductTemplate} objects.
+ *
+ * @param productTemplates the product templates to update
+ * @return the updated product templates
+ */
+ public function updateProductTemplates($productTemplates) {
+ $args = new UpdateProductTemplates($productTemplates);
+ $result = $this->__soapCall("updateProductTemplates", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/ProposalLineItemService.php b/src/Google/Api/Ads/Dfp/v201505/ProposalLineItemService.php
new file mode 100755
index 000000000..606c7cc31
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/ProposalLineItemService.php
@@ -0,0 +1,10110 @@
+adUnitId = $adUnitId;
+ $this->includeDescendants = $includeDescendants;
+ }
+
+ }
+}
+
+if (!class_exists("ApiError", false)) {
+ /**
+ * The API error base class that provides details about an error that occurred
+ * while processing a service request.
+ *
+ * The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TechnologyTargeting", false)) {
+ /**
+ * Provides {@link LineItem} objects the ability to target or exclude
+ * technologies.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TechnologyTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TechnologyTargeting";
+
+ /**
+ * @access public
+ * @var BandwidthGroupTargeting
+ */
+ public $bandwidthGroupTargeting;
+
+ /**
+ * @access public
+ * @var BrowserTargeting
+ */
+ public $browserTargeting;
+
+ /**
+ * @access public
+ * @var BrowserLanguageTargeting
+ */
+ public $browserLanguageTargeting;
+
+ /**
+ * @access public
+ * @var DeviceCapabilityTargeting
+ */
+ public $deviceCapabilityTargeting;
+
+ /**
+ * @access public
+ * @var DeviceCategoryTargeting
+ */
+ public $deviceCategoryTargeting;
+
+ /**
+ * @access public
+ * @var DeviceManufacturerTargeting
+ */
+ public $deviceManufacturerTargeting;
+
+ /**
+ * @access public
+ * @var MobileCarrierTargeting
+ */
+ public $mobileCarrierTargeting;
+
+ /**
+ * @access public
+ * @var MobileDeviceTargeting
+ */
+ public $mobileDeviceTargeting;
+
+ /**
+ * @access public
+ * @var MobileDeviceSubmodelTargeting
+ */
+ public $mobileDeviceSubmodelTargeting;
+
+ /**
+ * @access public
+ * @var OperatingSystemTargeting
+ */
+ public $operatingSystemTargeting;
+
+ /**
+ * @access public
+ * @var OperatingSystemVersionTargeting
+ */
+ public $operatingSystemVersionTargeting;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($bandwidthGroupTargeting = null, $browserTargeting = null, $browserLanguageTargeting = null, $deviceCapabilityTargeting = null, $deviceCategoryTargeting = null, $deviceManufacturerTargeting = null, $mobileCarrierTargeting = null, $mobileDeviceTargeting = null, $mobileDeviceSubmodelTargeting = null, $operatingSystemTargeting = null, $operatingSystemVersionTargeting = null) {
+ $this->bandwidthGroupTargeting = $bandwidthGroupTargeting;
+ $this->browserTargeting = $browserTargeting;
+ $this->browserLanguageTargeting = $browserLanguageTargeting;
+ $this->deviceCapabilityTargeting = $deviceCapabilityTargeting;
+ $this->deviceCategoryTargeting = $deviceCategoryTargeting;
+ $this->deviceManufacturerTargeting = $deviceManufacturerTargeting;
+ $this->mobileCarrierTargeting = $mobileCarrierTargeting;
+ $this->mobileDeviceTargeting = $mobileDeviceTargeting;
+ $this->mobileDeviceSubmodelTargeting = $mobileDeviceSubmodelTargeting;
+ $this->operatingSystemTargeting = $operatingSystemTargeting;
+ $this->operatingSystemVersionTargeting = $operatingSystemVersionTargeting;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AppliedLabel", false)) {
+ /**
+ * Represents a {@link Label} that can be applied to an entity. To negate an
+ * inherited label, create an {@code AppliedLabel} with {@code labelId} as the
+ * inherited label's ID and {@code isNegated} set to true.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AppliedLabel {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AppliedLabel";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $labelId;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isNegated;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($labelId = null, $isNegated = null) {
+ $this->labelId = $labelId;
+ $this->isNegated = $isNegated;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("AvailableBillingError", false)) {
+ /**
+ * Lists all errors associated with the availability of billing settings based on
+ * proposal network settings.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AvailableBillingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AvailableBillingError";
+
+ /**
+ * @access public
+ * @var tnsAvailableBillingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("BandwidthGroupTargeting", false)) {
+ /**
+ * Represents bandwidth groups that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BandwidthGroupTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BandwidthGroupTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $bandwidthGroups;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $bandwidthGroups = null) {
+ $this->isTargeted = $isTargeted;
+ $this->bandwidthGroups = $bandwidthGroups;
+ }
+
+ }
+}
+
+if (!class_exists("BaseCustomFieldValue", false)) {
+ /**
+ * The value of a {@link CustomField} for a particular entity.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BaseCustomFieldValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customFieldId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customFieldId = null) {
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("BillingError", false)) {
+ /**
+ * Lists all errors associated with the billing settings of a proposal or proposal line item.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BillingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BillingError";
+
+ /**
+ * @access public
+ * @var tnsBillingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("BrowserLanguageTargeting", false)) {
+ /**
+ * Represents browser languages that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BrowserLanguageTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BrowserLanguageTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $browserLanguages;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $browserLanguages = null) {
+ $this->isTargeted = $isTargeted;
+ $this->browserLanguages = $browserLanguages;
+ }
+
+ }
+}
+
+if (!class_exists("BrowserTargeting", false)) {
+ /**
+ * Represents browsers that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BrowserTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BrowserTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $browsers;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $browsers = null) {
+ $this->isTargeted = $isTargeted;
+ $this->browsers = $browsers;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ContentMetadataKeyHierarchyTargeting", false)) {
+ /**
+ * Represents one or more {@link CustomTargetingValue custom targeting values} from different
+ * {@link CustomTargetingKey custom targeting keys} ANDed together.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentMetadataKeyHierarchyTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentMetadataKeyHierarchyTargeting";
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $customTargetingValueIds;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customTargetingValueIds = null) {
+ $this->customTargetingValueIds = $customTargetingValueIds;
+ }
+
+ }
+}
+
+if (!class_exists("ContentTargeting", false)) {
+ /**
+ * Used to target {@link LineItem}s to specific videos on a publisher's site.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentTargeting";
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $targetedContentIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $excludedContentIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $targetedVideoCategoryIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $excludedVideoCategoryIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $targetedVideoContentBundleIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $excludedVideoContentBundleIds;
+
+ /**
+ * @access public
+ * @var ContentMetadataKeyHierarchyTargeting[]
+ */
+ public $targetedContentMetadata;
+
+ /**
+ * @access public
+ * @var ContentMetadataKeyHierarchyTargeting[]
+ */
+ public $excludedContentMetadata;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedContentIds = null, $excludedContentIds = null, $targetedVideoCategoryIds = null, $excludedVideoCategoryIds = null, $targetedVideoContentBundleIds = null, $excludedVideoContentBundleIds = null, $targetedContentMetadata = null, $excludedContentMetadata = null) {
+ $this->targetedContentIds = $targetedContentIds;
+ $this->excludedContentIds = $excludedContentIds;
+ $this->targetedVideoCategoryIds = $targetedVideoCategoryIds;
+ $this->excludedVideoCategoryIds = $excludedVideoCategoryIds;
+ $this->targetedVideoContentBundleIds = $targetedVideoContentBundleIds;
+ $this->excludedVideoContentBundleIds = $excludedVideoContentBundleIds;
+ $this->targetedContentMetadata = $targetedContentMetadata;
+ $this->excludedContentMetadata = $excludedContentMetadata;
+ }
+
+ }
+}
+
+if (!class_exists("CreativePlaceholder", false)) {
+ /**
+ * A {@code CreativePlaceholder} describes a slot that a creative is expected to
+ * fill. This is used primarily to help in forecasting, and also to validate
+ * that the correct creatives are associated with the line item. A
+ * {@code CreativePlaceholder} must contain a size, and it can optionally
+ * contain companions. Companions are only valid if the line item's environment
+ * type is {@link EnvironmentType#VIDEO_PLAYER}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativePlaceholder {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativePlaceholder";
+
+ /**
+ * @access public
+ * @var Size
+ */
+ public $size;
+
+ /**
+ * @access public
+ * @var CreativePlaceholder[]
+ */
+ public $companions;
+
+ /**
+ * @access public
+ * @var AppliedLabel[]
+ */
+ public $appliedLabels;
+
+ /**
+ * @access public
+ * @var AppliedLabel[]
+ */
+ public $effectiveAppliedLabels;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $expectedCreativeCount;
+
+ /**
+ * @access public
+ * @var tnsCreativeSizeType
+ */
+ public $creativeSizeType;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($size = null, $companions = null, $appliedLabels = null, $effectiveAppliedLabels = null, $id = null, $expectedCreativeCount = null, $creativeSizeType = null) {
+ $this->size = $size;
+ $this->companions = $companions;
+ $this->appliedLabels = $appliedLabels;
+ $this->effectiveAppliedLabels = $effectiveAppliedLabels;
+ $this->id = $id;
+ $this->expectedCreativeCount = $expectedCreativeCount;
+ $this->creativeSizeType = $creativeSizeType;
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValue", false)) {
+ /**
+ * The value of a {@link CustomField} that does not have a {@link CustomField#dataType}
+ * of {@link CustomFieldDataType#DROP_DOWN}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValue extends BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValue";
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null, $customFieldId = null) {
+ parent::__construct();
+ $this->value = $value;
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValueError", false)) {
+ /**
+ * Errors specific to editing custom field values
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValueError";
+
+ /**
+ * @access public
+ * @var tnsCustomFieldValueErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingError", false)) {
+ /**
+ * Lists all errors related to {@link CustomTargetingKey} and
+ * {@link CustomTargetingValue} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingError";
+
+ /**
+ * @access public
+ * @var tnsCustomTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaNode", false)) {
+ /**
+ * A {@link CustomCriteriaNode} is a node in the custom targeting tree. A custom
+ * criteria node can either be a {@link CustomCriteriaSet} (a non-leaf node) or
+ * a {@link CustomCriteria} (a leaf node). The custom criteria targeting tree is
+ * subject to the rules defined on {@link Targeting#customTargeting}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaNode {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteriaNode";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("DayPart", false)) {
+ /**
+ * {@code DayPart} represents a time-period within a day of the week which is
+ * targeted by a {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DayPart {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DayPart";
+
+ /**
+ * @access public
+ * @var tnsDayOfWeek
+ */
+ public $dayOfWeek;
+
+ /**
+ * @access public
+ * @var TimeOfDay
+ */
+ public $startTime;
+
+ /**
+ * @access public
+ * @var TimeOfDay
+ */
+ public $endTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($dayOfWeek = null, $startTime = null, $endTime = null) {
+ $this->dayOfWeek = $dayOfWeek;
+ $this->startTime = $startTime;
+ $this->endTime = $endTime;
+ }
+
+ }
+}
+
+if (!class_exists("DayPartTargeting", false)) {
+ /**
+ * Modify the delivery times of line items for particular days of the week. By
+ * default, line items are served at all days and times.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DayPartTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DayPartTargeting";
+
+ /**
+ * @access public
+ * @var DayPart[]
+ */
+ public $dayParts;
+
+ /**
+ * @access public
+ * @var tnsDeliveryTimeZone
+ */
+ public $timeZone;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($dayParts = null, $timeZone = null) {
+ $this->dayParts = $dayParts;
+ $this->timeZone = $timeZone;
+ }
+
+ }
+}
+
+if (!class_exists("DayPartTargetingError", false)) {
+ /**
+ * Lists all errors associated with day-part targeting for a line item.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DayPartTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DayPartTargetingError";
+
+ /**
+ * @access public
+ * @var tnsDayPartTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("DeliveryData", false)) {
+ /**
+ * Holds the number of clicks or impressions, determined by
+ * {@link LineItem#costType}, delivered for a single line item for the
+ * last 7 days
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeliveryData {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeliveryData";
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $units;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($units = null) {
+ $this->units = $units;
+ }
+
+ }
+}
+
+if (!class_exists("DeliveryIndicator", false)) {
+ /**
+ * Indicates the delivery performance of the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeliveryIndicator {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeliveryIndicator";
+
+ /**
+ * @access public
+ * @var double
+ */
+ public $expectedDeliveryPercentage;
+
+ /**
+ * @access public
+ * @var double
+ */
+ public $actualDeliveryPercentage;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($expectedDeliveryPercentage = null, $actualDeliveryPercentage = null) {
+ $this->expectedDeliveryPercentage = $expectedDeliveryPercentage;
+ $this->actualDeliveryPercentage = $actualDeliveryPercentage;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceCapabilityTargeting", false)) {
+ /**
+ * Represents device capabilities that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceCapabilityTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceCapabilityTargeting";
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $targetedDeviceCapabilities;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $excludedDeviceCapabilities;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedDeviceCapabilities = null, $excludedDeviceCapabilities = null) {
+ $this->targetedDeviceCapabilities = $targetedDeviceCapabilities;
+ $this->excludedDeviceCapabilities = $excludedDeviceCapabilities;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceCategoryTargeting", false)) {
+ /**
+ * Represents device categories that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceCategoryTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceCategoryTargeting";
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $targetedDeviceCategories;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $excludedDeviceCategories;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedDeviceCategories = null, $excludedDeviceCategories = null) {
+ $this->targetedDeviceCategories = $targetedDeviceCategories;
+ $this->excludedDeviceCategories = $excludedDeviceCategories;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceManufacturerTargeting", false)) {
+ /**
+ * Represents device manufacturer that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceManufacturerTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceManufacturerTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $deviceManufacturers;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $deviceManufacturers = null) {
+ $this->isTargeted = $isTargeted;
+ $this->deviceManufacturers = $deviceManufacturers;
+ }
+
+ }
+}
+
+if (!class_exists("DropDownCustomFieldValue", false)) {
+ /**
+ * A {@link CustomFieldValue} for a {@link CustomField} that has a {@link CustomField#dataType}
+ * of {@link CustomFieldDataType#DROP_DOWN}
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DropDownCustomFieldValue extends BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DropDownCustomFieldValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customFieldOptionId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customFieldOptionId = null, $customFieldId = null) {
+ parent::__construct();
+ $this->customFieldOptionId = $customFieldOptionId;
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("EntityChildrenLimitReachedError", false)) {
+ /**
+ * Lists errors relating to having too many children on an entity.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityChildrenLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityChildrenLimitReachedError";
+
+ /**
+ * @access public
+ * @var tnsEntityChildrenLimitReachedErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("EntityLimitReachedError", false)) {
+ /**
+ * An error that occurs when creating an entity if the limit on the number of allowed entities for
+ * a network has already been reached.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityLimitReachedError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FrequencyCap", false)) {
+ /**
+ * Represents a limit on the number of times a single viewer can be exposed to
+ * the same {@link LineItem} in a specified time period.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FrequencyCap {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FrequencyCap";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $maxImpressions;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numTimeUnits;
+
+ /**
+ * @access public
+ * @var tnsTimeUnit
+ */
+ public $timeUnit;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($maxImpressions = null, $numTimeUnits = null, $timeUnit = null) {
+ $this->maxImpressions = $maxImpressions;
+ $this->numTimeUnits = $numTimeUnits;
+ $this->timeUnit = $timeUnit;
+ }
+
+ }
+}
+
+if (!class_exists("FrequencyCapError", false)) {
+ /**
+ * Lists all errors associated with frequency caps.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FrequencyCapError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FrequencyCapError";
+
+ /**
+ * @access public
+ * @var tnsFrequencyCapErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("GenericTargetingError", false)) {
+ /**
+ * Targeting validation errors that can be used by different targeting types.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GenericTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GenericTargetingError";
+
+ /**
+ * @access public
+ * @var tnsGenericTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("GeoTargeting", false)) {
+ /**
+ * Provides line items the ability to target geographical locations. By default,
+ * line items target all countries and their subdivisions. With geographical
+ * targeting, you can target line items to specific countries, regions, metro
+ * areas, and cities. You can also exclude the same.
+ *
+ * The following rules apply for geographical targeting:
+ *
+ *
+ * - You cannot target and exclude the same location
+ * - You cannot target a child whose parent has been excluded. So if the state
+ * of Illinois has been excluded, then you cannot target Chicago
+ * - You must not target a location if you are also targeting its parent.
+ * So if you are targeting New York City, you must not have the state of New
+ * York as one of the targeted locations
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GeoTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GeoTargeting";
+
+ /**
+ * @access public
+ * @var Location[]
+ */
+ public $targetedLocations;
+
+ /**
+ * @access public
+ * @var Location[]
+ */
+ public $excludedLocations;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedLocations = null, $excludedLocations = null) {
+ $this->targetedLocations = $targetedLocations;
+ $this->excludedLocations = $excludedLocations;
+ }
+
+ }
+}
+
+if (!class_exists("GeoTargetingError", false)) {
+ /**
+ * Lists all errors associated with geographical targeting for a
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GeoTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GeoTargetingError";
+
+ /**
+ * @access public
+ * @var tnsGeoTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Goal", false)) {
+ /**
+ * Defines the criteria a {@link LineItem} needs to satisfy to meet its delivery goal.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Goal {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Goal";
+
+ /**
+ * @access public
+ * @var tnsGoalType
+ */
+ public $goalType;
+
+ /**
+ * @access public
+ * @var tnsUnitType
+ */
+ public $unitType;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $units;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($goalType = null, $unitType = null, $units = null) {
+ $this->goalType = $goalType;
+ $this->unitType = $unitType;
+ $this->units = $units;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InventoryTargeting", false)) {
+ /**
+ * A collection of targeted and excluded ad units and placements.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryTargeting";
+
+ /**
+ * @access public
+ * @var AdUnitTargeting[]
+ */
+ public $targetedAdUnits;
+
+ /**
+ * @access public
+ * @var AdUnitTargeting[]
+ */
+ public $excludedAdUnits;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $targetedPlacementIds;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedAdUnits = null, $excludedAdUnits = null, $targetedPlacementIds = null) {
+ $this->targetedAdUnits = $targetedAdUnits;
+ $this->excludedAdUnits = $excludedAdUnits;
+ $this->targetedPlacementIds = $targetedPlacementIds;
+ }
+
+ }
+}
+
+if (!class_exists("InventoryTargetingError", false)) {
+ /**
+ * Lists all inventory errors caused by associating a line item with a targeting
+ * expression.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryTargetingError";
+
+ /**
+ * @access public
+ * @var tnsInventoryTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LabelEntityAssociationError", false)) {
+ /**
+ * Errors specific to creating label entity associations.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelEntityAssociationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelEntityAssociationError";
+
+ /**
+ * @access public
+ * @var tnsLabelEntityAssociationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemOperationError", false)) {
+ /**
+ * Lists all errors for executing operations on line items
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemOperationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemOperationError";
+
+ /**
+ * @access public
+ * @var tnsLineItemOperationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("DfpLocation", false)) {
+ /**
+ * A {@link Location} represents a geographical entity that can be targeted. If
+ * a location type is not available because of the API version you are using,
+ * the location will be represented as just the base class, otherwise it will be
+ * sub-classed correctly.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpLocation {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Location";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $type;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $canonicalParentId;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $displayName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $type = null, $canonicalParentId = null, $displayName = null) {
+ $this->id = $id;
+ $this->type = $type;
+ $this->canonicalParentId = $canonicalParentId;
+ $this->displayName = $displayName;
+ }
+
+ }
+}
+
+if (!class_exists("MobileCarrierTargeting", false)) {
+ /**
+ * Represents mobile carriers that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileCarrierTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileCarrierTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $mobileCarriers;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $mobileCarriers = null) {
+ $this->isTargeted = $isTargeted;
+ $this->mobileCarriers = $mobileCarriers;
+ }
+
+ }
+}
+
+if (!class_exists("MobileDeviceSubmodelTargeting", false)) {
+ /**
+ * Represents mobile devices that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileDeviceSubmodelTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileDeviceSubmodelTargeting";
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $targetedMobileDeviceSubmodels;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $excludedMobileDeviceSubmodels;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedMobileDeviceSubmodels = null, $excludedMobileDeviceSubmodels = null) {
+ $this->targetedMobileDeviceSubmodels = $targetedMobileDeviceSubmodels;
+ $this->excludedMobileDeviceSubmodels = $excludedMobileDeviceSubmodels;
+ }
+
+ }
+}
+
+if (!class_exists("MobileDeviceTargeting", false)) {
+ /**
+ * Represents mobile devices that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileDeviceTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileDeviceTargeting";
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $targetedMobileDevices;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $excludedMobileDevices;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedMobileDevices = null, $excludedMobileDevices = null) {
+ $this->targetedMobileDevices = $targetedMobileDevices;
+ $this->excludedMobileDevices = $excludedMobileDevices;
+ }
+
+ }
+}
+
+if (!class_exists("Money", false)) {
+ /**
+ * Represents a money amount.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Money {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Money";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $currencyCode;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $microAmount;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($currencyCode = null, $microAmount = null) {
+ $this->currencyCode = $currencyCode;
+ $this->microAmount = $microAmount;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("OperatingSystemTargeting", false)) {
+ /**
+ * Represents operating systems that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OperatingSystemTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OperatingSystemTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $operatingSystems;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $operatingSystems = null) {
+ $this->isTargeted = $isTargeted;
+ $this->operatingSystems = $operatingSystems;
+ }
+
+ }
+}
+
+if (!class_exists("OperatingSystemVersionTargeting", false)) {
+ /**
+ * Represents operating system versions that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OperatingSystemVersionTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OperatingSystemVersionTargeting";
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $targetedOperatingSystemVersions;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $excludedOperatingSystemVersions;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedOperatingSystemVersions = null, $excludedOperatingSystemVersions = null) {
+ $this->targetedOperatingSystemVersions = $targetedOperatingSystemVersions;
+ $this->excludedOperatingSystemVersions = $excludedOperatingSystemVersions;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PrecisionError", false)) {
+ /**
+ * List all errors associated with number precisions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PrecisionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PrecisionError";
+
+ /**
+ * @access public
+ * @var tnsPrecisionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PremiumFeature", false)) {
+ /**
+ * A {@code PremiumFeature} represents the feature type to be applied as a premium on a
+ * {@link RateCard}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PremiumRateValue", false)) {
+ /**
+ * A premium of a {@link RateCard} which could be applied to the line item
+ * and charges extra.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PremiumRateValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PremiumRateValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $premiumRateId;
+
+ /**
+ * @access public
+ * @var PremiumFeature
+ */
+ public $premiumFeature;
+
+ /**
+ * @access public
+ * @var tnsRateType
+ */
+ public $rateType;
+
+ /**
+ * @access public
+ * @var tnsPremiumAdjustmentType
+ */
+ public $adjustmentType;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $adjustmentSize;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($premiumRateId = null, $premiumFeature = null, $rateType = null, $adjustmentType = null, $adjustmentSize = null) {
+ $this->premiumRateId = $premiumRateId;
+ $this->premiumFeature = $premiumFeature;
+ $this->rateType = $rateType;
+ $this->adjustmentType = $adjustmentType;
+ $this->adjustmentSize = $adjustmentSize;
+ }
+
+ }
+}
+
+if (!class_exists("ProductError", false)) {
+ /**
+ * A catch-all error that lists all generic errors associated with Product.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductError";
+
+ /**
+ * @access public
+ * @var tnsProductErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProductTemplateTargeting", false)) {
+ /**
+ * Contains targeting criteria for {@link ProductTemplate} objects.
+ * {@link ProposalLineItem Proposal line items} created from {@link Product products}
+ * of this template will have this criteria added to {@link ProposalLineItem#targeting}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductTemplateTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductTemplateTargeting";
+
+ /**
+ * @access public
+ * @var GeoTargeting
+ */
+ public $geoTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowGeoTargetingCustomization;
+
+ /**
+ * @access public
+ * @var InventoryTargeting
+ */
+ public $inventoryTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowAdUnitTargetingCustomization;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowPlacementTargetingCustomization;
+
+ /**
+ * @access public
+ * @var CustomCriteriaSet
+ */
+ public $customTargeting;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $customizableCustomTargetingKeyIds;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowAudienceSegmentTargetingCustomization;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isAllCustomTargetingKeysCustomizable;
+
+ /**
+ * @access public
+ * @var UserDomainTargeting
+ */
+ public $userDomainTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowUserDomainTargetingCustomization;
+
+ /**
+ * @access public
+ * @var BandwidthGroupTargeting
+ */
+ public $bandwidthGroupTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowBandwidthGroupTargetingCustomization;
+
+ /**
+ * @access public
+ * @var BrowserTargeting
+ */
+ public $browserTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowBrowserTargetingCustomization;
+
+ /**
+ * @access public
+ * @var BrowserLanguageTargeting
+ */
+ public $browserLanguageTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowBrowserLanguageTargetingCustomization;
+
+ /**
+ * @access public
+ * @var OperatingSystemTargeting
+ */
+ public $operatingSystemTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowOperatingSystemTargetingCustomization;
+
+ /**
+ * @access public
+ * @var DeviceCapabilityTargeting
+ */
+ public $deviceCapabilityTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowDeviceCapabilityTargetingCustomization;
+
+ /**
+ * @access public
+ * @var DeviceCategoryTargeting
+ */
+ public $deviceCategoryTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowDeviceCategoryTargetingCustomization;
+
+ /**
+ * @access public
+ * @var MobileCarrierTargeting
+ */
+ public $mobileCarrierTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowMobileCarrierTargetingCustomization;
+
+ /**
+ * @access public
+ * @var DeviceManufacturerTargeting
+ */
+ public $deviceManufacturerTargeting;
+
+ /**
+ * @access public
+ * @var MobileDeviceTargeting
+ */
+ public $mobileDeviceTargeting;
+
+ /**
+ * @access public
+ * @var MobileDeviceSubmodelTargeting
+ */
+ public $mobileDeviceSubmodelTargeting;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowMobileDeviceAndManufacturerTargetingCustomization;
+
+ /**
+ * @access public
+ * @var ContentTargeting
+ */
+ public $contentTargeting;
+
+ /**
+ * @access public
+ * @var VideoPositionTargeting
+ */
+ public $videoPositionTargeting;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($geoTargeting = null, $allowGeoTargetingCustomization = null, $inventoryTargeting = null, $allowAdUnitTargetingCustomization = null, $allowPlacementTargetingCustomization = null, $customTargeting = null, $customizableCustomTargetingKeyIds = null, $allowAudienceSegmentTargetingCustomization = null, $isAllCustomTargetingKeysCustomizable = null, $userDomainTargeting = null, $allowUserDomainTargetingCustomization = null, $bandwidthGroupTargeting = null, $allowBandwidthGroupTargetingCustomization = null, $browserTargeting = null, $allowBrowserTargetingCustomization = null, $browserLanguageTargeting = null, $allowBrowserLanguageTargetingCustomization = null, $operatingSystemTargeting = null, $allowOperatingSystemTargetingCustomization = null, $deviceCapabilityTargeting = null, $allowDeviceCapabilityTargetingCustomization = null, $deviceCategoryTargeting = null, $allowDeviceCategoryTargetingCustomization = null, $mobileCarrierTargeting = null, $allowMobileCarrierTargetingCustomization = null, $deviceManufacturerTargeting = null, $mobileDeviceTargeting = null, $mobileDeviceSubmodelTargeting = null, $allowMobileDeviceAndManufacturerTargetingCustomization = null, $contentTargeting = null, $videoPositionTargeting = null) {
+ $this->geoTargeting = $geoTargeting;
+ $this->allowGeoTargetingCustomization = $allowGeoTargetingCustomization;
+ $this->inventoryTargeting = $inventoryTargeting;
+ $this->allowAdUnitTargetingCustomization = $allowAdUnitTargetingCustomization;
+ $this->allowPlacementTargetingCustomization = $allowPlacementTargetingCustomization;
+ $this->customTargeting = $customTargeting;
+ $this->customizableCustomTargetingKeyIds = $customizableCustomTargetingKeyIds;
+ $this->allowAudienceSegmentTargetingCustomization = $allowAudienceSegmentTargetingCustomization;
+ $this->isAllCustomTargetingKeysCustomizable = $isAllCustomTargetingKeysCustomizable;
+ $this->userDomainTargeting = $userDomainTargeting;
+ $this->allowUserDomainTargetingCustomization = $allowUserDomainTargetingCustomization;
+ $this->bandwidthGroupTargeting = $bandwidthGroupTargeting;
+ $this->allowBandwidthGroupTargetingCustomization = $allowBandwidthGroupTargetingCustomization;
+ $this->browserTargeting = $browserTargeting;
+ $this->allowBrowserTargetingCustomization = $allowBrowserTargetingCustomization;
+ $this->browserLanguageTargeting = $browserLanguageTargeting;
+ $this->allowBrowserLanguageTargetingCustomization = $allowBrowserLanguageTargetingCustomization;
+ $this->operatingSystemTargeting = $operatingSystemTargeting;
+ $this->allowOperatingSystemTargetingCustomization = $allowOperatingSystemTargetingCustomization;
+ $this->deviceCapabilityTargeting = $deviceCapabilityTargeting;
+ $this->allowDeviceCapabilityTargetingCustomization = $allowDeviceCapabilityTargetingCustomization;
+ $this->deviceCategoryTargeting = $deviceCategoryTargeting;
+ $this->allowDeviceCategoryTargetingCustomization = $allowDeviceCategoryTargetingCustomization;
+ $this->mobileCarrierTargeting = $mobileCarrierTargeting;
+ $this->allowMobileCarrierTargetingCustomization = $allowMobileCarrierTargetingCustomization;
+ $this->deviceManufacturerTargeting = $deviceManufacturerTargeting;
+ $this->mobileDeviceTargeting = $mobileDeviceTargeting;
+ $this->mobileDeviceSubmodelTargeting = $mobileDeviceSubmodelTargeting;
+ $this->allowMobileDeviceAndManufacturerTargetingCustomization = $allowMobileDeviceAndManufacturerTargetingCustomization;
+ $this->contentTargeting = $contentTargeting;
+ $this->videoPositionTargeting = $videoPositionTargeting;
+ }
+
+ }
+}
+
+if (!class_exists("ProposalError", false)) {
+ /**
+ * Lists all errors associated with proposals.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalError";
+
+ /**
+ * @access public
+ * @var tnsProposalErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProposalLineItemAction", false)) {
+ /**
+ * Represents the actions that can be performed on {@link ProposalLineItem} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalLineItemAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalLineItemAction";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProposalLineItemActionError", false)) {
+ /**
+ * Lists all errors for executing operations on proposal line items.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalLineItemActionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalLineItemActionError";
+
+ /**
+ * @access public
+ * @var tnsProposalLineItemActionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProposalLineItemConstraints", false)) {
+ /**
+ * A {@code PropoalLineItemConstraints} represents all the constraints set for a
+ * {@link ProposalLineItem} and is always readonly. It comes from the {@link Product},
+ * based on which the proposal line item is created.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalLineItemConstraints {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalLineItemConstraints";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $allowFrequencyCapsCustomization;
+
+ /**
+ * @access public
+ * @var FrequencyCap[]
+ */
+ public $builtInFrequencyCaps;
+
+ /**
+ * @access public
+ * @var ProductTemplateTargeting
+ */
+ public $builtInTargeting;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($allowFrequencyCapsCustomization = null, $builtInFrequencyCaps = null, $builtInTargeting = null) {
+ $this->allowFrequencyCapsCustomization = $allowFrequencyCapsCustomization;
+ $this->builtInFrequencyCaps = $builtInFrequencyCaps;
+ $this->builtInTargeting = $builtInTargeting;
+ }
+
+ }
+}
+
+if (!class_exists("ProposalLineItem", false)) {
+ /**
+ * A {@code ProposalLineItem} is an instance of sales {@link Product}. It belongs to
+ * a {@link Proposal} and is created according to a {@link Product} and
+ * {@link RateCard}. When the proposal is turned into an {@link Order}, this object is
+ * turned into a {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalLineItem {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalLineItem";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $proposalId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $rateCardId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $productId;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $startDateTime;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $endDateTime;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneId;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $notes;
+
+ /**
+ * @access public
+ * @var tnsCostAdjustment
+ */
+ public $costAdjustment;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isArchived;
+
+ /**
+ * @access public
+ * @var Goal
+ */
+ public $goal;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $contractedQuantityBuffer;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $scheduledQuantity;
+
+ /**
+ * @access public
+ * @var tnsDeliveryRateType
+ */
+ public $deliveryRateType;
+
+ /**
+ * @access public
+ * @var tnsRoadblockingType
+ */
+ public $roadblockingType;
+
+ /**
+ * @access public
+ * @var tnsCompanionDeliveryOption
+ */
+ public $companionDeliveryOption;
+
+ /**
+ * @access public
+ * @var tnsCreativeRotationType
+ */
+ public $creativeRotationType;
+
+ /**
+ * @access public
+ * @var FrequencyCap[]
+ */
+ public $frequencyCaps;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $dfpLineItemId;
+
+ /**
+ * @access public
+ * @var tnsLineItemType
+ */
+ public $lineItemType;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $lineItemPriority;
+
+ /**
+ * @access public
+ * @var tnsRateType
+ */
+ public $rateType;
+
+ /**
+ * @access public
+ * @var CreativePlaceholder[]
+ */
+ public $creativePlaceholders;
+
+ /**
+ * @access public
+ * @var Targeting
+ */
+ public $targeting;
+
+ /**
+ * @access public
+ * @var CustomCriteriaSet
+ */
+ public $derivedProductCustomCriteria;
+
+ /**
+ * @access public
+ * @var BaseCustomFieldValue[]
+ */
+ public $customFieldValues;
+
+ /**
+ * @access public
+ * @var AppliedLabel[]
+ */
+ public $appliedLabels;
+
+ /**
+ * @access public
+ * @var AppliedLabel[]
+ */
+ public $effectiveAppliedLabels;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $disableSameAdvertiserCompetitiveExclusion;
+
+ /**
+ * @access public
+ * @var ProposalLineItemConstraints
+ */
+ public $productConstraints;
+
+ /**
+ * @access public
+ * @var ProposalLineItemPremium[]
+ */
+ public $premiums;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isSold;
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $baseRate;
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $costPerUnit;
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $cost;
+
+ /**
+ * @access public
+ * @var DeliveryIndicator
+ */
+ public $deliveryIndicator;
+
+ /**
+ * @access public
+ * @var DeliveryData
+ */
+ public $deliveryData;
+
+ /**
+ * @access public
+ * @var tnsComputedStatus
+ */
+ public $computedStatus;
+
+ /**
+ * @access public
+ * @var tnsBillingCap
+ */
+ public $billingCap;
+
+ /**
+ * @access public
+ * @var tnsBillingSchedule
+ */
+ public $billingSchedule;
+
+ /**
+ * @access public
+ * @var tnsBillingSource
+ */
+ public $billingSource;
+
+ /**
+ * @access public
+ * @var tnsBillingBase
+ */
+ public $billingBase;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $lastModifiedDateTime;
+
+ /**
+ * @access public
+ * @var tnsReservationStatus
+ */
+ public $reservationStatus;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $useThirdPartyAdServerFromProposal;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $thirdPartyAdServerId;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $customThirdPartyAdServerName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $proposalId = null, $rateCardId = null, $productId = null, $name = null, $startDateTime = null, $endDateTime = null, $timeZoneId = null, $notes = null, $costAdjustment = null, $isArchived = null, $goal = null, $contractedQuantityBuffer = null, $scheduledQuantity = null, $deliveryRateType = null, $roadblockingType = null, $companionDeliveryOption = null, $creativeRotationType = null, $frequencyCaps = null, $dfpLineItemId = null, $lineItemType = null, $lineItemPriority = null, $rateType = null, $creativePlaceholders = null, $targeting = null, $derivedProductCustomCriteria = null, $customFieldValues = null, $appliedLabels = null, $effectiveAppliedLabels = null, $disableSameAdvertiserCompetitiveExclusion = null, $productConstraints = null, $premiums = null, $isSold = null, $baseRate = null, $costPerUnit = null, $cost = null, $deliveryIndicator = null, $deliveryData = null, $computedStatus = null, $billingCap = null, $billingSchedule = null, $billingSource = null, $billingBase = null, $lastModifiedDateTime = null, $reservationStatus = null, $useThirdPartyAdServerFromProposal = null, $thirdPartyAdServerId = null, $customThirdPartyAdServerName = null) {
+ $this->id = $id;
+ $this->proposalId = $proposalId;
+ $this->rateCardId = $rateCardId;
+ $this->productId = $productId;
+ $this->name = $name;
+ $this->startDateTime = $startDateTime;
+ $this->endDateTime = $endDateTime;
+ $this->timeZoneId = $timeZoneId;
+ $this->notes = $notes;
+ $this->costAdjustment = $costAdjustment;
+ $this->isArchived = $isArchived;
+ $this->goal = $goal;
+ $this->contractedQuantityBuffer = $contractedQuantityBuffer;
+ $this->scheduledQuantity = $scheduledQuantity;
+ $this->deliveryRateType = $deliveryRateType;
+ $this->roadblockingType = $roadblockingType;
+ $this->companionDeliveryOption = $companionDeliveryOption;
+ $this->creativeRotationType = $creativeRotationType;
+ $this->frequencyCaps = $frequencyCaps;
+ $this->dfpLineItemId = $dfpLineItemId;
+ $this->lineItemType = $lineItemType;
+ $this->lineItemPriority = $lineItemPriority;
+ $this->rateType = $rateType;
+ $this->creativePlaceholders = $creativePlaceholders;
+ $this->targeting = $targeting;
+ $this->derivedProductCustomCriteria = $derivedProductCustomCriteria;
+ $this->customFieldValues = $customFieldValues;
+ $this->appliedLabels = $appliedLabels;
+ $this->effectiveAppliedLabels = $effectiveAppliedLabels;
+ $this->disableSameAdvertiserCompetitiveExclusion = $disableSameAdvertiserCompetitiveExclusion;
+ $this->productConstraints = $productConstraints;
+ $this->premiums = $premiums;
+ $this->isSold = $isSold;
+ $this->baseRate = $baseRate;
+ $this->costPerUnit = $costPerUnit;
+ $this->cost = $cost;
+ $this->deliveryIndicator = $deliveryIndicator;
+ $this->deliveryData = $deliveryData;
+ $this->computedStatus = $computedStatus;
+ $this->billingCap = $billingCap;
+ $this->billingSchedule = $billingSchedule;
+ $this->billingSource = $billingSource;
+ $this->billingBase = $billingBase;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ $this->reservationStatus = $reservationStatus;
+ $this->useThirdPartyAdServerFromProposal = $useThirdPartyAdServerFromProposal;
+ $this->thirdPartyAdServerId = $thirdPartyAdServerId;
+ $this->customThirdPartyAdServerName = $customThirdPartyAdServerName;
+ }
+
+ }
+}
+
+if (!class_exists("ProposalLineItemError", false)) {
+ /**
+ * Lists all errors associated with proposal line items.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalLineItemError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalLineItemError";
+
+ /**
+ * @access public
+ * @var tnsProposalLineItemErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProposalLineItemPage", false)) {
+ /**
+ * Captures a page of {@link ProposalLineItem} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalLineItemPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalLineItemPage";
+
+ /**
+ * @access public
+ * @var ProposalLineItem[]
+ */
+ public $results;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($results = null, $startIndex = null, $totalResultSetSize = null) {
+ $this->results = $results;
+ $this->startIndex = $startIndex;
+ $this->totalResultSetSize = $totalResultSetSize;
+ }
+
+ }
+}
+
+if (!class_exists("ProposalLineItemPremium", false)) {
+ /**
+ * Represents the status of a triggered {@link PremiumRateValue} (formerly
+ * referred to as a {@code RateCardCustomization}).
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalLineItemPremium {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalLineItemPremium";
+
+ /**
+ * @access public
+ * @var PremiumRateValue
+ */
+ public $premiumRateValue;
+
+ /**
+ * @access public
+ * @var tnsProposalLineItemPremiumStatus
+ */
+ public $status;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($premiumRateValue = null, $status = null) {
+ $this->premiumRateValue = $premiumRateValue;
+ $this->status = $status;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RangeError", false)) {
+ /**
+ * A list of all errors associated with the Range constraint.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError";
+
+ /**
+ * @access public
+ * @var tnsRangeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ReleaseProposalLineItems", false)) {
+ /**
+ * The action used for releasing inventory for {@link ProposalLineItem} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReleaseProposalLineItems extends ProposalLineItemAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReleaseProposalLineItems";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberError", false)) {
+ /**
+ * A list of all errors to be used in conjunction with required number
+ * validators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError";
+
+ /**
+ * @access public
+ * @var tnsRequiredNumberErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ReservationDetailsError", false)) {
+ /**
+ * Lists all errors associated with LineItem's reservation details.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReservationDetailsError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReservationDetailsError";
+
+ /**
+ * @access public
+ * @var tnsReservationDetailsErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ResumeProposalLineItems", false)) {
+ /**
+ * The action used for resuming {@link ProposalLineItem} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ResumeProposalLineItems extends ProposalLineItemAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ResumeProposalLineItems";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Size", false)) {
+ /**
+ * Represents the dimensions of an {@link AdUnit}, {@link LineItem} or {@link Creative}.
+ *
+ * For interstitial size (out-of-page) and native size, {@code Size} must be 1x1.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Size {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Size";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $width;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $height;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isAspectRatio;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($width = null, $height = null, $isAspectRatio = null) {
+ $this->width = $width;
+ $this->height = $height;
+ $this->isAspectRatio = $isAspectRatio;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthError", false)) {
+ /**
+ * Errors for Strings which do not meet given length constraints.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("Targeting", false)) {
+ /**
+ * Contains targeting criteria for {@link LineItem} objects. See
+ * {@link LineItem#targeting}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Targeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Targeting";
+
+ /**
+ * @access public
+ * @var GeoTargeting
+ */
+ public $geoTargeting;
+
+ /**
+ * @access public
+ * @var InventoryTargeting
+ */
+ public $inventoryTargeting;
+
+ /**
+ * @access public
+ * @var DayPartTargeting
+ */
+ public $dayPartTargeting;
+
+ /**
+ * @access public
+ * @var TechnologyTargeting
+ */
+ public $technologyTargeting;
+
+ /**
+ * @access public
+ * @var CustomCriteriaSet
+ */
+ public $customTargeting;
+
+ /**
+ * @access public
+ * @var UserDomainTargeting
+ */
+ public $userDomainTargeting;
+
+ /**
+ * @access public
+ * @var ContentTargeting
+ */
+ public $contentTargeting;
+
+ /**
+ * @access public
+ * @var VideoPositionTargeting
+ */
+ public $videoPositionTargeting;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($geoTargeting = null, $inventoryTargeting = null, $dayPartTargeting = null, $technologyTargeting = null, $customTargeting = null, $userDomainTargeting = null, $contentTargeting = null, $videoPositionTargeting = null) {
+ $this->geoTargeting = $geoTargeting;
+ $this->inventoryTargeting = $inventoryTargeting;
+ $this->dayPartTargeting = $dayPartTargeting;
+ $this->technologyTargeting = $technologyTargeting;
+ $this->customTargeting = $customTargeting;
+ $this->userDomainTargeting = $userDomainTargeting;
+ $this->contentTargeting = $contentTargeting;
+ $this->videoPositionTargeting = $videoPositionTargeting;
+ }
+
+ }
+}
+
+if (!class_exists("TeamError", false)) {
+ /**
+ * Errors related to a Team.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TeamError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TeamError";
+
+ /**
+ * @access public
+ * @var tnsTeamErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Technology", false)) {
+ /**
+ * Represents a technology entity that can be targeted.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Technology";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("TechnologyTargetingError", false)) {
+ /**
+ * Technology targeting validation errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TechnologyTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TechnologyTargetingError";
+
+ /**
+ * @access public
+ * @var tnsTechnologyTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TimeOfDay", false)) {
+ /**
+ * Represents a specific time in a day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TimeOfDay {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TimeOfDay";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var tnsMinuteOfHour
+ */
+ public $minute;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($hour = null, $minute = null) {
+ $this->hour = $hour;
+ $this->minute = $minute;
+ }
+
+ }
+}
+
+if (!class_exists("TimeZoneError", false)) {
+ /**
+ * Errors related to timezones.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TimeZoneError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TimeZoneError";
+
+ /**
+ * @access public
+ * @var tnsTimeZoneErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UnarchiveProposalLineItems", false)) {
+ /**
+ * The action used for unarchiving {@link ProposalLineItem} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UnarchiveProposalLineItems extends ProposalLineItemAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UnarchiveProposalLineItems";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UnknownPremiumFeature", false)) {
+ /**
+ * The {@link PremiumFeature} returned if the actual feature is not exposed by
+ * the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UnknownPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UnknownPremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("UpdateResult", false)) {
+ /**
+ * Represents the result of performing an action on objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UpdateResult";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numChanges;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($numChanges = null) {
+ $this->numChanges = $numChanges;
+ }
+
+ }
+}
+
+if (!class_exists("UserDomainPremiumFeature", false)) {
+ /**
+ * A premium feature applied to user domain targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserDomainPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserDomainPremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("UserDomainTargeting", false)) {
+ /**
+ * Provides line items the ability to target or exclude users visiting their
+ * websites from a list of domains or subdomains.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserDomainTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserDomainTargeting";
+
+ /**
+ * @access public
+ * @var string[]
+ */
+ public $domains;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $targeted;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($domains = null, $targeted = null) {
+ $this->domains = $domains;
+ $this->targeted = $targeted;
+ }
+
+ }
+}
+
+if (!class_exists("UserDomainTargetingError", false)) {
+ /**
+ * Lists all errors related to user domain targeting for a line item.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserDomainTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserDomainTargetingError";
+
+ /**
+ * @access public
+ * @var tnsUserDomainTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("VideoPosition", false)) {
+ /**
+ * Represents a targetable position within a video. A video ad can be targeted
+ * to a position (pre-roll, all mid-rolls, or post-roll), or to a specific mid-roll index.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPosition {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPosition";
+
+ /**
+ * @access public
+ * @var tnsVideoPositionType
+ */
+ public $positionType;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $midrollIndex;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($positionType = null, $midrollIndex = null) {
+ $this->positionType = $positionType;
+ $this->midrollIndex = $midrollIndex;
+ }
+
+ }
+}
+
+if (!class_exists("VideoPositionTargeting", false)) {
+ /**
+ * Represents positions within and around a video where ads can be targeted to.
+ *
+ * Example positions could be {@code pre-roll} (before the video plays),
+ * {@code post-roll} (after a video has completed playback) and
+ * {@code mid-roll} (during video playback).
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPositionTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPositionTargeting";
+
+ /**
+ * @access public
+ * @var VideoPositionTarget[]
+ */
+ public $targetedPositions;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedPositions = null) {
+ $this->targetedPositions = $targetedPositions;
+ }
+
+ }
+}
+
+if (!class_exists("VideoPositionWithinPod", false)) {
+ /**
+ * Represents a targetable position within a pod within a video stream. A video ad can be targeted
+ * to any position in the pod (first, second, third ... last). If there is only 1 ad in a pod,
+ * either first or last will target that position.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPositionWithinPod {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPositionWithinPod";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $index;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($index = null) {
+ $this->index = $index;
+ }
+
+ }
+}
+
+if (!class_exists("VideoPositionTarget", false)) {
+ /**
+ * Represents the options for targetable positions within a video.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPositionTarget {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPositionTarget";
+
+ /**
+ * @access public
+ * @var VideoPosition
+ */
+ public $videoPosition;
+
+ /**
+ * @access public
+ * @var tnsVideoBumperType
+ */
+ public $videoBumperType;
+
+ /**
+ * @access public
+ * @var VideoPositionWithinPod
+ */
+ public $videoPositionWithinPod;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($videoPosition = null, $videoBumperType = null, $videoPositionWithinPod = null) {
+ $this->videoPosition = $videoPosition;
+ $this->videoBumperType = $videoBumperType;
+ $this->videoPositionWithinPod = $videoPositionWithinPod;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AvailableBillingErrorReason", false)) {
+ /**
+ * The error reason represented by an enum.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AvailableBillingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AvailableBillingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("BillingBase", false)) {
+ /**
+ * Determines the base of billing calculation.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BillingBase {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BillingBase";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("BillingCap", false)) {
+ /**
+ * Determines how the revenue amount will be capped for each billing month. This cannot be used when
+ * {@link BillingSource} is {@link BillingSource#CONTRACTED}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BillingCap {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BillingCap";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("BillingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BillingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BillingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("BillingSchedule", false)) {
+ /**
+ * Determines how much to bill in each billing cycle when a proposal is charged based on the
+ * contracted value. This can only be used when {@link BillingSource} is
+ * {@link BillingSource#CONTRACTED}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BillingSchedule {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BillingSchedule";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("BillingSource", false)) {
+ /**
+ * Determines which billable numbers or delivery data (impressions, clicks, and so on)
+ * will be used for billing purposes.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BillingSource {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BillingSource";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CompanionDeliveryOption", false)) {
+ /**
+ * The delivery option for companions. Used for line items whose environmentType is
+ * {@link EnvironmentType#VIDEO_PLAYER}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CompanionDeliveryOption {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CompanionDeliveryOption";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ComputedStatus", false)) {
+ /**
+ * Describes the computed {@link LineItem} status that is derived from the
+ * current state of the line item.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ComputedStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ComputedStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CostAdjustment", false)) {
+ /**
+ * Describes the cost adjustment of {@link ProposalLineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CostAdjustment {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CostAdjustment";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeRotationType", false)) {
+ /**
+ * The strategy to use for displaying multiple {@link Creative} objects that are
+ * associated with a {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeRotationType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeRotationType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeSizeType", false)) {
+ /**
+ * Descriptions of the types of sizes a creative can be. Not all creatives can
+ * be described by a height-width pair, this provides additional context.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeSizeType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeSizeType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaComparisonOperator", false)) {
+ /**
+ * Specifies the available comparison operators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaComparisonOperator {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteria.ComparisonOperator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaSetLogicalOperator", false)) {
+ /**
+ * Specifies the available logical operators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaSetLogicalOperator {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteriaSet.LogicalOperator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValueErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValueErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValueError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AudienceSegmentCriteriaComparisonOperator", false)) {
+ /**
+ * Specifies the available comparison operators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceSegmentCriteriaComparisonOperator {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceSegmentCriteria.ComparisonOperator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("DayOfWeek", false)) {
+ /**
+ * Days of the week.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DayOfWeek {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DayOfWeek";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("DayPartTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DayPartTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DayPartTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("DeliveryTimeZone", false)) {
+ /**
+ * Represents the time zone to be used for {@link DayPartTargeting}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeliveryTimeZone {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeliveryTimeZone";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("DeliveryRateType", false)) {
+ /**
+ * Possible delivery rates for a {@link LineItem}, which dictate the manner in
+ * which they are served.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeliveryRateType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeliveryRateType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("EntityChildrenLimitReachedErrorReason", false)) {
+ /**
+ * The reasons for the entity children limit reached error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityChildrenLimitReachedErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityChildrenLimitReachedError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FrequencyCapErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FrequencyCapErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FrequencyCapError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GenericTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GenericTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GenericTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GeoTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GeoTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GeoTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GoalType", false)) {
+ /**
+ * Specifies the type of the goal for a {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GoalType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GoalType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InventoryTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LabelEntityAssociationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelEntityAssociationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelEntityAssociationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemOperationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemOperationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemOperationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemType", false)) {
+ /**
+ * {@code LineItemType} indicates the priority of a {@link LineItem}, determined
+ * by the way in which impressions are reserved to be served for it.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("MinuteOfHour", false)) {
+ /**
+ * Minutes in an hour. Currently, only 0, 15, 30, and 45 are supported. This
+ * field is required.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MinuteOfHour {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MinuteOfHour";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PrecisionErrorReason", false)) {
+ /**
+ * Describes reasons for precision errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PrecisionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PrecisionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PremiumAdjustmentType", false)) {
+ /**
+ * Describes how to apply the adjustment to the base rate.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PremiumAdjustmentType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PremiumAdjustmentType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProductErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProposalErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProposalLineItemActionErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalLineItemActionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalLineItemActionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProposalLineItemErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalLineItemErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalLineItemError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProposalLineItemPremiumStatus", false)) {
+ /**
+ * Status of the premium triggered by a proposal line item.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalLineItemPremiumStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalLineItemPremiumStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RangeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RateType", false)) {
+ /**
+ * Describes the type of event the advertiser is paying for. The values here correspond to the
+ * values for the {@link LineItem#costType} field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RateType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RateType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberErrorReason", false)) {
+ /**
+ * Describes reasons for a number to be invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ReservationDetailsErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReservationDetailsErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReservationDetailsError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ReservationStatus", false)) {
+ /**
+ * Represents the inventory reservation status for {@link ProposalLineItem} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReservationStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReservationStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RoadblockingType", false)) {
+ /**
+ * Describes the roadblocking types.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RoadblockingType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RoadblockingType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TeamErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TeamErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TeamError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TechnologyTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TechnologyTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TechnologyTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TimeUnit", false)) {
+ /**
+ * Represent the possible time units for frequency capping.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TimeUnit {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TimeUnit";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TimeZoneErrorReason", false)) {
+ /**
+ * Describes reasons for invalid timezone.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TimeZoneErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TimeZoneError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("UnitType", false)) {
+ /**
+ * Indicates the type of unit used for defining a reservation. The
+ * {@link CostType} can differ from the {@link UnitType} - an
+ * ad can have an impression goal, but be billed by its click. Usually
+ * {@link CostType} and {@link UnitType} will refer to the
+ * same unit.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UnitType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UnitType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("UserDomainTargetingErrorReason", false)) {
+ /**
+ * {@link ApiErrorReason} enum for user domain targeting error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserDomainTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserDomainTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("VideoBumperType", false)) {
+ /**
+ * Represents the options for targetable bumper positions, surrounding an ad
+ * pod, within a video stream. This includes before and after the supported ad
+ * pod positions, {@link VideoPositionType#PREROLL},
+ * {@link VideoPositionType#MIDROLL}, and {@link VideoPositionType#POSTROLL}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoBumperType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoBumperType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("VideoPositionType", false)) {
+ /**
+ * Represents a targetable position within a video.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPositionType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPosition.Type";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreateProposalLineItems", false)) {
+ /**
+ * Creates new {@link ProposalLineItem} objects.
+ *
+ * For each proposal line item, the following fields are required:
+ *
+ * - {@link ProposalLineItem#proposalId}
+ * - {@link ProposalLineItem#rateCardId}
+ * - {@link ProposalLineItem#productId}
+ * - {@link ProposalLineItem#name}
+ * - {@link ProposalLineItem#startDateTime}
+ * - {@link ProposalLineItem#endDateTime}
+ *
+ *
+ * @param proposalLineItems the proposal line items to create
+ * @return the created proposal line items with their IDs filled in
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateProposalLineItems {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProposalLineItem[]
+ */
+ public $proposalLineItems;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($proposalLineItems = null) {
+ $this->proposalLineItems = $proposalLineItems;
+ }
+
+ }
+}
+
+if (!class_exists("CreateProposalLineItemsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateProposalLineItemsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProposalLineItem[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetProposalLineItemsByStatement", false)) {
+ /**
+ * Gets a {@link ProposalLineItemPage} of {@link ProposalLineItem} objects
+ * that satisfy the given {@link Statement#query}. The following fields are supported for
+ * filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link ProposalLineItem#id} |
+ *
+ *
+ * {@code name} |
+ * {@link ProposalLineItem#name} |
+ *
+ *
+ * {@code proposalId} |
+ * {@link ProposalLineItem#proposalId} |
+ *
+ *
+ * {@code isArchived} |
+ * {@link ProposalLineItem#isArchived} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link ProposalLineItem#lastModifiedDateTime} |
+ *
+ *
+ * {@code useThirdPartyAdServerFromProposal} |
+ * {@link ProposalLineItem#useThirdPartyAdServerFromProposal} |
+ *
+ *
+ * {@code thirdPartyAdServerId} |
+ * {@link ProposalLineItem#thirdPartyAdServerId} |
+ *
+ *
+ * {@code customThirdPartyAdServerName} |
+ * {@link ProposalLineItem#customThirdPartyAdServerName} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of proposal line items
+ * @return the proposal line items that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetProposalLineItemsByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetProposalLineItemsByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetProposalLineItemsByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProposalLineItemPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("PerformProposalLineItemAction", false)) {
+ /**
+ * Performs actions on {@link ProposalLineItem} objects that match
+ * the given {@link Statement#query}.
+ *
+ * @param proposalLineItemAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter a set of
+ * proposal line items
+ * @return the result of the action performed
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformProposalLineItemAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProposalLineItemAction
+ */
+ public $proposalLineItemAction;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($proposalLineItemAction = null, $filterStatement = null) {
+ $this->proposalLineItemAction = $proposalLineItemAction;
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("PerformProposalLineItemActionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformProposalLineItemActionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UpdateResult
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateProposalLineItems", false)) {
+ /**
+ * Updates the specified {@link ProposalLineItem} objects.
+ *
+ * @param proposalLineItems the proposal line items to update
+ * @return the updated proposal line items
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateProposalLineItems {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProposalLineItem[]
+ */
+ public $proposalLineItems;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($proposalLineItems = null) {
+ $this->proposalLineItems = $proposalLineItems;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateProposalLineItemsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateProposalLineItemsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProposalLineItem[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ActualizeProposalLineItems", false)) {
+ /**
+ * The action used for actualizing {@link ProposalLineItem} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ActualizeProposalLineItems extends ProposalLineItemAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ActualizeProposalLineItems";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitPremiumFeature", false)) {
+ /**
+ * A premium feature applied to ad unit targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnitPremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("ArchiveProposalLineItems", false)) {
+ /**
+ * The action used for archiving {@link ProposalLineItem} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ArchiveProposalLineItems extends ProposalLineItemAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ArchiveProposalLineItems";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("AudienceSegmentPremiumFeature", false)) {
+ /**
+ * A premium feature applied to audience segment targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceSegmentPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceSegmentPremiumFeature";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $audienceSegmentId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($audienceSegmentId = null) {
+ parent::__construct();
+ $this->audienceSegmentId = $audienceSegmentId;
+ }
+
+ }
+}
+
+if (!class_exists("BandwidthPremiumFeature", false)) {
+ /**
+ * A premium feature applied to bandwidth targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BandwidthPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BandwidthPremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("BandwidthGroup", false)) {
+ /**
+ * Represents a group of bandwidths that are logically organized by some well
+ * known generic names such as 'Cable' or 'DSL'.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BandwidthGroup extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BandwidthGroup";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("Browser", false)) {
+ /**
+ * Represents an internet browser.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Browser extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Browser";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $majorVersion;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $minorVersion;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($majorVersion = null, $minorVersion = null, $id = null, $name = null) {
+ parent::__construct();
+ $this->majorVersion = $majorVersion;
+ $this->minorVersion = $minorVersion;
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("BrowserPremiumFeature", false)) {
+ /**
+ * A premium feature applied to browser targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BrowserPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BrowserPremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("BrowserLanguage", false)) {
+ /**
+ * Represents a Browser's language.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BrowserLanguage extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BrowserLanguage";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("BrowserLanguagePremiumFeature", false)) {
+ /**
+ * A premium feature applied to browser language targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BrowserLanguagePremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BrowserLanguagePremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaSet", false)) {
+ /**
+ * A {@link CustomCriteriaSet} comprises of a set of {@link CustomCriteriaNode}
+ * objects combined by the
+ * {@link CustomCriteriaSet.LogicalOperator#logicalOperator}. The custom
+ * criteria targeting tree is subject to the rules defined on
+ * {@link Targeting#customTargeting}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaSet extends CustomCriteriaNode {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteriaSet";
+
+ /**
+ * @access public
+ * @var tnsCustomCriteriaSetLogicalOperator
+ */
+ public $logicalOperator;
+
+ /**
+ * @access public
+ * @var CustomCriteriaNode[]
+ */
+ public $children;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($logicalOperator = null, $children = null) {
+ parent::__construct();
+ $this->logicalOperator = $logicalOperator;
+ $this->children = $children;
+ }
+
+ }
+}
+
+if (!class_exists("CustomTargetingPremiumFeature", false)) {
+ /**
+ * A premium feature applied to custom criteria targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomTargetingPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomTargetingPremiumFeature";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customTargetingKeyId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customTargetingValueId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customTargetingKeyId = null, $customTargetingValueId = null) {
+ parent::__construct();
+ $this->customTargetingKeyId = $customTargetingKeyId;
+ $this->customTargetingValueId = $customTargetingValueId;
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaLeaf", false)) {
+ /**
+ * A {@link CustomCriteriaLeaf} object represents a generic leaf of {@link CustomCriteria} tree
+ * structure.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaLeaf extends CustomCriteriaNode {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteriaLeaf";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("AudienceSegmentCriteria", false)) {
+ /**
+ * An {@link AudienceSegmentCriteria} object is used to target {@link AudienceSegment} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceSegmentCriteria extends CustomCriteriaLeaf {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceSegmentCriteria";
+
+ /**
+ * @access public
+ * @var tnsAudienceSegmentCriteriaComparisonOperator
+ */
+ public $operator;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $audienceSegmentIds;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($operator = null, $audienceSegmentIds = null) {
+ parent::__construct();
+ $this->operator = $operator;
+ $this->audienceSegmentIds = $audienceSegmentIds;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DaypartPremiumFeature", false)) {
+ /**
+ * A premium feature applied to daypart targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DaypartPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DaypartPremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("DeviceCapability", false)) {
+ /**
+ * Represents a capability of a physical device.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceCapability extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceCapability";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceCapabilityPremiumFeature", false)) {
+ /**
+ * A premium feature applied to device capability targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceCapabilityPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceCapabilityPremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("DeviceCategory", false)) {
+ /**
+ * Represents the category of a device.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceCategory extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceCategory";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceCategoryPremiumFeature", false)) {
+ /**
+ * A premium feature applied to device category targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceCategoryPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceCategoryPremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("DeviceManufacturer", false)) {
+ /**
+ * Represents a mobile device's manufacturer.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceManufacturer extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceManufacturer";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceManufacturerPremiumFeature", false)) {
+ /**
+ * A premium feature applied to device manufacturer targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceManufacturerPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceManufacturerPremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("FrequencyCapPremiumFeature", false)) {
+ /**
+ * A premium feature applied to frequency caps.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FrequencyCapPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FrequencyCapPremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("GeographyPremiumFeature", false)) {
+ /**
+ * A premium feature applied to geography targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GeographyPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GeographyPremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("MobileCarrier", false)) {
+ /**
+ * Represents a mobile carrier.
+ * Carrier targeting is only available to DFP mobile publishers.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileCarrier extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileCarrier";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("MobileCarrierPremiumFeature", false)) {
+ /**
+ * A premium feature applied to mobile carrier targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileCarrierPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileCarrierPremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("MobileDevice", false)) {
+ /**
+ * Represents a Mobile Device.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileDevice extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileDevice";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $manufacturerCriterionId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($manufacturerCriterionId = null, $id = null, $name = null) {
+ parent::__construct();
+ $this->manufacturerCriterionId = $manufacturerCriterionId;
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("MobileDeviceSubmodel", false)) {
+ /**
+ * Represents a mobile device submodel.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileDeviceSubmodel extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileDeviceSubmodel";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $mobileDeviceCriterionId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $deviceManufacturerCriterionId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($mobileDeviceCriterionId = null, $deviceManufacturerCriterionId = null, $id = null, $name = null) {
+ parent::__construct();
+ $this->mobileDeviceCriterionId = $mobileDeviceCriterionId;
+ $this->deviceManufacturerCriterionId = $deviceManufacturerCriterionId;
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("OperatingSystem", false)) {
+ /**
+ * Represents an Operating System, such as Linux, Mac OS or Windows.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OperatingSystem extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OperatingSystem";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("OperatingSystemPremiumFeature", false)) {
+ /**
+ * A premium feature applied to operating system targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OperatingSystemPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OperatingSystemPremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("OperatingSystemVersion", false)) {
+ /**
+ * Represents a specific version of an operating system.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OperatingSystemVersion extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OperatingSystemVersion";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $majorVersion;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minorVersion;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $microVersion;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($majorVersion = null, $minorVersion = null, $microVersion = null, $id = null, $name = null) {
+ parent::__construct();
+ $this->majorVersion = $majorVersion;
+ $this->minorVersion = $minorVersion;
+ $this->microVersion = $microVersion;
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("PauseProposalLineItems", false)) {
+ /**
+ * The action used for pausing {@link ProposalLineItem} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PauseProposalLineItems extends ProposalLineItemAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PauseProposalLineItems";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("PlacementPremiumFeature", false)) {
+ /**
+ * A premium feature applied to placement targeting.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PlacementPremiumFeature extends PremiumFeature {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PlacementPremiumFeature";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteria", false)) {
+ /**
+ * A {@link CustomCriteria} object is used to perform custom criteria targeting
+ * on custom targeting keys of type {@link CustomTargetingKey.Type#PREDEFINED}
+ * or {@link CustomTargetingKey.Type#FREEFORM}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteria extends CustomCriteriaLeaf {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteria";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $keyId;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $valueIds;
+
+ /**
+ * @access public
+ * @var tnsCustomCriteriaComparisonOperator
+ */
+ public $operator;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($keyId = null, $valueIds = null, $operator = null) {
+ parent::__construct();
+ $this->keyId = $keyId;
+ $this->valueIds = $valueIds;
+ $this->operator = $operator;
+ }
+
+ }
+}
+
+if (!class_exists("ProposalLineItemService", false)) {
+ /**
+ * ProposalLineItemService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalLineItemService extends DfpSoapClient {
+
+ const SERVICE_NAME = "ProposalLineItemService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/ProposalLineItemService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/ProposalLineItemService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ActualizeProposalLineItems" => "ActualizeProposalLineItems",
+ "AdUnitPremiumFeature" => "AdUnitPremiumFeature",
+ "AdUnitTargeting" => "AdUnitTargeting",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "TechnologyTargeting" => "TechnologyTargeting",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AppliedLabel" => "AppliedLabel",
+ "ArchiveProposalLineItems" => "ArchiveProposalLineItems",
+ "AudienceSegmentPremiumFeature" => "AudienceSegmentPremiumFeature",
+ "AuthenticationError" => "AuthenticationError",
+ "AvailableBillingError" => "AvailableBillingError",
+ "BandwidthPremiumFeature" => "BandwidthPremiumFeature",
+ "BandwidthGroup" => "BandwidthGroup",
+ "BandwidthGroupTargeting" => "BandwidthGroupTargeting",
+ "BaseCustomFieldValue" => "BaseCustomFieldValue",
+ "BillingError" => "BillingError",
+ "BooleanValue" => "BooleanValue",
+ "Browser" => "Browser",
+ "BrowserPremiumFeature" => "BrowserPremiumFeature",
+ "BrowserLanguage" => "BrowserLanguage",
+ "BrowserLanguagePremiumFeature" => "BrowserLanguagePremiumFeature",
+ "BrowserLanguageTargeting" => "BrowserLanguageTargeting",
+ "BrowserTargeting" => "BrowserTargeting",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "ContentMetadataKeyHierarchyTargeting" => "ContentMetadataKeyHierarchyTargeting",
+ "ContentTargeting" => "ContentTargeting",
+ "CreativePlaceholder" => "CreativePlaceholder",
+ "CustomCriteria" => "CustomCriteria",
+ "CustomCriteriaSet" => "CustomCriteriaSet",
+ "CustomFieldValue" => "CustomFieldValue",
+ "CustomFieldValueError" => "CustomFieldValueError",
+ "CustomTargetingError" => "CustomTargetingError",
+ "CustomTargetingPremiumFeature" => "CustomTargetingPremiumFeature",
+ "CustomCriteriaLeaf" => "CustomCriteriaLeaf",
+ "CustomCriteriaNode" => "CustomCriteriaNode",
+ "AudienceSegmentCriteria" => "AudienceSegmentCriteria",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "DayPart" => "DayPart",
+ "DaypartPremiumFeature" => "DaypartPremiumFeature",
+ "DayPartTargeting" => "DayPartTargeting",
+ "DayPartTargetingError" => "DayPartTargetingError",
+ "DeliveryData" => "DeliveryData",
+ "DeliveryIndicator" => "DeliveryIndicator",
+ "DeviceCapability" => "DeviceCapability",
+ "DeviceCapabilityPremiumFeature" => "DeviceCapabilityPremiumFeature",
+ "DeviceCapabilityTargeting" => "DeviceCapabilityTargeting",
+ "DeviceCategory" => "DeviceCategory",
+ "DeviceCategoryPremiumFeature" => "DeviceCategoryPremiumFeature",
+ "DeviceCategoryTargeting" => "DeviceCategoryTargeting",
+ "DeviceManufacturer" => "DeviceManufacturer",
+ "DeviceManufacturerPremiumFeature" => "DeviceManufacturerPremiumFeature",
+ "DeviceManufacturerTargeting" => "DeviceManufacturerTargeting",
+ "DropDownCustomFieldValue" => "DropDownCustomFieldValue",
+ "EntityChildrenLimitReachedError" => "EntityChildrenLimitReachedError",
+ "EntityLimitReachedError" => "EntityLimitReachedError",
+ "FeatureError" => "FeatureError",
+ "FrequencyCap" => "FrequencyCap",
+ "FrequencyCapError" => "FrequencyCapError",
+ "FrequencyCapPremiumFeature" => "FrequencyCapPremiumFeature",
+ "GenericTargetingError" => "GenericTargetingError",
+ "GeoTargeting" => "GeoTargeting",
+ "GeoTargetingError" => "GeoTargetingError",
+ "GeographyPremiumFeature" => "GeographyPremiumFeature",
+ "Goal" => "Goal",
+ "InternalApiError" => "InternalApiError",
+ "InventoryTargeting" => "InventoryTargeting",
+ "InventoryTargetingError" => "InventoryTargetingError",
+ "LabelEntityAssociationError" => "LabelEntityAssociationError",
+ "LineItemOperationError" => "LineItemOperationError",
+ "Location" => "DfpLocation",
+ "MobileCarrier" => "MobileCarrier",
+ "MobileCarrierPremiumFeature" => "MobileCarrierPremiumFeature",
+ "MobileCarrierTargeting" => "MobileCarrierTargeting",
+ "MobileDevice" => "MobileDevice",
+ "MobileDeviceSubmodel" => "MobileDeviceSubmodel",
+ "MobileDeviceSubmodelTargeting" => "MobileDeviceSubmodelTargeting",
+ "MobileDeviceTargeting" => "MobileDeviceTargeting",
+ "Money" => "Money",
+ "NotNullError" => "NotNullError",
+ "NumberValue" => "NumberValue",
+ "OperatingSystem" => "OperatingSystem",
+ "OperatingSystemPremiumFeature" => "OperatingSystemPremiumFeature",
+ "OperatingSystemTargeting" => "OperatingSystemTargeting",
+ "OperatingSystemVersion" => "OperatingSystemVersion",
+ "OperatingSystemVersionTargeting" => "OperatingSystemVersionTargeting",
+ "PauseProposalLineItems" => "PauseProposalLineItems",
+ "PermissionError" => "PermissionError",
+ "PlacementPremiumFeature" => "PlacementPremiumFeature",
+ "PrecisionError" => "PrecisionError",
+ "PremiumFeature" => "PremiumFeature",
+ "PremiumRateValue" => "PremiumRateValue",
+ "ProductError" => "ProductError",
+ "ProductTemplateTargeting" => "ProductTemplateTargeting",
+ "ProposalError" => "ProposalError",
+ "ProposalLineItemAction" => "ProposalLineItemAction",
+ "ProposalLineItemActionError" => "ProposalLineItemActionError",
+ "ProposalLineItemConstraints" => "ProposalLineItemConstraints",
+ "ProposalLineItem" => "ProposalLineItem",
+ "ProposalLineItemError" => "ProposalLineItemError",
+ "ProposalLineItemPage" => "ProposalLineItemPage",
+ "ProposalLineItemPremium" => "ProposalLineItemPremium",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RangeError" => "RangeError",
+ "ReleaseProposalLineItems" => "ReleaseProposalLineItems",
+ "RequiredError" => "RequiredError",
+ "RequiredNumberError" => "RequiredNumberError",
+ "ReservationDetailsError" => "ReservationDetailsError",
+ "ResumeProposalLineItems" => "ResumeProposalLineItems",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "Size" => "Size",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "StringLengthError" => "StringLengthError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "Targeting" => "Targeting",
+ "TeamError" => "TeamError",
+ "Technology" => "Technology",
+ "TechnologyTargetingError" => "TechnologyTargetingError",
+ "TextValue" => "TextValue",
+ "TimeOfDay" => "TimeOfDay",
+ "TimeZoneError" => "TimeZoneError",
+ "UnarchiveProposalLineItems" => "UnarchiveProposalLineItems",
+ "UniqueError" => "UniqueError",
+ "UnknownPremiumFeature" => "UnknownPremiumFeature",
+ "UpdateResult" => "UpdateResult",
+ "UserDomainPremiumFeature" => "UserDomainPremiumFeature",
+ "UserDomainTargeting" => "UserDomainTargeting",
+ "UserDomainTargetingError" => "UserDomainTargetingError",
+ "Value" => "Value",
+ "VideoPosition" => "VideoPosition",
+ "VideoPositionTargeting" => "VideoPositionTargeting",
+ "VideoPositionWithinPod" => "VideoPositionWithinPod",
+ "VideoPositionTarget" => "VideoPositionTarget",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "AvailableBillingError.Reason" => "AvailableBillingErrorReason",
+ "BillingBase" => "BillingBase",
+ "BillingCap" => "BillingCap",
+ "BillingError.Reason" => "BillingErrorReason",
+ "BillingSchedule" => "BillingSchedule",
+ "BillingSource" => "BillingSource",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "CompanionDeliveryOption" => "CompanionDeliveryOption",
+ "ComputedStatus" => "ComputedStatus",
+ "CostAdjustment" => "CostAdjustment",
+ "CreativeRotationType" => "CreativeRotationType",
+ "CreativeSizeType" => "CreativeSizeType",
+ "CustomCriteria.ComparisonOperator" => "CustomCriteriaComparisonOperator",
+ "CustomCriteriaSet.LogicalOperator" => "CustomCriteriaSetLogicalOperator",
+ "CustomFieldValueError.Reason" => "CustomFieldValueErrorReason",
+ "CustomTargetingError.Reason" => "CustomTargetingErrorReason",
+ "AudienceSegmentCriteria.ComparisonOperator" => "AudienceSegmentCriteriaComparisonOperator",
+ "DayOfWeek" => "DayOfWeek",
+ "DayPartTargetingError.Reason" => "DayPartTargetingErrorReason",
+ "DeliveryTimeZone" => "DeliveryTimeZone",
+ "DeliveryRateType" => "DeliveryRateType",
+ "EntityChildrenLimitReachedError.Reason" => "EntityChildrenLimitReachedErrorReason",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "FrequencyCapError.Reason" => "FrequencyCapErrorReason",
+ "GenericTargetingError.Reason" => "GenericTargetingErrorReason",
+ "GeoTargetingError.Reason" => "GeoTargetingErrorReason",
+ "GoalType" => "GoalType",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "InventoryTargetingError.Reason" => "InventoryTargetingErrorReason",
+ "LabelEntityAssociationError.Reason" => "LabelEntityAssociationErrorReason",
+ "LineItemOperationError.Reason" => "LineItemOperationErrorReason",
+ "LineItemType" => "LineItemType",
+ "MinuteOfHour" => "MinuteOfHour",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PrecisionError.Reason" => "PrecisionErrorReason",
+ "PremiumAdjustmentType" => "PremiumAdjustmentType",
+ "ProductError.Reason" => "ProductErrorReason",
+ "ProposalError.Reason" => "ProposalErrorReason",
+ "ProposalLineItemActionError.Reason" => "ProposalLineItemActionErrorReason",
+ "ProposalLineItemError.Reason" => "ProposalLineItemErrorReason",
+ "ProposalLineItemPremiumStatus" => "ProposalLineItemPremiumStatus",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RangeError.Reason" => "RangeErrorReason",
+ "RateType" => "RateType",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "RequiredNumberError.Reason" => "RequiredNumberErrorReason",
+ "ReservationDetailsError.Reason" => "ReservationDetailsErrorReason",
+ "ReservationStatus" => "ReservationStatus",
+ "RoadblockingType" => "RoadblockingType",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "TeamError.Reason" => "TeamErrorReason",
+ "TechnologyTargetingError.Reason" => "TechnologyTargetingErrorReason",
+ "TimeUnit" => "TimeUnit",
+ "TimeZoneError.Reason" => "TimeZoneErrorReason",
+ "UnitType" => "UnitType",
+ "UserDomainTargetingError.Reason" => "UserDomainTargetingErrorReason",
+ "VideoBumperType" => "VideoBumperType",
+ "VideoPosition.Type" => "VideoPositionType",
+ "createProposalLineItems" => "CreateProposalLineItems",
+ "createProposalLineItemsResponse" => "CreateProposalLineItemsResponse",
+ "getProposalLineItemsByStatement" => "GetProposalLineItemsByStatement",
+ "getProposalLineItemsByStatementResponse" => "GetProposalLineItemsByStatementResponse",
+ "performProposalLineItemAction" => "PerformProposalLineItemAction",
+ "performProposalLineItemActionResponse" => "PerformProposalLineItemActionResponse",
+ "updateProposalLineItems" => "UpdateProposalLineItems",
+ "updateProposalLineItemsResponse" => "UpdateProposalLineItemsResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Creates new {@link ProposalLineItem} objects.
+ *
+ * For each proposal line item, the following fields are required:
+ *
+ * - {@link ProposalLineItem#proposalId}
+ * - {@link ProposalLineItem#rateCardId}
+ * - {@link ProposalLineItem#productId}
+ * - {@link ProposalLineItem#name}
+ * - {@link ProposalLineItem#startDateTime}
+ * - {@link ProposalLineItem#endDateTime}
+ *
+ *
+ * @param proposalLineItems the proposal line items to create
+ * @return the created proposal line items with their IDs filled in
+ */
+ public function createProposalLineItems($proposalLineItems) {
+ $args = new CreateProposalLineItems($proposalLineItems);
+ $result = $this->__soapCall("createProposalLineItems", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@link ProposalLineItemPage} of {@link ProposalLineItem} objects
+ * that satisfy the given {@link Statement#query}. The following fields are supported for
+ * filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link ProposalLineItem#id} |
+ *
+ *
+ * {@code name} |
+ * {@link ProposalLineItem#name} |
+ *
+ *
+ * {@code proposalId} |
+ * {@link ProposalLineItem#proposalId} |
+ *
+ *
+ * {@code isArchived} |
+ * {@link ProposalLineItem#isArchived} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link ProposalLineItem#lastModifiedDateTime} |
+ *
+ *
+ * {@code useThirdPartyAdServerFromProposal} |
+ * {@link ProposalLineItem#useThirdPartyAdServerFromProposal} |
+ *
+ *
+ * {@code thirdPartyAdServerId} |
+ * {@link ProposalLineItem#thirdPartyAdServerId} |
+ *
+ *
+ * {@code customThirdPartyAdServerName} |
+ * {@link ProposalLineItem#customThirdPartyAdServerName} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of proposal line items
+ * @return the proposal line items that match the given filter
+ */
+ public function getProposalLineItemsByStatement($filterStatement) {
+ $args = new GetProposalLineItemsByStatement($filterStatement);
+ $result = $this->__soapCall("getProposalLineItemsByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Performs actions on {@link ProposalLineItem} objects that match
+ * the given {@link Statement#query}.
+ *
+ * @param proposalLineItemAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter a set of
+ * proposal line items
+ * @return the result of the action performed
+ */
+ public function performProposalLineItemAction($proposalLineItemAction, $filterStatement) {
+ $args = new PerformProposalLineItemAction($proposalLineItemAction, $filterStatement);
+ $result = $this->__soapCall("performProposalLineItemAction", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link ProposalLineItem} objects.
+ *
+ * @param proposalLineItems the proposal line items to update
+ * @return the updated proposal line items
+ */
+ public function updateProposalLineItems($proposalLineItems) {
+ $args = new UpdateProposalLineItems($proposalLineItems);
+ $result = $this->__soapCall("updateProposalLineItems", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/ProposalService.php b/src/Google/Api/Ads/Dfp/v201505/ProposalService.php
new file mode 100755
index 000000000..b57f78f55
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/ProposalService.php
@@ -0,0 +1,5926 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AppliedLabel", false)) {
+ /**
+ * Represents a {@link Label} that can be applied to an entity. To negate an
+ * inherited label, create an {@code AppliedLabel} with {@code labelId} as the
+ * inherited label's ID and {@code isNegated} set to true.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AppliedLabel {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AppliedLabel";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $labelId;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isNegated;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($labelId = null, $isNegated = null) {
+ $this->labelId = $labelId;
+ $this->isNegated = $isNegated;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("AvailableBillingError", false)) {
+ /**
+ * Lists all errors associated with the availability of billing settings based on
+ * proposal network settings.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AvailableBillingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AvailableBillingError";
+
+ /**
+ * @access public
+ * @var tnsAvailableBillingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("BaseCustomFieldValue", false)) {
+ /**
+ * The value of a {@link CustomField} for a particular entity.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BaseCustomFieldValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customFieldId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customFieldId = null) {
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("BillingError", false)) {
+ /**
+ * Lists all errors associated with the billing settings of a proposal or proposal line item.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BillingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BillingError";
+
+ /**
+ * @access public
+ * @var tnsBillingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValue", false)) {
+ /**
+ * The value of a {@link CustomField} that does not have a {@link CustomField#dataType}
+ * of {@link CustomFieldDataType#DROP_DOWN}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValue extends BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValue";
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null, $customFieldId = null) {
+ parent::__construct();
+ $this->value = $value;
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValueError", false)) {
+ /**
+ * Errors specific to editing custom field values
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValueError";
+
+ /**
+ * @access public
+ * @var tnsCustomFieldValueErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("DropDownCustomFieldValue", false)) {
+ /**
+ * A {@link CustomFieldValue} for a {@link CustomField} that has a {@link CustomField#dataType}
+ * of {@link CustomFieldDataType#DROP_DOWN}
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DropDownCustomFieldValue extends BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DropDownCustomFieldValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customFieldOptionId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customFieldOptionId = null, $customFieldId = null) {
+ parent::__construct();
+ $this->customFieldOptionId = $customFieldOptionId;
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("EntityChildrenLimitReachedError", false)) {
+ /**
+ * Lists errors relating to having too many children on an entity.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityChildrenLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityChildrenLimitReachedError";
+
+ /**
+ * @access public
+ * @var tnsEntityChildrenLimitReachedErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("EntityLimitReachedError", false)) {
+ /**
+ * An error that occurs when creating an entity if the limit on the number of allowed entities for
+ * a network has already been reached.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityLimitReachedError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ExchangeRateError", false)) {
+ /**
+ * Lists all errors associated with {@link ExchangeRate} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ExchangeRateError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ExchangeRateError";
+
+ /**
+ * @access public
+ * @var tnsExchangeRateErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ForecastError", false)) {
+ /**
+ * Errors that can result from a forecast request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ForecastError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ForecastError";
+
+ /**
+ * @access public
+ * @var tnsForecastErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InvalidUrlError", false)) {
+ /**
+ * Lists all errors associated with URLs.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidUrlError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidUrlError";
+
+ /**
+ * @access public
+ * @var tnsInvalidUrlErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LabelEntityAssociationError", false)) {
+ /**
+ * Errors specific to creating label entity associations.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelEntityAssociationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelEntityAssociationError";
+
+ /**
+ * @access public
+ * @var tnsLabelEntityAssociationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemOperationError", false)) {
+ /**
+ * Lists all errors for executing operations on line items
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemOperationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemOperationError";
+
+ /**
+ * @access public
+ * @var tnsLineItemOperationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Money", false)) {
+ /**
+ * Represents a money amount.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Money {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Money";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $currencyCode;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $microAmount;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($currencyCode = null, $microAmount = null) {
+ $this->currencyCode = $currencyCode;
+ $this->microAmount = $microAmount;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PackageActionError", false)) {
+ /**
+ * Lists all errors for executing actions on {@link Package} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PackageActionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PackageActionError";
+
+ /**
+ * @access public
+ * @var tnsPackageActionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PackageError", false)) {
+ /**
+ * Lists all errors associated with {@link Package} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PackageError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PackageError";
+
+ /**
+ * @access public
+ * @var tnsPackageErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PrecisionError", false)) {
+ /**
+ * List all errors associated with number precisions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PrecisionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PrecisionError";
+
+ /**
+ * @access public
+ * @var tnsPrecisionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProductError", false)) {
+ /**
+ * A catch-all error that lists all generic errors associated with Product.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductError";
+
+ /**
+ * @access public
+ * @var tnsProductErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProposalAction", false)) {
+ /**
+ * Represents the actions that can be performed on {@link Proposal} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalAction";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProposalActionError", false)) {
+ /**
+ * Lists all errors associated with performing actions on {@link Proposal} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalActionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalActionError";
+
+ /**
+ * @access public
+ * @var tnsProposalActionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProposalLink", false)) {
+ /**
+ * A link that can be added as a resource to a {@link Proposal}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalLink {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalLink";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $creatorId;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $url;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $description;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $creationDateTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null, $creatorId = null, $url = null, $description = null, $creationDateTime = null) {
+ $this->id = $id;
+ $this->name = $name;
+ $this->creatorId = $creatorId;
+ $this->url = $url;
+ $this->description = $description;
+ $this->creationDateTime = $creationDateTime;
+ }
+
+ }
+}
+
+if (!class_exists("ProposalCompanyAssociation", false)) {
+ /**
+ * A {@code ProposalCompanyAssociation} represents a {@link Company} associated with the
+ * {@link Proposal} and a set of {@link Contact} objects belonging to the company.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalCompanyAssociation {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalCompanyAssociation";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $companyId;
+
+ /**
+ * @access public
+ * @var tnsProposalCompanyAssociationType
+ */
+ public $type;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $contactIds;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($companyId = null, $type = null, $contactIds = null) {
+ $this->companyId = $companyId;
+ $this->type = $type;
+ $this->contactIds = $contactIds;
+ }
+
+ }
+}
+
+if (!class_exists("Proposal", false)) {
+ /**
+ * A {@code Proposal} represents an agreement between an interactive
+ * advertising seller and a buyer that specifies the details of an
+ * advertising campaign.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Proposal {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Proposal";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $dfpOrderId;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var tnsPricingModel
+ */
+ public $pricingModel;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $startDateTime;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $endDateTime;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneId;
+
+ /**
+ * @access public
+ * @var tnsProposalStatus
+ */
+ public $status;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isArchived;
+
+ /**
+ * @access public
+ * @var ProposalCompanyAssociation
+ */
+ public $advertiser;
+
+ /**
+ * @access public
+ * @var ProposalCompanyAssociation[]
+ */
+ public $agencies;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $probabilityOfClose;
+
+ /**
+ * @access public
+ * @var tnsBillingCap
+ */
+ public $billingCap;
+
+ /**
+ * @access public
+ * @var tnsBillingSchedule
+ */
+ public $billingSchedule;
+
+ /**
+ * @access public
+ * @var tnsBillingSource
+ */
+ public $billingSource;
+
+ /**
+ * @access public
+ * @var tnsBillingBase
+ */
+ public $billingBase;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $poNumber;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $notes;
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $budget;
+
+ /**
+ * @access public
+ * @var SalespersonSplit
+ */
+ public $primarySalesperson;
+
+ /**
+ * @access public
+ * @var SalespersonSplit[]
+ */
+ public $secondarySalespeople;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $salesPlannerIds;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $primaryTraffickerId;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $secondaryTraffickerIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $appliedTeamIds;
+
+ /**
+ * @access public
+ * @var BaseCustomFieldValue[]
+ */
+ public $customFieldValues;
+
+ /**
+ * @access public
+ * @var AppliedLabel[]
+ */
+ public $appliedLabels;
+
+ /**
+ * @access public
+ * @var AppliedLabel[]
+ */
+ public $effectiveAppliedLabels;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $advertiserDiscount;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $proposalDiscount;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $currencyCode;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $exchangeRate;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $refreshExchangeRate;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $agencyCommission;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $valueAddedTax;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isSold;
+
+ /**
+ * @access public
+ * @var tnsProposalApprovalStatus
+ */
+ public $approvalStatus;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $lastModifiedDateTime;
+
+ /**
+ * @access public
+ * @var ProposalLink[]
+ */
+ public $resources;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $actualExpiryTime;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $expectedExpiryTime;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $thirdPartyAdServerId;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $customThirdPartyAdServerName;
+
+ /**
+ * @access public
+ * @var RetractionDetails
+ */
+ public $lastRetractionDetails;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $dfpOrderId = null, $name = null, $pricingModel = null, $startDateTime = null, $endDateTime = null, $timeZoneId = null, $status = null, $isArchived = null, $advertiser = null, $agencies = null, $probabilityOfClose = null, $billingCap = null, $billingSchedule = null, $billingSource = null, $billingBase = null, $poNumber = null, $notes = null, $budget = null, $primarySalesperson = null, $secondarySalespeople = null, $salesPlannerIds = null, $primaryTraffickerId = null, $secondaryTraffickerIds = null, $appliedTeamIds = null, $customFieldValues = null, $appliedLabels = null, $effectiveAppliedLabels = null, $advertiserDiscount = null, $proposalDiscount = null, $currencyCode = null, $exchangeRate = null, $refreshExchangeRate = null, $agencyCommission = null, $valueAddedTax = null, $isSold = null, $approvalStatus = null, $lastModifiedDateTime = null, $resources = null, $actualExpiryTime = null, $expectedExpiryTime = null, $thirdPartyAdServerId = null, $customThirdPartyAdServerName = null, $lastRetractionDetails = null) {
+ $this->id = $id;
+ $this->dfpOrderId = $dfpOrderId;
+ $this->name = $name;
+ $this->pricingModel = $pricingModel;
+ $this->startDateTime = $startDateTime;
+ $this->endDateTime = $endDateTime;
+ $this->timeZoneId = $timeZoneId;
+ $this->status = $status;
+ $this->isArchived = $isArchived;
+ $this->advertiser = $advertiser;
+ $this->agencies = $agencies;
+ $this->probabilityOfClose = $probabilityOfClose;
+ $this->billingCap = $billingCap;
+ $this->billingSchedule = $billingSchedule;
+ $this->billingSource = $billingSource;
+ $this->billingBase = $billingBase;
+ $this->poNumber = $poNumber;
+ $this->notes = $notes;
+ $this->budget = $budget;
+ $this->primarySalesperson = $primarySalesperson;
+ $this->secondarySalespeople = $secondarySalespeople;
+ $this->salesPlannerIds = $salesPlannerIds;
+ $this->primaryTraffickerId = $primaryTraffickerId;
+ $this->secondaryTraffickerIds = $secondaryTraffickerIds;
+ $this->appliedTeamIds = $appliedTeamIds;
+ $this->customFieldValues = $customFieldValues;
+ $this->appliedLabels = $appliedLabels;
+ $this->effectiveAppliedLabels = $effectiveAppliedLabels;
+ $this->advertiserDiscount = $advertiserDiscount;
+ $this->proposalDiscount = $proposalDiscount;
+ $this->currencyCode = $currencyCode;
+ $this->exchangeRate = $exchangeRate;
+ $this->refreshExchangeRate = $refreshExchangeRate;
+ $this->agencyCommission = $agencyCommission;
+ $this->valueAddedTax = $valueAddedTax;
+ $this->isSold = $isSold;
+ $this->approvalStatus = $approvalStatus;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ $this->resources = $resources;
+ $this->actualExpiryTime = $actualExpiryTime;
+ $this->expectedExpiryTime = $expectedExpiryTime;
+ $this->thirdPartyAdServerId = $thirdPartyAdServerId;
+ $this->customThirdPartyAdServerName = $customThirdPartyAdServerName;
+ $this->lastRetractionDetails = $lastRetractionDetails;
+ }
+
+ }
+}
+
+if (!class_exists("ProposalError", false)) {
+ /**
+ * Lists all errors associated with proposals.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalError";
+
+ /**
+ * @access public
+ * @var tnsProposalErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProposalLineItemError", false)) {
+ /**
+ * Lists all errors associated with proposal line items.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalLineItemError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalLineItemError";
+
+ /**
+ * @access public
+ * @var tnsProposalLineItemErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProposalPage", false)) {
+ /**
+ * Captures a page of {@link Proposal} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalPage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var Proposal[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RangeError", false)) {
+ /**
+ * A list of all errors associated with the Range constraint.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError";
+
+ /**
+ * @access public
+ * @var tnsRangeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionError", false)) {
+ /**
+ * A list of all errors to be used for validating sizes of collections.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError";
+
+ /**
+ * @access public
+ * @var tnsRequiredCollectionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberError", false)) {
+ /**
+ * A list of all errors to be used in conjunction with required number
+ * validators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError";
+
+ /**
+ * @access public
+ * @var tnsRequiredNumberErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RetractProposals", false)) {
+ /**
+ * The action used for retracting {@link Proposal} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RetractProposals extends ProposalAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RetractProposals";
+
+ /**
+ * @access public
+ * @var RetractionDetails
+ */
+ public $retractionDetails;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($retractionDetails = null) {
+ parent::__construct();
+ $this->retractionDetails = $retractionDetails;
+ }
+
+ }
+}
+
+if (!class_exists("RetractionDetails", false)) {
+ /**
+ * Details describing why a {@link Proposal} was retracted.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RetractionDetails {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RetractionDetails";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $retractionReasonId;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $comments;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($retractionReasonId = null, $comments = null) {
+ $this->retractionReasonId = $retractionReasonId;
+ $this->comments = $comments;
+ }
+
+ }
+}
+
+if (!class_exists("SalespersonSplit", false)) {
+ /**
+ * A {@code SalespersonSplit} represents a salesperson and his/her split.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SalespersonSplit {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SalespersonSplit";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $userId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $split;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($userId = null, $split = null) {
+ $this->userId = $userId;
+ $this->split = $split;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthError", false)) {
+ /**
+ * Errors for Strings which do not meet given length constraints.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SubmitProposalsForApproval", false)) {
+ /**
+ * The action used for submitting {@link Proposal} objects for approval.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SubmitProposalsForApproval extends ProposalAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SubmitProposalsForApproval";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("TeamError", false)) {
+ /**
+ * Errors related to a Team.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TeamError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TeamError";
+
+ /**
+ * @access public
+ * @var tnsTeamErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TimeZoneError", false)) {
+ /**
+ * Errors related to timezones.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TimeZoneError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TimeZoneError";
+
+ /**
+ * @access public
+ * @var tnsTimeZoneErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TypeError", false)) {
+ /**
+ * An error for a field which is an invalid type.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TypeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TypeError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UnarchiveProposals", false)) {
+ /**
+ * The action used for unarchiving {@link Proposal} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UnarchiveProposals extends ProposalAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UnarchiveProposals";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateResult", false)) {
+ /**
+ * Represents the result of performing an action on objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UpdateResult";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numChanges;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($numChanges = null) {
+ $this->numChanges = $numChanges;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("WorkflowActionError", false)) {
+ /**
+ * Lists all errors associated with performing actions within {@link WorkflowAction}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class WorkflowActionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "WorkflowActionError";
+
+ /**
+ * @access public
+ * @var tnsWorkflowActionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("WorkflowValidationError", false)) {
+ /**
+ * Lists all errors associated with workflow validation.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class WorkflowValidationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "WorkflowValidationError";
+
+ /**
+ * @access public
+ * @var tnsWorkflowValidationErrorReason
+ */
+ public $reason;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $workflowErrorMessage;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $workflowErrorMessage = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->workflowErrorMessage = $workflowErrorMessage;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AvailableBillingErrorReason", false)) {
+ /**
+ * The error reason represented by an enum.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AvailableBillingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AvailableBillingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("BillingBase", false)) {
+ /**
+ * Determines the base of billing calculation.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BillingBase {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BillingBase";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("BillingCap", false)) {
+ /**
+ * Determines how the revenue amount will be capped for each billing month. This cannot be used when
+ * {@link BillingSource} is {@link BillingSource#CONTRACTED}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BillingCap {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BillingCap";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("BillingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BillingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BillingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("BillingSchedule", false)) {
+ /**
+ * Determines how much to bill in each billing cycle when a proposal is charged based on the
+ * contracted value. This can only be used when {@link BillingSource} is
+ * {@link BillingSource#CONTRACTED}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BillingSchedule {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BillingSchedule";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("BillingSource", false)) {
+ /**
+ * Determines which billable numbers or delivery data (impressions, clicks, and so on)
+ * will be used for billing purposes.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BillingSource {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BillingSource";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValueErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValueErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValueError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("EntityChildrenLimitReachedErrorReason", false)) {
+ /**
+ * The reasons for the entity children limit reached error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityChildrenLimitReachedErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityChildrenLimitReachedError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ExchangeRateErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ExchangeRateErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ExchangeRateError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ForecastErrorReason", false)) {
+ /**
+ * Reason why a forecast could not be retrieved.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ForecastErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ForecastError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InvalidUrlErrorReason", false)) {
+ /**
+ * The URL contains invalid characters.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidUrlErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidUrlError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LabelEntityAssociationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelEntityAssociationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelEntityAssociationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemOperationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemOperationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemOperationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProposalApprovalStatus", false)) {
+ /**
+ * Describes the {@link Proposal} status in terms of pending approvals of active user.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalApprovalStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalApprovalStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PackageActionErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PackageActionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PackageActionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PackageErrorReason", false)) {
+ /**
+ * The reasons for the {@link PackageError}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PackageErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PackageError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PrecisionErrorReason", false)) {
+ /**
+ * Describes reasons for precision errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PrecisionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PrecisionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PricingModel", false)) {
+ /**
+ * The option to specify whether the proposal uses the Net or Gross pricing model.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PricingModel {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PricingModel";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProductErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProductErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProductError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProposalActionErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalActionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalActionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProposalCompanyAssociationType", false)) {
+ /**
+ * Describes the type of a {@link Company} associated with a {@link Proposal}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalCompanyAssociationType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalCompanyAssociationType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProposalErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProposalLineItemErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalLineItemErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalLineItemError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProposalStatus", false)) {
+ /**
+ * Describes the {@link Proposal} status.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RangeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionErrorReason", false)) {
+ /**
+ * A required collection is missing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberErrorReason", false)) {
+ /**
+ * Describes reasons for a number to be invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TeamErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TeamErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TeamError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TimeZoneErrorReason", false)) {
+ /**
+ * Describes reasons for invalid timezone.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TimeZoneErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TimeZoneError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("WorkflowActionErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class WorkflowActionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "WorkflowActionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("WorkflowValidationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class WorkflowValidationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "WorkflowValidationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreateProposals", false)) {
+ /**
+ * Creates new {@link Proposal} objects.
+ *
+ * For each proposal, the following fields are required:
+ *
+ * - {@link Proposal#name}
+ *
+ *
+ * @param proposals the proposals to create
+ * @return the created proposals with their IDs filled in
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateProposals {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Proposal[]
+ */
+ public $proposals;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($proposals = null) {
+ $this->proposals = $proposals;
+ }
+
+ }
+}
+
+if (!class_exists("CreateProposalsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateProposalsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Proposal[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetProposalsByStatement", false)) {
+ /**
+ * Gets a {@link ProposalPage} of {@link Proposal} objects that satisfy the given
+ * {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property |
+ * Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link Proposal#id} |
+ *
+ *
+ * {@code dfpOrderId} |
+ * {@link Proposal#dfpOrderId} |
+ *
+ *
+ * {@code name} |
+ * {@link Proposal#name} |
+ *
+ *
+ * {@code status} |
+ * {@link Proposal#status} |
+ *
+ *
+ * {@code isArchived} |
+ * {@link Proposal#isArchived} |
+ *
+ *
+ * {@code approvalStatus} |
+ * {@link Proposal#approvalStatus} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link Proposal#lastModifiedDateTime} |
+ *
+ *
+ * {@code thirdPartyAdServerId} |
+ * {@link Proposal#thirdPartyAdServerId} |
+ *
+ *
+ * {@code customThirdPartyAdServerName} |
+ * {@link Proposal#customThirdPartyAdServerName} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of proposals
+ * @return the proposals that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetProposalsByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetProposalsByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetProposalsByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProposalPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("PerformProposalAction", false)) {
+ /**
+ * Performs actions on {@link Proposal} objects that match the given {@link Statement#query}.
+ *
+ * The following fields are also required when submitting proposals for approval:
+ *
+ * - {@link Proposal#advertiser}
+ * - {@link Proposal#primarySalesperson}
+ * - {@link Proposal#primaryTraffickerId}
+ *
+ *
+ * @param proposalAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter a set of proposals
+ * @return the result of the action performed
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformProposalAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ProposalAction
+ */
+ public $proposalAction;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($proposalAction = null, $filterStatement = null) {
+ $this->proposalAction = $proposalAction;
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("PerformProposalActionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformProposalActionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UpdateResult
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateProposals", false)) {
+ /**
+ * Updates the specified {@link Proposal} objects.
+ *
+ * @param proposals the proposals to update
+ * @return the updated proposals
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateProposals {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Proposal[]
+ */
+ public $proposals;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($proposals = null) {
+ $this->proposals = $proposals;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateProposalsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateProposalsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Proposal[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("ArchiveProposals", false)) {
+ /**
+ * The action used for archiving {@link Proposal} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ArchiveProposals extends ProposalAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ArchiveProposals";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("BypassProposalWorkflowRules", false)) {
+ /**
+ * The action used to bypass all rules associated with {@link WorkflowRequest WorkflowRequests}
+ * for {@link Proposal} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BypassProposalWorkflowRules extends ProposalAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BypassProposalWorkflowRules";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("ProposalService", false)) {
+ /**
+ * ProposalService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalService extends DfpSoapClient {
+
+ const SERVICE_NAME = "ProposalService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/ProposalService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/ProposalService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AppliedLabel" => "AppliedLabel",
+ "ArchiveProposals" => "ArchiveProposals",
+ "AuthenticationError" => "AuthenticationError",
+ "AvailableBillingError" => "AvailableBillingError",
+ "BaseCustomFieldValue" => "BaseCustomFieldValue",
+ "BillingError" => "BillingError",
+ "BooleanValue" => "BooleanValue",
+ "BypassProposalWorkflowRules" => "BypassProposalWorkflowRules",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "CustomFieldValue" => "CustomFieldValue",
+ "CustomFieldValueError" => "CustomFieldValueError",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "DropDownCustomFieldValue" => "DropDownCustomFieldValue",
+ "EntityChildrenLimitReachedError" => "EntityChildrenLimitReachedError",
+ "EntityLimitReachedError" => "EntityLimitReachedError",
+ "ExchangeRateError" => "ExchangeRateError",
+ "FeatureError" => "FeatureError",
+ "ForecastError" => "ForecastError",
+ "InternalApiError" => "InternalApiError",
+ "InvalidUrlError" => "InvalidUrlError",
+ "LabelEntityAssociationError" => "LabelEntityAssociationError",
+ "LineItemOperationError" => "LineItemOperationError",
+ "Money" => "Money",
+ "NotNullError" => "NotNullError",
+ "NumberValue" => "NumberValue",
+ "PackageActionError" => "PackageActionError",
+ "PackageError" => "PackageError",
+ "PermissionError" => "PermissionError",
+ "PrecisionError" => "PrecisionError",
+ "ProductError" => "ProductError",
+ "ProposalAction" => "ProposalAction",
+ "ProposalActionError" => "ProposalActionError",
+ "ProposalLink" => "ProposalLink",
+ "ProposalCompanyAssociation" => "ProposalCompanyAssociation",
+ "Proposal" => "Proposal",
+ "ProposalError" => "ProposalError",
+ "ProposalLineItemError" => "ProposalLineItemError",
+ "ProposalPage" => "ProposalPage",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RangeError" => "RangeError",
+ "RequiredCollectionError" => "RequiredCollectionError",
+ "RequiredError" => "RequiredError",
+ "RequiredNumberError" => "RequiredNumberError",
+ "RetractProposals" => "RetractProposals",
+ "RetractionDetails" => "RetractionDetails",
+ "SalespersonSplit" => "SalespersonSplit",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "StringLengthError" => "StringLengthError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "SubmitProposalsForApproval" => "SubmitProposalsForApproval",
+ "TeamError" => "TeamError",
+ "TextValue" => "TextValue",
+ "TimeZoneError" => "TimeZoneError",
+ "TypeError" => "TypeError",
+ "UnarchiveProposals" => "UnarchiveProposals",
+ "UniqueError" => "UniqueError",
+ "UpdateResult" => "UpdateResult",
+ "Value" => "Value",
+ "WorkflowActionError" => "WorkflowActionError",
+ "WorkflowValidationError" => "WorkflowValidationError",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "AvailableBillingError.Reason" => "AvailableBillingErrorReason",
+ "BillingBase" => "BillingBase",
+ "BillingCap" => "BillingCap",
+ "BillingError.Reason" => "BillingErrorReason",
+ "BillingSchedule" => "BillingSchedule",
+ "BillingSource" => "BillingSource",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "CustomFieldValueError.Reason" => "CustomFieldValueErrorReason",
+ "EntityChildrenLimitReachedError.Reason" => "EntityChildrenLimitReachedErrorReason",
+ "ExchangeRateError.Reason" => "ExchangeRateErrorReason",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "ForecastError.Reason" => "ForecastErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "InvalidUrlError.Reason" => "InvalidUrlErrorReason",
+ "LabelEntityAssociationError.Reason" => "LabelEntityAssociationErrorReason",
+ "LineItemOperationError.Reason" => "LineItemOperationErrorReason",
+ "ProposalApprovalStatus" => "ProposalApprovalStatus",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "PackageActionError.Reason" => "PackageActionErrorReason",
+ "PackageError.Reason" => "PackageErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PrecisionError.Reason" => "PrecisionErrorReason",
+ "PricingModel" => "PricingModel",
+ "ProductError.Reason" => "ProductErrorReason",
+ "ProposalActionError.Reason" => "ProposalActionErrorReason",
+ "ProposalCompanyAssociationType" => "ProposalCompanyAssociationType",
+ "ProposalError.Reason" => "ProposalErrorReason",
+ "ProposalLineItemError.Reason" => "ProposalLineItemErrorReason",
+ "ProposalStatus" => "ProposalStatus",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RangeError.Reason" => "RangeErrorReason",
+ "RequiredCollectionError.Reason" => "RequiredCollectionErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "RequiredNumberError.Reason" => "RequiredNumberErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "TeamError.Reason" => "TeamErrorReason",
+ "TimeZoneError.Reason" => "TimeZoneErrorReason",
+ "WorkflowActionError.Reason" => "WorkflowActionErrorReason",
+ "WorkflowValidationError.Reason" => "WorkflowValidationErrorReason",
+ "createProposals" => "CreateProposals",
+ "createProposalsResponse" => "CreateProposalsResponse",
+ "getProposalsByStatement" => "GetProposalsByStatement",
+ "getProposalsByStatementResponse" => "GetProposalsByStatementResponse",
+ "performProposalAction" => "PerformProposalAction",
+ "performProposalActionResponse" => "PerformProposalActionResponse",
+ "updateProposals" => "UpdateProposals",
+ "updateProposalsResponse" => "UpdateProposalsResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Creates new {@link Proposal} objects.
+ *
+ * For each proposal, the following fields are required:
+ *
+ * - {@link Proposal#name}
+ *
+ *
+ * @param proposals the proposals to create
+ * @return the created proposals with their IDs filled in
+ */
+ public function createProposals($proposals) {
+ $args = new CreateProposals($proposals);
+ $result = $this->__soapCall("createProposals", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@link ProposalPage} of {@link Proposal} objects that satisfy the given
+ * {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property |
+ * Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link Proposal#id} |
+ *
+ *
+ * {@code dfpOrderId} |
+ * {@link Proposal#dfpOrderId} |
+ *
+ *
+ * {@code name} |
+ * {@link Proposal#name} |
+ *
+ *
+ * {@code status} |
+ * {@link Proposal#status} |
+ *
+ *
+ * {@code isArchived} |
+ * {@link Proposal#isArchived} |
+ *
+ *
+ * {@code approvalStatus} |
+ * {@link Proposal#approvalStatus} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link Proposal#lastModifiedDateTime} |
+ *
+ *
+ * {@code thirdPartyAdServerId} |
+ * {@link Proposal#thirdPartyAdServerId} |
+ *
+ *
+ * {@code customThirdPartyAdServerName} |
+ * {@link Proposal#customThirdPartyAdServerName} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of proposals
+ * @return the proposals that match the given filter
+ */
+ public function getProposalsByStatement($filterStatement) {
+ $args = new GetProposalsByStatement($filterStatement);
+ $result = $this->__soapCall("getProposalsByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Performs actions on {@link Proposal} objects that match the given {@link Statement#query}.
+ *
+ * The following fields are also required when submitting proposals for approval:
+ *
+ * - {@link Proposal#advertiser}
+ * - {@link Proposal#primarySalesperson}
+ * - {@link Proposal#primaryTraffickerId}
+ *
+ *
+ * @param proposalAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter a set of proposals
+ * @return the result of the action performed
+ */
+ public function performProposalAction($proposalAction, $filterStatement) {
+ $args = new PerformProposalAction($proposalAction, $filterStatement);
+ $result = $this->__soapCall("performProposalAction", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link Proposal} objects.
+ *
+ * @param proposals the proposals to update
+ * @return the updated proposals
+ */
+ public function updateProposals($proposals) {
+ $args = new UpdateProposals($proposals);
+ $result = $this->__soapCall("updateProposals", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/PublisherQueryLanguageService.php b/src/Google/Api/Ads/Dfp/v201505/PublisherQueryLanguageService.php
new file mode 100755
index 000000000..def5dea92
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/PublisherQueryLanguageService.php
@@ -0,0 +1,6633 @@
+adUnitId = $adUnitId;
+ $this->includeDescendants = $includeDescendants;
+ }
+
+ }
+}
+
+if (!class_exists("ApiError", false)) {
+ /**
+ * The API error base class that provides details about an error that occurred
+ * while processing a service request.
+ *
+ * The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TechnologyTargeting", false)) {
+ /**
+ * Provides {@link LineItem} objects the ability to target or exclude
+ * technologies.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TechnologyTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TechnologyTargeting";
+
+ /**
+ * @access public
+ * @var BandwidthGroupTargeting
+ */
+ public $bandwidthGroupTargeting;
+
+ /**
+ * @access public
+ * @var BrowserTargeting
+ */
+ public $browserTargeting;
+
+ /**
+ * @access public
+ * @var BrowserLanguageTargeting
+ */
+ public $browserLanguageTargeting;
+
+ /**
+ * @access public
+ * @var DeviceCapabilityTargeting
+ */
+ public $deviceCapabilityTargeting;
+
+ /**
+ * @access public
+ * @var DeviceCategoryTargeting
+ */
+ public $deviceCategoryTargeting;
+
+ /**
+ * @access public
+ * @var DeviceManufacturerTargeting
+ */
+ public $deviceManufacturerTargeting;
+
+ /**
+ * @access public
+ * @var MobileCarrierTargeting
+ */
+ public $mobileCarrierTargeting;
+
+ /**
+ * @access public
+ * @var MobileDeviceTargeting
+ */
+ public $mobileDeviceTargeting;
+
+ /**
+ * @access public
+ * @var MobileDeviceSubmodelTargeting
+ */
+ public $mobileDeviceSubmodelTargeting;
+
+ /**
+ * @access public
+ * @var OperatingSystemTargeting
+ */
+ public $operatingSystemTargeting;
+
+ /**
+ * @access public
+ * @var OperatingSystemVersionTargeting
+ */
+ public $operatingSystemVersionTargeting;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($bandwidthGroupTargeting = null, $browserTargeting = null, $browserLanguageTargeting = null, $deviceCapabilityTargeting = null, $deviceCategoryTargeting = null, $deviceManufacturerTargeting = null, $mobileCarrierTargeting = null, $mobileDeviceTargeting = null, $mobileDeviceSubmodelTargeting = null, $operatingSystemTargeting = null, $operatingSystemVersionTargeting = null) {
+ $this->bandwidthGroupTargeting = $bandwidthGroupTargeting;
+ $this->browserTargeting = $browserTargeting;
+ $this->browserLanguageTargeting = $browserLanguageTargeting;
+ $this->deviceCapabilityTargeting = $deviceCapabilityTargeting;
+ $this->deviceCategoryTargeting = $deviceCategoryTargeting;
+ $this->deviceManufacturerTargeting = $deviceManufacturerTargeting;
+ $this->mobileCarrierTargeting = $mobileCarrierTargeting;
+ $this->mobileDeviceTargeting = $mobileDeviceTargeting;
+ $this->mobileDeviceSubmodelTargeting = $mobileDeviceSubmodelTargeting;
+ $this->operatingSystemTargeting = $operatingSystemTargeting;
+ $this->operatingSystemVersionTargeting = $operatingSystemVersionTargeting;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("BandwidthGroupTargeting", false)) {
+ /**
+ * Represents bandwidth groups that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BandwidthGroupTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BandwidthGroupTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $bandwidthGroups;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $bandwidthGroups = null) {
+ $this->isTargeted = $isTargeted;
+ $this->bandwidthGroups = $bandwidthGroups;
+ }
+
+ }
+}
+
+if (!class_exists("BrowserLanguageTargeting", false)) {
+ /**
+ * Represents browser languages that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BrowserLanguageTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BrowserLanguageTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $browserLanguages;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $browserLanguages = null) {
+ $this->isTargeted = $isTargeted;
+ $this->browserLanguages = $browserLanguages;
+ }
+
+ }
+}
+
+if (!class_exists("BrowserTargeting", false)) {
+ /**
+ * Represents browsers that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BrowserTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BrowserTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $browsers;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $browsers = null) {
+ $this->isTargeted = $isTargeted;
+ $this->browsers = $browsers;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ColumnType", false)) {
+ /**
+ * Contains information about a column in a {@link ResultSet}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ColumnType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ColumnType";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $labelName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($labelName = null) {
+ $this->labelName = $labelName;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ContentMetadataKeyHierarchyTargeting", false)) {
+ /**
+ * Represents one or more {@link CustomTargetingValue custom targeting values} from different
+ * {@link CustomTargetingKey custom targeting keys} ANDed together.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentMetadataKeyHierarchyTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentMetadataKeyHierarchyTargeting";
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $customTargetingValueIds;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customTargetingValueIds = null) {
+ $this->customTargetingValueIds = $customTargetingValueIds;
+ }
+
+ }
+}
+
+if (!class_exists("ContentTargeting", false)) {
+ /**
+ * Used to target {@link LineItem}s to specific videos on a publisher's site.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ContentTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ContentTargeting";
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $targetedContentIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $excludedContentIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $targetedVideoCategoryIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $excludedVideoCategoryIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $targetedVideoContentBundleIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $excludedVideoContentBundleIds;
+
+ /**
+ * @access public
+ * @var ContentMetadataKeyHierarchyTargeting[]
+ */
+ public $targetedContentMetadata;
+
+ /**
+ * @access public
+ * @var ContentMetadataKeyHierarchyTargeting[]
+ */
+ public $excludedContentMetadata;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedContentIds = null, $excludedContentIds = null, $targetedVideoCategoryIds = null, $excludedVideoCategoryIds = null, $targetedVideoContentBundleIds = null, $excludedVideoContentBundleIds = null, $targetedContentMetadata = null, $excludedContentMetadata = null) {
+ $this->targetedContentIds = $targetedContentIds;
+ $this->excludedContentIds = $excludedContentIds;
+ $this->targetedVideoCategoryIds = $targetedVideoCategoryIds;
+ $this->excludedVideoCategoryIds = $excludedVideoCategoryIds;
+ $this->targetedVideoContentBundleIds = $targetedVideoContentBundleIds;
+ $this->excludedVideoContentBundleIds = $excludedVideoContentBundleIds;
+ $this->targetedContentMetadata = $targetedContentMetadata;
+ $this->excludedContentMetadata = $excludedContentMetadata;
+ }
+
+ }
+}
+
+if (!class_exists("CreativeError", false)) {
+ /**
+ * Lists all errors associated with creatives.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeError";
+
+ /**
+ * @access public
+ * @var tnsCreativeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaNode", false)) {
+ /**
+ * A {@link CustomCriteriaNode} is a node in the custom targeting tree. A custom
+ * criteria node can either be a {@link CustomCriteriaSet} (a non-leaf node) or
+ * a {@link CustomCriteria} (a leaf node). The custom criteria targeting tree is
+ * subject to the rules defined on {@link Targeting#customTargeting}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaNode {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteriaNode";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("DayPart", false)) {
+ /**
+ * {@code DayPart} represents a time-period within a day of the week which is
+ * targeted by a {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DayPart {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DayPart";
+
+ /**
+ * @access public
+ * @var tnsDayOfWeek
+ */
+ public $dayOfWeek;
+
+ /**
+ * @access public
+ * @var TimeOfDay
+ */
+ public $startTime;
+
+ /**
+ * @access public
+ * @var TimeOfDay
+ */
+ public $endTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($dayOfWeek = null, $startTime = null, $endTime = null) {
+ $this->dayOfWeek = $dayOfWeek;
+ $this->startTime = $startTime;
+ $this->endTime = $endTime;
+ }
+
+ }
+}
+
+if (!class_exists("DayPartTargeting", false)) {
+ /**
+ * Modify the delivery times of line items for particular days of the week. By
+ * default, line items are served at all days and times.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DayPartTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DayPartTargeting";
+
+ /**
+ * @access public
+ * @var DayPart[]
+ */
+ public $dayParts;
+
+ /**
+ * @access public
+ * @var tnsDeliveryTimeZone
+ */
+ public $timeZone;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($dayParts = null, $timeZone = null) {
+ $this->dayParts = $dayParts;
+ $this->timeZone = $timeZone;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceCapabilityTargeting", false)) {
+ /**
+ * Represents device capabilities that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceCapabilityTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceCapabilityTargeting";
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $targetedDeviceCapabilities;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $excludedDeviceCapabilities;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedDeviceCapabilities = null, $excludedDeviceCapabilities = null) {
+ $this->targetedDeviceCapabilities = $targetedDeviceCapabilities;
+ $this->excludedDeviceCapabilities = $excludedDeviceCapabilities;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceCategoryTargeting", false)) {
+ /**
+ * Represents device categories that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceCategoryTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceCategoryTargeting";
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $targetedDeviceCategories;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $excludedDeviceCategories;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedDeviceCategories = null, $excludedDeviceCategories = null) {
+ $this->targetedDeviceCategories = $targetedDeviceCategories;
+ $this->excludedDeviceCategories = $excludedDeviceCategories;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceManufacturerTargeting", false)) {
+ /**
+ * Represents device manufacturer that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceManufacturerTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceManufacturerTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $deviceManufacturers;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $deviceManufacturers = null) {
+ $this->isTargeted = $isTargeted;
+ $this->deviceManufacturers = $deviceManufacturers;
+ }
+
+ }
+}
+
+if (!class_exists("ExchangeRateError", false)) {
+ /**
+ * Lists all errors associated with {@link ExchangeRate} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ExchangeRateError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ExchangeRateError";
+
+ /**
+ * @access public
+ * @var tnsExchangeRateErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FileError", false)) {
+ /**
+ * A list of all errors to be used for problems related to files.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FileError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FileError";
+
+ /**
+ * @access public
+ * @var tnsFileErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("GeoTargeting", false)) {
+ /**
+ * Provides line items the ability to target geographical locations. By default,
+ * line items target all countries and their subdivisions. With geographical
+ * targeting, you can target line items to specific countries, regions, metro
+ * areas, and cities. You can also exclude the same.
+ *
+ * The following rules apply for geographical targeting:
+ *
+ *
+ * - You cannot target and exclude the same location
+ * - You cannot target a child whose parent has been excluded. So if the state
+ * of Illinois has been excluded, then you cannot target Chicago
+ * - You must not target a location if you are also targeting its parent.
+ * So if you are targeting New York City, you must not have the state of New
+ * York as one of the targeted locations
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GeoTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "GeoTargeting";
+
+ /**
+ * @access public
+ * @var Location[]
+ */
+ public $targetedLocations;
+
+ /**
+ * @access public
+ * @var Location[]
+ */
+ public $excludedLocations;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedLocations = null, $excludedLocations = null) {
+ $this->targetedLocations = $targetedLocations;
+ $this->excludedLocations = $excludedLocations;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InvalidEmailError", false)) {
+ /**
+ * Caused by supplying a value for an email attribute that is not a valid
+ * email address.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidEmailError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidEmailError";
+
+ /**
+ * @access public
+ * @var tnsInvalidEmailErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InvalidUrlError", false)) {
+ /**
+ * Lists all errors associated with URLs.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidUrlError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidUrlError";
+
+ /**
+ * @access public
+ * @var tnsInvalidUrlErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InventoryTargeting", false)) {
+ /**
+ * A collection of targeted and excluded ad units and placements.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryTargeting";
+
+ /**
+ * @access public
+ * @var AdUnitTargeting[]
+ */
+ public $targetedAdUnits;
+
+ /**
+ * @access public
+ * @var AdUnitTargeting[]
+ */
+ public $excludedAdUnits;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $targetedPlacementIds;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedAdUnits = null, $excludedAdUnits = null, $targetedPlacementIds = null) {
+ $this->targetedAdUnits = $targetedAdUnits;
+ $this->excludedAdUnits = $excludedAdUnits;
+ $this->targetedPlacementIds = $targetedPlacementIds;
+ }
+
+ }
+}
+
+if (!class_exists("InventoryTargetingError", false)) {
+ /**
+ * Lists all inventory errors caused by associating a line item with a targeting
+ * expression.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryTargetingError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryTargetingError";
+
+ /**
+ * @access public
+ * @var tnsInventoryTargetingErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InventoryUnitError", false)) {
+ /**
+ * Lists the generic errors associated with {@link AdUnit} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryUnitError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryUnitError";
+
+ /**
+ * @access public
+ * @var tnsInventoryUnitErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemFlightDateError", false)) {
+ /**
+ * Lists all errors associated with LineItem start and end dates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemFlightDateError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemFlightDateError";
+
+ /**
+ * @access public
+ * @var tnsLineItemFlightDateErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemOperationError", false)) {
+ /**
+ * Lists all errors for executing operations on line items
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemOperationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemOperationError";
+
+ /**
+ * @access public
+ * @var tnsLineItemOperationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("DfpLocation", false)) {
+ /**
+ * A {@link Location} represents a geographical entity that can be targeted. If
+ * a location type is not available because of the API version you are using,
+ * the location will be represented as just the base class, otherwise it will be
+ * sub-classed correctly.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpLocation {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Location";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $type;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $canonicalParentId;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $displayName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $type = null, $canonicalParentId = null, $displayName = null) {
+ $this->id = $id;
+ $this->type = $type;
+ $this->canonicalParentId = $canonicalParentId;
+ $this->displayName = $displayName;
+ }
+
+ }
+}
+
+if (!class_exists("MobileCarrierTargeting", false)) {
+ /**
+ * Represents mobile carriers that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileCarrierTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileCarrierTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $mobileCarriers;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $mobileCarriers = null) {
+ $this->isTargeted = $isTargeted;
+ $this->mobileCarriers = $mobileCarriers;
+ }
+
+ }
+}
+
+if (!class_exists("MobileDeviceSubmodelTargeting", false)) {
+ /**
+ * Represents mobile devices that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileDeviceSubmodelTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileDeviceSubmodelTargeting";
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $targetedMobileDeviceSubmodels;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $excludedMobileDeviceSubmodels;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedMobileDeviceSubmodels = null, $excludedMobileDeviceSubmodels = null) {
+ $this->targetedMobileDeviceSubmodels = $targetedMobileDeviceSubmodels;
+ $this->excludedMobileDeviceSubmodels = $excludedMobileDeviceSubmodels;
+ }
+
+ }
+}
+
+if (!class_exists("MobileDeviceTargeting", false)) {
+ /**
+ * Represents mobile devices that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileDeviceTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileDeviceTargeting";
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $targetedMobileDevices;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $excludedMobileDevices;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedMobileDevices = null, $excludedMobileDevices = null) {
+ $this->targetedMobileDevices = $targetedMobileDevices;
+ $this->excludedMobileDevices = $excludedMobileDevices;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NullError", false)) {
+ /**
+ * Caused by supplying a non-null value for an attribute that should be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("OperatingSystemTargeting", false)) {
+ /**
+ * Represents operating systems that are being targeted or excluded by the
+ * {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OperatingSystemTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OperatingSystemTargeting";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isTargeted;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $operatingSystems;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isTargeted = null, $operatingSystems = null) {
+ $this->isTargeted = $isTargeted;
+ $this->operatingSystems = $operatingSystems;
+ }
+
+ }
+}
+
+if (!class_exists("OperatingSystemVersionTargeting", false)) {
+ /**
+ * Represents operating system versions that are being targeted or excluded by the {@link LineItem}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OperatingSystemVersionTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OperatingSystemVersionTargeting";
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $targetedOperatingSystemVersions;
+
+ /**
+ * @access public
+ * @var Technology[]
+ */
+ public $excludedOperatingSystemVersions;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedOperatingSystemVersions = null, $excludedOperatingSystemVersions = null) {
+ $this->targetedOperatingSystemVersions = $targetedOperatingSystemVersions;
+ $this->excludedOperatingSystemVersions = $excludedOperatingSystemVersions;
+ }
+
+ }
+}
+
+if (!class_exists("OrderActionError", false)) {
+ /**
+ * Lists all errors associated with performing actions on {@link Order} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OrderActionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OrderActionError";
+
+ /**
+ * @access public
+ * @var tnsOrderActionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("OrderError", false)) {
+ /**
+ * Lists all errors associated with orders.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OrderError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OrderError";
+
+ /**
+ * @access public
+ * @var tnsOrderErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ParseError", false)) {
+ /**
+ * Lists errors related to parsing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError";
+
+ /**
+ * @access public
+ * @var tnsParseErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RangeError", false)) {
+ /**
+ * A list of all errors associated with the Range constraint.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError";
+
+ /**
+ * @access public
+ * @var tnsRangeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RegExError", false)) {
+ /**
+ * Caused by supplying a value for an object attribute that does not conform
+ * to a documented valid regular expression.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RegExError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RegExError";
+
+ /**
+ * @access public
+ * @var tnsRegExErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionError", false)) {
+ /**
+ * A list of all errors to be used for validating sizes of collections.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError";
+
+ /**
+ * @access public
+ * @var tnsRequiredCollectionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberError", false)) {
+ /**
+ * A list of all errors to be used in conjunction with required number
+ * validators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError";
+
+ /**
+ * @access public
+ * @var tnsRequiredNumberErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredSizeError", false)) {
+ /**
+ * A list of all errors to be used for validating {@link Size}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredSizeError";
+
+ /**
+ * @access public
+ * @var tnsRequiredSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ReservationDetailsError", false)) {
+ /**
+ * Lists all errors associated with LineItem's reservation details.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReservationDetailsError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReservationDetailsError";
+
+ /**
+ * @access public
+ * @var tnsReservationDetailsErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ResultSet", false)) {
+ /**
+ * The {@code ResultSet} represents a table of data obtained from the execution of a PQL {@link
+ * Statement}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ResultSet {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ResultSet";
+
+ /**
+ * @access public
+ * @var ColumnType[]
+ */
+ public $columnTypes;
+
+ /**
+ * @access public
+ * @var Row[]
+ */
+ public $rows;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($columnTypes = null, $rows = null) {
+ $this->columnTypes = $columnTypes;
+ $this->rows = $rows;
+ }
+
+ }
+}
+
+if (!class_exists("Row", false)) {
+ /**
+ * Each {@link Row} object represents data about one entity in a
+ * {@link ResultSet}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Row {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Row";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("Targeting", false)) {
+ /**
+ * Contains targeting criteria for {@link LineItem} objects. See
+ * {@link LineItem#targeting}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Targeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Targeting";
+
+ /**
+ * @access public
+ * @var GeoTargeting
+ */
+ public $geoTargeting;
+
+ /**
+ * @access public
+ * @var InventoryTargeting
+ */
+ public $inventoryTargeting;
+
+ /**
+ * @access public
+ * @var DayPartTargeting
+ */
+ public $dayPartTargeting;
+
+ /**
+ * @access public
+ * @var TechnologyTargeting
+ */
+ public $technologyTargeting;
+
+ /**
+ * @access public
+ * @var CustomCriteriaSet
+ */
+ public $customTargeting;
+
+ /**
+ * @access public
+ * @var UserDomainTargeting
+ */
+ public $userDomainTargeting;
+
+ /**
+ * @access public
+ * @var ContentTargeting
+ */
+ public $contentTargeting;
+
+ /**
+ * @access public
+ * @var VideoPositionTargeting
+ */
+ public $videoPositionTargeting;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($geoTargeting = null, $inventoryTargeting = null, $dayPartTargeting = null, $technologyTargeting = null, $customTargeting = null, $userDomainTargeting = null, $contentTargeting = null, $videoPositionTargeting = null) {
+ $this->geoTargeting = $geoTargeting;
+ $this->inventoryTargeting = $inventoryTargeting;
+ $this->dayPartTargeting = $dayPartTargeting;
+ $this->technologyTargeting = $technologyTargeting;
+ $this->customTargeting = $customTargeting;
+ $this->userDomainTargeting = $userDomainTargeting;
+ $this->contentTargeting = $contentTargeting;
+ $this->videoPositionTargeting = $videoPositionTargeting;
+ }
+
+ }
+}
+
+if (!class_exists("Technology", false)) {
+ /**
+ * Represents a technology entity that can be targeted.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Technology";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("TimeOfDay", false)) {
+ /**
+ * Represents a specific time in a day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TimeOfDay {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TimeOfDay";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var tnsMinuteOfHour
+ */
+ public $minute;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($hour = null, $minute = null) {
+ $this->hour = $hour;
+ $this->minute = $minute;
+ }
+
+ }
+}
+
+if (!class_exists("TypeError", false)) {
+ /**
+ * An error for a field which is an invalid type.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TypeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TypeError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UserDomainTargeting", false)) {
+ /**
+ * Provides line items the ability to target or exclude users visiting their
+ * websites from a list of domains or subdomains.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserDomainTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserDomainTargeting";
+
+ /**
+ * @access public
+ * @var string[]
+ */
+ public $domains;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $targeted;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($domains = null, $targeted = null) {
+ $this->domains = $domains;
+ $this->targeted = $targeted;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("VideoPosition", false)) {
+ /**
+ * Represents a targetable position within a video. A video ad can be targeted
+ * to a position (pre-roll, all mid-rolls, or post-roll), or to a specific mid-roll index.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPosition {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPosition";
+
+ /**
+ * @access public
+ * @var tnsVideoPositionType
+ */
+ public $positionType;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $midrollIndex;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($positionType = null, $midrollIndex = null) {
+ $this->positionType = $positionType;
+ $this->midrollIndex = $midrollIndex;
+ }
+
+ }
+}
+
+if (!class_exists("VideoPositionTargeting", false)) {
+ /**
+ * Represents positions within and around a video where ads can be targeted to.
+ *
+ * Example positions could be {@code pre-roll} (before the video plays),
+ * {@code post-roll} (after a video has completed playback) and
+ * {@code mid-roll} (during video playback).
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPositionTargeting {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPositionTargeting";
+
+ /**
+ * @access public
+ * @var VideoPositionTarget[]
+ */
+ public $targetedPositions;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($targetedPositions = null) {
+ $this->targetedPositions = $targetedPositions;
+ }
+
+ }
+}
+
+if (!class_exists("VideoPositionWithinPod", false)) {
+ /**
+ * Represents a targetable position within a pod within a video stream. A video ad can be targeted
+ * to any position in the pod (first, second, third ... last). If there is only 1 ad in a pod,
+ * either first or last will target that position.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPositionWithinPod {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPositionWithinPod";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $index;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($index = null) {
+ $this->index = $index;
+ }
+
+ }
+}
+
+if (!class_exists("VideoPositionTarget", false)) {
+ /**
+ * Represents the options for targetable positions within a video.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPositionTarget {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPositionTarget";
+
+ /**
+ * @access public
+ * @var VideoPosition
+ */
+ public $videoPosition;
+
+ /**
+ * @access public
+ * @var tnsVideoBumperType
+ */
+ public $videoBumperType;
+
+ /**
+ * @access public
+ * @var VideoPositionWithinPod
+ */
+ public $videoPositionWithinPod;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($videoPosition = null, $videoBumperType = null, $videoPositionWithinPod = null) {
+ $this->videoPosition = $videoPosition;
+ $this->videoBumperType = $videoBumperType;
+ $this->videoPositionWithinPod = $videoPositionWithinPod;
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitAfcSizeErrorReason", false)) {
+ /**
+ * The supplied Afc size is not valid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitAfcSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnitAfcSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitCodeErrorReason", false)) {
+ /**
+ * For {@link AdUnit#adUnitCode}, only alpha-numeric characters,
+ * underscores, hyphens, periods, asterisks, double quotes, back slashes,
+ * forward slashes, exclamations, left angle brackets, colons and
+ * parentheses are allowed.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitCodeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnitCodeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitHierarchyErrorReason", false)) {
+ /**
+ * The depth of the {@link AdUnit} in the inventory hierarchy is greater
+ * than is allowed. The maximum allowed depth is two below the effective
+ * root ad unit for Premium accounts and one level below effective root ad
+ * unit for Small Business accounts.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitHierarchyErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnitHierarchyError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreativeErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreativeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CreativeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaComparisonOperator", false)) {
+ /**
+ * Specifies the available comparison operators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaComparisonOperator {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteria.ComparisonOperator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaSetLogicalOperator", false)) {
+ /**
+ * Specifies the available logical operators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaSetLogicalOperator {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteriaSet.LogicalOperator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AudienceSegmentCriteriaComparisonOperator", false)) {
+ /**
+ * Specifies the available comparison operators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceSegmentCriteriaComparisonOperator {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceSegmentCriteria.ComparisonOperator";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("DayOfWeek", false)) {
+ /**
+ * Days of the week.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DayOfWeek {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DayOfWeek";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("DeliveryTimeZone", false)) {
+ /**
+ * Represents the time zone to be used for {@link DayPartTargeting}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeliveryTimeZone {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeliveryTimeZone";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ExchangeRateErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ExchangeRateErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ExchangeRateError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FileErrorReason", false)) {
+ /**
+ * The provided byte array is empty.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FileErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FileError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InvalidEmailErrorReason", false)) {
+ /**
+ * Describes reasons for an email to be invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidEmailErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidEmailError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InvalidUrlErrorReason", false)) {
+ /**
+ * The URL contains invalid characters.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidUrlErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidUrlError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InventoryTargetingErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryTargetingErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryTargetingError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InventoryUnitErrorReason", false)) {
+ /**
+ * Possible reasons for the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryUnitErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryUnitError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemFlightDateErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemFlightDateErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemFlightDateError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemOperationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemOperationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemOperationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("MinuteOfHour", false)) {
+ /**
+ * Minutes in an hour. Currently, only 0, 15, 30, and 45 are supported. This
+ * field is required.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MinuteOfHour {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MinuteOfHour";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("OrderActionErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OrderActionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OrderActionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("OrderErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OrderErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OrderError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ParseErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RangeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RegExErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RegExErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RegExError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionErrorReason", false)) {
+ /**
+ * A required collection is missing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberErrorReason", false)) {
+ /**
+ * Describes reasons for a number to be invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredSizeErrorReason", false)) {
+ /**
+ * {@link Creative#size} or {@link LineItem#creativeSizes} is
+ * missing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ReservationDetailsErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReservationDetailsErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReservationDetailsError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("VideoBumperType", false)) {
+ /**
+ * Represents the options for targetable bumper positions, surrounding an ad
+ * pod, within a video stream. This includes before and after the supported ad
+ * pod positions, {@link VideoPositionType#PREROLL},
+ * {@link VideoPositionType#MIDROLL}, and {@link VideoPositionType#POSTROLL}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoBumperType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoBumperType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("VideoPositionType", false)) {
+ /**
+ * Represents a targetable position within a video.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class VideoPositionType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "VideoPosition.Type";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("Select", false)) {
+ /**
+ * Retrieves rows of data that satisfy the given {@link Statement#query} from
+ * the system.
+ *
+ * @param selectStatement a Publisher Query Language statement used to
+ * specify what data needs to returned
+ *
+ * @return a result set of data that matches the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Select {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $selectStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($selectStatement = null) {
+ $this->selectStatement = $selectStatement;
+ }
+
+ }
+}
+
+if (!class_exists("SelectResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SelectResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ResultSet
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitAfcSizeError", false)) {
+ /**
+ * Caused by supplying sizes that are not compatible with the Afc sizes.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitAfcSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnitAfcSizeError";
+
+ /**
+ * @access public
+ * @var tnsAdUnitAfcSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitCodeError", false)) {
+ /**
+ * Lists the generic errors associated with {@link AdUnit#adUnitCode}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitCodeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnitCodeError";
+
+ /**
+ * @access public
+ * @var tnsAdUnitCodeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitHierarchyError", false)) {
+ /**
+ * Caused by creating an {@link AdUnit} object with an invalid hierarchy.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitHierarchyError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnitHierarchyError";
+
+ /**
+ * @access public
+ * @var tnsAdUnitHierarchyErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("BandwidthGroup", false)) {
+ /**
+ * Represents a group of bandwidths that are logically organized by some well
+ * known generic names such as 'Cable' or 'DSL'.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BandwidthGroup extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BandwidthGroup";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("Browser", false)) {
+ /**
+ * Represents an internet browser.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Browser extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Browser";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $majorVersion;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $minorVersion;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($majorVersion = null, $minorVersion = null, $id = null, $name = null) {
+ parent::__construct();
+ $this->majorVersion = $majorVersion;
+ $this->minorVersion = $minorVersion;
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("BrowserLanguage", false)) {
+ /**
+ * Represents a Browser's language.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BrowserLanguage extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BrowserLanguage";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaSet", false)) {
+ /**
+ * A {@link CustomCriteriaSet} comprises of a set of {@link CustomCriteriaNode}
+ * objects combined by the
+ * {@link CustomCriteriaSet.LogicalOperator#logicalOperator}. The custom
+ * criteria targeting tree is subject to the rules defined on
+ * {@link Targeting#customTargeting}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaSet extends CustomCriteriaNode {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteriaSet";
+
+ /**
+ * @access public
+ * @var tnsCustomCriteriaSetLogicalOperator
+ */
+ public $logicalOperator;
+
+ /**
+ * @access public
+ * @var CustomCriteriaNode[]
+ */
+ public $children;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($logicalOperator = null, $children = null) {
+ parent::__construct();
+ $this->logicalOperator = $logicalOperator;
+ $this->children = $children;
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteriaLeaf", false)) {
+ /**
+ * A {@link CustomCriteriaLeaf} object represents a generic leaf of {@link CustomCriteria} tree
+ * structure.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteriaLeaf extends CustomCriteriaNode {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteriaLeaf";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("AudienceSegmentCriteria", false)) {
+ /**
+ * An {@link AudienceSegmentCriteria} object is used to target {@link AudienceSegment} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AudienceSegmentCriteria extends CustomCriteriaLeaf {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AudienceSegmentCriteria";
+
+ /**
+ * @access public
+ * @var tnsAudienceSegmentCriteriaComparisonOperator
+ */
+ public $operator;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $audienceSegmentIds;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($operator = null, $audienceSegmentIds = null) {
+ parent::__construct();
+ $this->operator = $operator;
+ $this->audienceSegmentIds = $audienceSegmentIds;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceCapability", false)) {
+ /**
+ * Represents a capability of a physical device.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceCapability extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceCapability";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceCategory", false)) {
+ /**
+ * Represents the category of a device.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceCategory extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceCategory";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("DeviceManufacturer", false)) {
+ /**
+ * Represents a mobile device's manufacturer.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeviceManufacturer extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeviceManufacturer";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("MobileCarrier", false)) {
+ /**
+ * Represents a mobile carrier.
+ * Carrier targeting is only available to DFP mobile publishers.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileCarrier extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileCarrier";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("MobileDevice", false)) {
+ /**
+ * Represents a Mobile Device.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileDevice extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileDevice";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $manufacturerCriterionId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($manufacturerCriterionId = null, $id = null, $name = null) {
+ parent::__construct();
+ $this->manufacturerCriterionId = $manufacturerCriterionId;
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("MobileDeviceSubmodel", false)) {
+ /**
+ * Represents a mobile device submodel.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class MobileDeviceSubmodel extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "MobileDeviceSubmodel";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $mobileDeviceCriterionId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $deviceManufacturerCriterionId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($mobileDeviceCriterionId = null, $deviceManufacturerCriterionId = null, $id = null, $name = null) {
+ parent::__construct();
+ $this->mobileDeviceCriterionId = $mobileDeviceCriterionId;
+ $this->deviceManufacturerCriterionId = $deviceManufacturerCriterionId;
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("OperatingSystem", false)) {
+ /**
+ * Represents an Operating System, such as Linux, Mac OS or Windows.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OperatingSystem extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OperatingSystem";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null) {
+ parent::__construct();
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("OperatingSystemVersion", false)) {
+ /**
+ * Represents a specific version of an operating system.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class OperatingSystemVersion extends Technology {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "OperatingSystemVersion";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $majorVersion;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minorVersion;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $microVersion;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($majorVersion = null, $minorVersion = null, $microVersion = null, $id = null, $name = null) {
+ parent::__construct();
+ $this->majorVersion = $majorVersion;
+ $this->minorVersion = $minorVersion;
+ $this->microVersion = $microVersion;
+ $this->id = $id;
+ $this->name = $name;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TargetingValue", false)) {
+ /**
+ * Contains a {@link Targeting} value.
+ *
+ * This object is experimental!
+ * TargetingValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * TargetingValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TargetingValue extends ObjectValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TargetingValue";
+
+ /**
+ * @access public
+ * @var Targeting
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("CustomCriteria", false)) {
+ /**
+ * A {@link CustomCriteria} object is used to perform custom criteria targeting
+ * on custom targeting keys of type {@link CustomTargetingKey.Type#PREDEFINED}
+ * or {@link CustomTargetingKey.Type#FREEFORM}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomCriteria extends CustomCriteriaLeaf {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomCriteria";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $keyId;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $valueIds;
+
+ /**
+ * @access public
+ * @var tnsCustomCriteriaComparisonOperator
+ */
+ public $operator;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($keyId = null, $valueIds = null, $operator = null) {
+ parent::__construct();
+ $this->keyId = $keyId;
+ $this->valueIds = $valueIds;
+ $this->operator = $operator;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageService", false)) {
+ /**
+ * PublisherQueryLanguageService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageService extends DfpSoapClient {
+
+ const SERVICE_NAME = "PublisherQueryLanguageService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/PublisherQueryLanguageService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/PublisherQueryLanguageService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "AdUnitAfcSizeError" => "AdUnitAfcSizeError",
+ "AdUnitCodeError" => "AdUnitCodeError",
+ "AdUnitHierarchyError" => "AdUnitHierarchyError",
+ "AdUnitTargeting" => "AdUnitTargeting",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "TechnologyTargeting" => "TechnologyTargeting",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AuthenticationError" => "AuthenticationError",
+ "BandwidthGroup" => "BandwidthGroup",
+ "BandwidthGroupTargeting" => "BandwidthGroupTargeting",
+ "BooleanValue" => "BooleanValue",
+ "Browser" => "Browser",
+ "BrowserLanguage" => "BrowserLanguage",
+ "BrowserLanguageTargeting" => "BrowserLanguageTargeting",
+ "BrowserTargeting" => "BrowserTargeting",
+ "CollectionSizeError" => "CollectionSizeError",
+ "ColumnType" => "ColumnType",
+ "CommonError" => "CommonError",
+ "ContentMetadataKeyHierarchyTargeting" => "ContentMetadataKeyHierarchyTargeting",
+ "ContentTargeting" => "ContentTargeting",
+ "CreativeError" => "CreativeError",
+ "CustomCriteria" => "CustomCriteria",
+ "CustomCriteriaSet" => "CustomCriteriaSet",
+ "CustomCriteriaLeaf" => "CustomCriteriaLeaf",
+ "CustomCriteriaNode" => "CustomCriteriaNode",
+ "AudienceSegmentCriteria" => "AudienceSegmentCriteria",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "DayPart" => "DayPart",
+ "DayPartTargeting" => "DayPartTargeting",
+ "DeviceCapability" => "DeviceCapability",
+ "DeviceCapabilityTargeting" => "DeviceCapabilityTargeting",
+ "DeviceCategory" => "DeviceCategory",
+ "DeviceCategoryTargeting" => "DeviceCategoryTargeting",
+ "DeviceManufacturer" => "DeviceManufacturer",
+ "DeviceManufacturerTargeting" => "DeviceManufacturerTargeting",
+ "ExchangeRateError" => "ExchangeRateError",
+ "FeatureError" => "FeatureError",
+ "FileError" => "FileError",
+ "GeoTargeting" => "GeoTargeting",
+ "InternalApiError" => "InternalApiError",
+ "InvalidEmailError" => "InvalidEmailError",
+ "InvalidUrlError" => "InvalidUrlError",
+ "InventoryTargeting" => "InventoryTargeting",
+ "InventoryTargetingError" => "InventoryTargetingError",
+ "InventoryUnitError" => "InventoryUnitError",
+ "LineItemFlightDateError" => "LineItemFlightDateError",
+ "LineItemOperationError" => "LineItemOperationError",
+ "Location" => "DfpLocation",
+ "MobileCarrier" => "MobileCarrier",
+ "MobileCarrierTargeting" => "MobileCarrierTargeting",
+ "MobileDevice" => "MobileDevice",
+ "MobileDeviceSubmodel" => "MobileDeviceSubmodel",
+ "MobileDeviceSubmodelTargeting" => "MobileDeviceSubmodelTargeting",
+ "MobileDeviceTargeting" => "MobileDeviceTargeting",
+ "NotNullError" => "NotNullError",
+ "NullError" => "NullError",
+ "NumberValue" => "NumberValue",
+ "OperatingSystem" => "OperatingSystem",
+ "OperatingSystemTargeting" => "OperatingSystemTargeting",
+ "OperatingSystemVersion" => "OperatingSystemVersion",
+ "OperatingSystemVersionTargeting" => "OperatingSystemVersionTargeting",
+ "OrderActionError" => "OrderActionError",
+ "OrderError" => "OrderError",
+ "ParseError" => "ParseError",
+ "PermissionError" => "PermissionError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RangeError" => "RangeError",
+ "RegExError" => "RegExError",
+ "RequiredCollectionError" => "RequiredCollectionError",
+ "RequiredError" => "RequiredError",
+ "RequiredNumberError" => "RequiredNumberError",
+ "RequiredSizeError" => "RequiredSizeError",
+ "ReservationDetailsError" => "ReservationDetailsError",
+ "ResultSet" => "ResultSet",
+ "Row" => "Row",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "Targeting" => "Targeting",
+ "TargetingValue" => "TargetingValue",
+ "Technology" => "Technology",
+ "TextValue" => "TextValue",
+ "TimeOfDay" => "TimeOfDay",
+ "TypeError" => "TypeError",
+ "UniqueError" => "UniqueError",
+ "UserDomainTargeting" => "UserDomainTargeting",
+ "Value" => "Value",
+ "VideoPosition" => "VideoPosition",
+ "VideoPositionTargeting" => "VideoPositionTargeting",
+ "VideoPositionWithinPod" => "VideoPositionWithinPod",
+ "VideoPositionTarget" => "VideoPositionTarget",
+ "AdUnitAfcSizeError.Reason" => "AdUnitAfcSizeErrorReason",
+ "AdUnitCodeError.Reason" => "AdUnitCodeErrorReason",
+ "AdUnitHierarchyError.Reason" => "AdUnitHierarchyErrorReason",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "CreativeError.Reason" => "CreativeErrorReason",
+ "CustomCriteria.ComparisonOperator" => "CustomCriteriaComparisonOperator",
+ "CustomCriteriaSet.LogicalOperator" => "CustomCriteriaSetLogicalOperator",
+ "AudienceSegmentCriteria.ComparisonOperator" => "AudienceSegmentCriteriaComparisonOperator",
+ "DayOfWeek" => "DayOfWeek",
+ "DeliveryTimeZone" => "DeliveryTimeZone",
+ "ExchangeRateError.Reason" => "ExchangeRateErrorReason",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "FileError.Reason" => "FileErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "InvalidEmailError.Reason" => "InvalidEmailErrorReason",
+ "InvalidUrlError.Reason" => "InvalidUrlErrorReason",
+ "InventoryTargetingError.Reason" => "InventoryTargetingErrorReason",
+ "InventoryUnitError.Reason" => "InventoryUnitErrorReason",
+ "LineItemFlightDateError.Reason" => "LineItemFlightDateErrorReason",
+ "LineItemOperationError.Reason" => "LineItemOperationErrorReason",
+ "MinuteOfHour" => "MinuteOfHour",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "NullError.Reason" => "NullErrorReason",
+ "OrderActionError.Reason" => "OrderActionErrorReason",
+ "OrderError.Reason" => "OrderErrorReason",
+ "ParseError.Reason" => "ParseErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RangeError.Reason" => "RangeErrorReason",
+ "RegExError.Reason" => "RegExErrorReason",
+ "RequiredCollectionError.Reason" => "RequiredCollectionErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "RequiredNumberError.Reason" => "RequiredNumberErrorReason",
+ "RequiredSizeError.Reason" => "RequiredSizeErrorReason",
+ "ReservationDetailsError.Reason" => "ReservationDetailsErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "VideoBumperType" => "VideoBumperType",
+ "VideoPosition.Type" => "VideoPositionType",
+ "select" => "Select",
+ "selectResponse" => "SelectResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Retrieves rows of data that satisfy the given {@link Statement#query} from
+ * the system.
+ *
+ * @param selectStatement a Publisher Query Language statement used to
+ * specify what data needs to returned
+ *
+ * @return a result set of data that matches the given filter
+ */
+ public function select($selectStatement) {
+ $args = new Select($selectStatement);
+ $result = $this->__soapCall("select", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/RateCardService.php b/src/Google/Api/Ads/Dfp/v201505/RateCardService.php
new file mode 100755
index 000000000..bda3f3340
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/RateCardService.php
@@ -0,0 +1,3595 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("EntityChildrenLimitReachedError", false)) {
+ /**
+ * Lists errors relating to having too many children on an entity.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityChildrenLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityChildrenLimitReachedError";
+
+ /**
+ * @access public
+ * @var tnsEntityChildrenLimitReachedErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("EntityLimitReachedError", false)) {
+ /**
+ * An error that occurs when creating an entity if the limit on the number of allowed entities for
+ * a network has already been reached.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityLimitReachedError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityLimitReachedError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NullError", false)) {
+ /**
+ * Errors associated with violation of a NOT NULL check.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ParseError", false)) {
+ /**
+ * Lists errors related to parsing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError";
+
+ /**
+ * @access public
+ * @var tnsParseErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RateCardAction", false)) {
+ /**
+ * Represents the actions that can be performed on {@link RateCard} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RateCardAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RateCardAction";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RateCardActionError", false)) {
+ /**
+ * An error lists all error reasons associated with performing action
+ * on {@link RateCard} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RateCardActionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RateCardActionError";
+
+ /**
+ * @access public
+ * @var tnsRateCardActionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RateCard", false)) {
+ /**
+ * Defines a collection of rules, including base rates for product templates and products, premiums,
+ * proposal line item level adjustments and proposal level adjustments.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RateCard {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RateCard";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $currencyCode;
+
+ /**
+ * @access public
+ * @var tnsRateCardStatus
+ */
+ public $status;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $appliedTeamIds;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $lastModifiedDateTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null, $currencyCode = null, $status = null, $appliedTeamIds = null, $lastModifiedDateTime = null) {
+ $this->id = $id;
+ $this->name = $name;
+ $this->currencyCode = $currencyCode;
+ $this->status = $status;
+ $this->appliedTeamIds = $appliedTeamIds;
+ $this->lastModifiedDateTime = $lastModifiedDateTime;
+ }
+
+ }
+}
+
+if (!class_exists("RateCardError", false)) {
+ /**
+ * An error having to do with {@link RateCard}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RateCardError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RateCardError";
+
+ /**
+ * @access public
+ * @var tnsRateCardErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RateCardPage", false)) {
+ /**
+ * Captures a page of {@link RateCard} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RateCardPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RateCardPage";
+
+ /**
+ * @access public
+ * @var RateCard[]
+ */
+ public $results;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($results = null, $startIndex = null, $totalResultSetSize = null) {
+ $this->results = $results;
+ $this->startIndex = $startIndex;
+ $this->totalResultSetSize = $totalResultSetSize;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionError", false)) {
+ /**
+ * A list of all errors to be used for validating sizes of collections.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError";
+
+ /**
+ * @access public
+ * @var tnsRequiredCollectionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberError", false)) {
+ /**
+ * A list of all errors to be used in conjunction with required number
+ * validators.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError";
+
+ /**
+ * @access public
+ * @var tnsRequiredNumberErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthError", false)) {
+ /**
+ * Errors for Strings which do not meet given length constraints.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError";
+
+ /**
+ * @access public
+ * @var tnsStringLengthErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("TeamError", false)) {
+ /**
+ * Errors related to a Team.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TeamError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TeamError";
+
+ /**
+ * @access public
+ * @var tnsTeamErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TypeError", false)) {
+ /**
+ * An error for a field which is an invalid type.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TypeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TypeError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateResult", false)) {
+ /**
+ * Represents the result of performing an action on objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UpdateResult";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numChanges;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($numChanges = null) {
+ $this->numChanges = $numChanges;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("EntityChildrenLimitReachedErrorReason", false)) {
+ /**
+ * The reasons for the entity children limit reached error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EntityChildrenLimitReachedErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EntityChildrenLimitReachedError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NullErrorReason", false)) {
+ /**
+ * The reasons for the validation error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ParseErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RateCardActionErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RateCardActionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RateCardActionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RateCardErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RateCardErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RateCardError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredCollectionErrorReason", false)) {
+ /**
+ * A required collection is missing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredCollectionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredCollectionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredNumberErrorReason", false)) {
+ /**
+ * Describes reasons for a number to be invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredNumberErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredNumberError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RateCardStatus", false)) {
+ /**
+ * Describes the status of {@link RateCard} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RateCardStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RateCardStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StringLengthErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StringLengthErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StringLengthError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TeamErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TeamErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TeamError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreateRateCards", false)) {
+ /**
+ * Creates a list of {@link RateCard} objects. Rate cards must be activated
+ * before being associated with proposal line items and products.
+ *
+ * @param rateCards the rate cards to be created
+ * @return the created rate cards.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateRateCards {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var RateCard[]
+ */
+ public $rateCards;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rateCards = null) {
+ $this->rateCards = $rateCards;
+ }
+
+ }
+}
+
+if (!class_exists("CreateRateCardsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateRateCardsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var RateCard[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetRateCardsByStatement", false)) {
+ /**
+ * Gets a {@link RateCardPage} of {@link RateCard} objects that satisfy the given
+ * {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link RateCard#id} |
+ *
+ *
+ * {@code name} |
+ * {@link RateCard#name} |
+ *
+ *
+ * {@code status} |
+ * {@link RateCard#status} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link RateCard#lastModifiedDateTime} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement to filter a list of rate cards.
+ * @return the rate cards that match the filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetRateCardsByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetRateCardsByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetRateCardsByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var RateCardPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("PerformRateCardAction", false)) {
+ /**
+ * Performs action on {@link RateCard} objects that satisfy the
+ * given {@link Statement#query}.
+ *
+ * @param rateCardAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of rate cards.
+ * @return the result of the action performed
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformRateCardAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var RateCardAction
+ */
+ public $rateCardAction;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rateCardAction = null, $filterStatement = null) {
+ $this->rateCardAction = $rateCardAction;
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("PerformRateCardActionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformRateCardActionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UpdateResult
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateRateCards", false)) {
+ /**
+ * Updates a list of {@link RateCard} objects.
+ *
+ * @param rateCards the rate cards to be updated
+ * @return the updated rate cards
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateRateCards {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var RateCard[]
+ */
+ public $rateCards;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rateCards = null) {
+ $this->rateCards = $rateCards;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateRateCardsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateRateCardsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var RateCard[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ActivateRateCards", false)) {
+ /**
+ * The action used to activate {@link RateCard} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ActivateRateCards extends RateCardAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ActivateRateCards";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DeactivateRateCards", false)) {
+ /**
+ * The action used to deactivate {@link RateCard} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeactivateRateCards extends RateCardAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeactivateRateCards";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("RateCardService", false)) {
+ /**
+ * RateCardService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RateCardService extends DfpSoapClient {
+
+ const SERVICE_NAME = "RateCardService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/RateCardService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/RateCardService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ActivateRateCards" => "ActivateRateCards",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AuthenticationError" => "AuthenticationError",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "DeactivateRateCards" => "DeactivateRateCards",
+ "EntityChildrenLimitReachedError" => "EntityChildrenLimitReachedError",
+ "EntityLimitReachedError" => "EntityLimitReachedError",
+ "FeatureError" => "FeatureError",
+ "InternalApiError" => "InternalApiError",
+ "NotNullError" => "NotNullError",
+ "NullError" => "NullError",
+ "NumberValue" => "NumberValue",
+ "ParseError" => "ParseError",
+ "PermissionError" => "PermissionError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RateCardAction" => "RateCardAction",
+ "RateCardActionError" => "RateCardActionError",
+ "RateCard" => "RateCard",
+ "RateCardError" => "RateCardError",
+ "RateCardPage" => "RateCardPage",
+ "RequiredCollectionError" => "RequiredCollectionError",
+ "RequiredError" => "RequiredError",
+ "RequiredNumberError" => "RequiredNumberError",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "StringLengthError" => "StringLengthError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "TeamError" => "TeamError",
+ "TextValue" => "TextValue",
+ "TypeError" => "TypeError",
+ "UniqueError" => "UniqueError",
+ "UpdateResult" => "UpdateResult",
+ "Value" => "Value",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "EntityChildrenLimitReachedError.Reason" => "EntityChildrenLimitReachedErrorReason",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "NullError.Reason" => "NullErrorReason",
+ "ParseError.Reason" => "ParseErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RateCardActionError.Reason" => "RateCardActionErrorReason",
+ "RateCardError.Reason" => "RateCardErrorReason",
+ "RequiredCollectionError.Reason" => "RequiredCollectionErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "RequiredNumberError.Reason" => "RequiredNumberErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "RateCardStatus" => "RateCardStatus",
+ "StringLengthError.Reason" => "StringLengthErrorReason",
+ "TeamError.Reason" => "TeamErrorReason",
+ "createRateCards" => "CreateRateCards",
+ "createRateCardsResponse" => "CreateRateCardsResponse",
+ "getRateCardsByStatement" => "GetRateCardsByStatement",
+ "getRateCardsByStatementResponse" => "GetRateCardsByStatementResponse",
+ "performRateCardAction" => "PerformRateCardAction",
+ "performRateCardActionResponse" => "PerformRateCardActionResponse",
+ "updateRateCards" => "UpdateRateCards",
+ "updateRateCardsResponse" => "UpdateRateCardsResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Creates a list of {@link RateCard} objects. Rate cards must be activated
+ * before being associated with proposal line items and products.
+ *
+ * @param rateCards the rate cards to be created
+ * @return the created rate cards.
+ */
+ public function createRateCards($rateCards) {
+ $args = new CreateRateCards($rateCards);
+ $result = $this->__soapCall("createRateCards", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@link RateCardPage} of {@link RateCard} objects that satisfy the given
+ * {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link RateCard#id} |
+ *
+ *
+ * {@code name} |
+ * {@link RateCard#name} |
+ *
+ *
+ * {@code status} |
+ * {@link RateCard#status} |
+ *
+ *
+ * {@code lastModifiedDateTime} |
+ * {@link RateCard#lastModifiedDateTime} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement to filter a list of rate cards.
+ * @return the rate cards that match the filter
+ */
+ public function getRateCardsByStatement($filterStatement) {
+ $args = new GetRateCardsByStatement($filterStatement);
+ $result = $this->__soapCall("getRateCardsByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Performs action on {@link RateCard} objects that satisfy the
+ * given {@link Statement#query}.
+ *
+ * @param rateCardAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of rate cards.
+ * @return the result of the action performed
+ */
+ public function performRateCardAction($rateCardAction, $filterStatement) {
+ $args = new PerformRateCardAction($rateCardAction, $filterStatement);
+ $result = $this->__soapCall("performRateCardAction", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates a list of {@link RateCard} objects.
+ *
+ * @param rateCards the rate cards to be updated
+ * @return the updated rate cards
+ */
+ public function updateRateCards($rateCards) {
+ $args = new UpdateRateCards($rateCards);
+ $result = $this->__soapCall("updateRateCards", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/ReconciliationOrderReportService.php b/src/Google/Api/Ads/Dfp/v201505/ReconciliationOrderReportService.php
new file mode 100755
index 000000000..0614d2a2a
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/ReconciliationOrderReportService.php
@@ -0,0 +1,2909 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NullError", false)) {
+ /**
+ * Errors associated with violation of a NOT NULL check.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ReconciliationOrderReportAction", false)) {
+ /**
+ * Represents the actions that can be performed on the {@link ReconciliationOrderReport} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReconciliationOrderReportAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReconciliationOrderReportAction";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ReconciliationOrderReport", false)) {
+ /**
+ * A {@link ReconciliationOrderReport} represents one order
+ * in the reconciliation report.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReconciliationOrderReport {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReconciliationOrderReport";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $reconciliationReportId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $orderId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $proposalId;
+
+ /**
+ * @access public
+ * @var tnsReconciliationOrderReportStatus
+ */
+ public $status;
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $submissionDateTime;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $submitterId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $reconciliationReportId = null, $orderId = null, $proposalId = null, $status = null, $submissionDateTime = null, $submitterId = null) {
+ $this->id = $id;
+ $this->reconciliationReportId = $reconciliationReportId;
+ $this->orderId = $orderId;
+ $this->proposalId = $proposalId;
+ $this->status = $status;
+ $this->submissionDateTime = $submissionDateTime;
+ $this->submitterId = $submitterId;
+ }
+
+ }
+}
+
+if (!class_exists("ReconciliationOrderReportPage", false)) {
+ /**
+ * Captures a page of {@link ReconciliationOrderReport} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReconciliationOrderReportPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReconciliationOrderReportPage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var ReconciliationOrderReport[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RangeError", false)) {
+ /**
+ * A list of all errors associated with the Range constraint.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError";
+
+ /**
+ * @access public
+ * @var tnsRangeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SubmitReconciliationOrderReports", false)) {
+ /**
+ * The action used for submit the reconciliation on the {@link ReconciliationOrderReport}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SubmitReconciliationOrderReports extends ReconciliationOrderReportAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SubmitReconciliationOrderReports";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ReconciliationError", false)) {
+ /**
+ * Lists all errors associated with reconciliation.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReconciliationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReconciliationError";
+
+ /**
+ * @access public
+ * @var tnsReconciliationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RevertReconciliationOrderReports", false)) {
+ /**
+ * The action used to revert the reconciliation on the {@link ReconciliationOrderReport}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RevertReconciliationOrderReports extends ReconciliationOrderReportAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RevertReconciliationOrderReports";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateResult", false)) {
+ /**
+ * Represents the result of performing an action on objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UpdateResult";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numChanges;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($numChanges = null) {
+ $this->numChanges = $numChanges;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NullErrorReason", false)) {
+ /**
+ * The reasons for the validation error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RangeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ReconciliationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReconciliationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReconciliationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ReconciliationOrderReportStatus", false)) {
+ /**
+ * The status of the reconciliation order report.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReconciliationOrderReportStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReconciliationOrderReportStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GetReconciliationOrderReportsByStatement", false)) {
+ /**
+ * Gets an {@link ReconciliationOrderReportPage} of {@link ReconciliationOrderReport} objects
+ * that satisfy the given {@link Statement#query}.
+ * The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code reconciliationReportId} |
+ * {@link ReconciliationOrderReport#reconciliationReportId} |
+ *
+ *
+ * {@code id} |
+ * {@link ReconciliationOrderReport#id} |
+ *
+ *
+ * {@code orderId} |
+ * {@link ReconciliationOrderReport#orderId} |
+ *
+ *
+ * {@code proposalId} |
+ * {@link ReconciliationOrderReport#proposalId} |
+ *
+ *
+ * {@code status} |
+ * {@link ReconciliationOrderReport#status} |
+ *
+ *
+ * {@code submissionDateTime} |
+ * {@link ReconciliationOrderReport#submissionDateTime} |
+ *
+ *
+ * {@code submitterId} |
+ * {@link ReconciliationOrderReport#submitterId} |
+ *
+ *
+ *
+ * The {@code reconciliationReportId} field is required and can only be combined with an
+ * {@code AND} to other conditions. Furthermore, the results may only belong to
+ * one {@link ReconciliationReport}.
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of reconciliation order reports.
+ * @return the reconciliation order reports that match the given filter.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetReconciliationOrderReportsByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetReconciliationOrderReportsByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetReconciliationOrderReportsByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ReconciliationOrderReportPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("PerformReconciliationOrderReportAction", false)) {
+ /**
+ * Performs actions on the {@link ReconciliationOrderReport} objects that match the given
+ * {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code orderId} |
+ * {@link ReconciliationOrderReport#orderId} |
+ *
+ *
+ * {@code proposalId} |
+ * {@link ReconciliationOrderReport#proposalId} |
+ *
+ *
+ * {@code reconciliationReportId} |
+ * {@link ReconciliationOrderReport#reconciliationReportId} |
+ *
+ *
+ * The following statement patterns are supported:
+ *
+ * - reconciliationReportId = :reconciliationReportId AND orderId = :orderId
+ * - reconciliationReportId = :reconciliationReportId AND proposalId = :proposalId
+ * - reconciliationReportId = :reconciliationReportId
+ * AND (orderId IN (...) OR proposalId IN (...))
+ *
+ * The IN clause could be expanded to multiple OR expressions like
+ * (orderId = :orderId OR orderId = :orderId OR ...)
+ * Only orders to which the API user has access will be included.
+ *
+ * @param reconciliationOrderReportAction the action to perform.
+ * @param filterStatement a Publisher Query Language statement used to filter a set of orders and
+ * one reconciliation report.
+ * @return the result of the action performed.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformReconciliationOrderReportAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ReconciliationOrderReportAction
+ */
+ public $reconciliationOrderReportAction;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reconciliationOrderReportAction = null, $filterStatement = null) {
+ $this->reconciliationOrderReportAction = $reconciliationOrderReportAction;
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("PerformReconciliationOrderReportActionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformReconciliationOrderReportActionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UpdateResult
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("ReconciliationOrderReportService", false)) {
+ /**
+ * ReconciliationOrderReportService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReconciliationOrderReportService extends DfpSoapClient {
+
+ const SERVICE_NAME = "ReconciliationOrderReportService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/ReconciliationOrderReportService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/ReconciliationOrderReportService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AuthenticationError" => "AuthenticationError",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "FeatureError" => "FeatureError",
+ "InternalApiError" => "InternalApiError",
+ "NotNullError" => "NotNullError",
+ "NullError" => "NullError",
+ "NumberValue" => "NumberValue",
+ "ReconciliationOrderReportAction" => "ReconciliationOrderReportAction",
+ "ReconciliationOrderReport" => "ReconciliationOrderReport",
+ "ReconciliationOrderReportPage" => "ReconciliationOrderReportPage",
+ "PermissionError" => "PermissionError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RangeError" => "RangeError",
+ "SubmitReconciliationOrderReports" => "SubmitReconciliationOrderReports",
+ "ReconciliationError" => "ReconciliationError",
+ "RequiredError" => "RequiredError",
+ "RevertReconciliationOrderReports" => "RevertReconciliationOrderReports",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "TextValue" => "TextValue",
+ "UpdateResult" => "UpdateResult",
+ "Value" => "Value",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "NullError.Reason" => "NullErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RangeError.Reason" => "RangeErrorReason",
+ "ReconciliationError.Reason" => "ReconciliationErrorReason",
+ "ReconciliationOrderReportStatus" => "ReconciliationOrderReportStatus",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "getReconciliationOrderReportsByStatement" => "GetReconciliationOrderReportsByStatement",
+ "getReconciliationOrderReportsByStatementResponse" => "GetReconciliationOrderReportsByStatementResponse",
+ "performReconciliationOrderReportAction" => "PerformReconciliationOrderReportAction",
+ "performReconciliationOrderReportActionResponse" => "PerformReconciliationOrderReportActionResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Gets an {@link ReconciliationOrderReportPage} of {@link ReconciliationOrderReport} objects
+ * that satisfy the given {@link Statement#query}.
+ * The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code reconciliationReportId} |
+ * {@link ReconciliationOrderReport#reconciliationReportId} |
+ *
+ *
+ * {@code id} |
+ * {@link ReconciliationOrderReport#id} |
+ *
+ *
+ * {@code orderId} |
+ * {@link ReconciliationOrderReport#orderId} |
+ *
+ *
+ * {@code proposalId} |
+ * {@link ReconciliationOrderReport#proposalId} |
+ *
+ *
+ * {@code status} |
+ * {@link ReconciliationOrderReport#status} |
+ *
+ *
+ * {@code submissionDateTime} |
+ * {@link ReconciliationOrderReport#submissionDateTime} |
+ *
+ *
+ * {@code submitterId} |
+ * {@link ReconciliationOrderReport#submitterId} |
+ *
+ *
+ *
+ * The {@code reconciliationReportId} field is required and can only be combined with an
+ * {@code AND} to other conditions. Furthermore, the results may only belong to
+ * one {@link ReconciliationReport}.
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of reconciliation order reports.
+ * @return the reconciliation order reports that match the given filter.
+ */
+ public function getReconciliationOrderReportsByStatement($filterStatement) {
+ $args = new GetReconciliationOrderReportsByStatement($filterStatement);
+ $result = $this->__soapCall("getReconciliationOrderReportsByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Performs actions on the {@link ReconciliationOrderReport} objects that match the given
+ * {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code orderId} |
+ * {@link ReconciliationOrderReport#orderId} |
+ *
+ *
+ * {@code proposalId} |
+ * {@link ReconciliationOrderReport#proposalId} |
+ *
+ *
+ * {@code reconciliationReportId} |
+ * {@link ReconciliationOrderReport#reconciliationReportId} |
+ *
+ *
+ * The following statement patterns are supported:
+ *
+ * - reconciliationReportId = :reconciliationReportId AND orderId = :orderId
+ * - reconciliationReportId = :reconciliationReportId AND proposalId = :proposalId
+ * - reconciliationReportId = :reconciliationReportId
+ * AND (orderId IN (...) OR proposalId IN (...))
+ *
+ * The IN clause could be expanded to multiple OR expressions like
+ * (orderId = :orderId OR orderId = :orderId OR ...)
+ * Only orders to which the API user has access will be included.
+ *
+ * @param reconciliationOrderReportAction the action to perform.
+ * @param filterStatement a Publisher Query Language statement used to filter a set of orders and
+ * one reconciliation report.
+ * @return the result of the action performed.
+ */
+ public function performReconciliationOrderReportAction($reconciliationOrderReportAction, $filterStatement) {
+ $args = new PerformReconciliationOrderReportAction($reconciliationOrderReportAction, $filterStatement);
+ $result = $this->__soapCall("performReconciliationOrderReportAction", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/ReconciliationReportRowService.php b/src/Google/Api/Ads/Dfp/v201505/ReconciliationReportRowService.php
new file mode 100755
index 000000000..f23a7c231
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/ReconciliationReportRowService.php
@@ -0,0 +1,3044 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Money", false)) {
+ /**
+ * Represents a money amount.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Money {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Money";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $currencyCode;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $microAmount;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($currencyCode = null, $microAmount = null) {
+ $this->currencyCode = $currencyCode;
+ $this->microAmount = $microAmount;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NullError", false)) {
+ /**
+ * Errors associated with violation of a NOT NULL check.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RangeError", false)) {
+ /**
+ * A list of all errors associated with the Range constraint.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError";
+
+ /**
+ * @access public
+ * @var tnsRangeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ReconciliationError", false)) {
+ /**
+ * Lists all errors associated with reconciliation.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReconciliationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReconciliationError";
+
+ /**
+ * @access public
+ * @var tnsReconciliationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ReconciliationImportError", false)) {
+ /**
+ * The API errors for reconciliation CSV import.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReconciliationImportError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReconciliationImportError";
+
+ /**
+ * @access public
+ * @var tnsReconciliationImportErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ReconciliationReportRow", false)) {
+ /**
+ * A {@code ReconciliationReportRow} represents each row in the reconciliation report.
+ * Each row is identified by its {@link #reconciliationReportId}, {@link #lineItemId},
+ * {@link #creativeId}, and {@link #proposalLineItemId}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReconciliationReportRow {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReconciliationReportRow";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $reconciliationReportId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $lineItemId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $creativeId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $orderId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $advertiserId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $proposalLineItemId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $proposalId;
+
+ /**
+ * @access public
+ * @var tnsBillFrom
+ */
+ public $billFrom;
+
+ /**
+ * @access public
+ * @var tnsRateType
+ */
+ public $rateType;
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $lineItemCostPerUnit;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $lineItemContractedUnitsBought;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $dfpVolume;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $thirdPartyVolume;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $manualVolume;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $reconciledVolume;
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $contractedRevenue;
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $dfpRevenue;
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $thirdPartyRevenue;
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $manualRevenue;
+
+ /**
+ * @access public
+ * @var Money
+ */
+ public $reconciledRevenue;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $comments;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reconciliationReportId = null, $lineItemId = null, $creativeId = null, $orderId = null, $advertiserId = null, $proposalLineItemId = null, $proposalId = null, $billFrom = null, $rateType = null, $lineItemCostPerUnit = null, $lineItemContractedUnitsBought = null, $dfpVolume = null, $thirdPartyVolume = null, $manualVolume = null, $reconciledVolume = null, $contractedRevenue = null, $dfpRevenue = null, $thirdPartyRevenue = null, $manualRevenue = null, $reconciledRevenue = null, $comments = null) {
+ $this->reconciliationReportId = $reconciliationReportId;
+ $this->lineItemId = $lineItemId;
+ $this->creativeId = $creativeId;
+ $this->orderId = $orderId;
+ $this->advertiserId = $advertiserId;
+ $this->proposalLineItemId = $proposalLineItemId;
+ $this->proposalId = $proposalId;
+ $this->billFrom = $billFrom;
+ $this->rateType = $rateType;
+ $this->lineItemCostPerUnit = $lineItemCostPerUnit;
+ $this->lineItemContractedUnitsBought = $lineItemContractedUnitsBought;
+ $this->dfpVolume = $dfpVolume;
+ $this->thirdPartyVolume = $thirdPartyVolume;
+ $this->manualVolume = $manualVolume;
+ $this->reconciledVolume = $reconciledVolume;
+ $this->contractedRevenue = $contractedRevenue;
+ $this->dfpRevenue = $dfpRevenue;
+ $this->thirdPartyRevenue = $thirdPartyRevenue;
+ $this->manualRevenue = $manualRevenue;
+ $this->reconciledRevenue = $reconciledRevenue;
+ $this->comments = $comments;
+ }
+
+ }
+}
+
+if (!class_exists("ReconciliationReportRowPage", false)) {
+ /**
+ * Captures a page of {@link ReconciliationReportRow} objects
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReconciliationReportRowPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReconciliationReportRowPage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var ReconciliationReportRow[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("BillFrom", false)) {
+ /**
+ * Values for which to bill from.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BillFrom {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BillFrom";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NullErrorReason", false)) {
+ /**
+ * The reasons for the validation error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RangeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RateType", false)) {
+ /**
+ * Describes the type of event the advertiser is paying for. The values here correspond to the
+ * values for the {@link LineItem#costType} field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RateType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RateType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ReconciliationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReconciliationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReconciliationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ReconciliationImportErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReconciliationImportErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReconciliationImportError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GetReconciliationReportRowsByStatement", false)) {
+ /**
+ * Gets a {@link ReconciliationReportRowPage} of {@link ReconciliationReportRow} objects that
+ * satisfy the given {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code reconciliationReportId} |
+ * {@link ReconciliationReportRow#reconciliationReportId} |
+ *
+ *
+ * {@code advertiserId} |
+ * {@link ReconciliationReportRow#advertiserId} |
+ *
+ *
+ * {@code orderId} |
+ * {@link ReconciliationReportRow#orderId} |
+ *
+ *
+ * {@code lineItemId} |
+ * {@link ReconciliationReportRow#lineItemId} |
+ *
+ *
+ * {@code creativeId} |
+ * {@link ReconciliationReportRow#creativeId} |
+ *
+ *
+ * {@code lineItemCostType} |
+ * {@link ReconciliationReportRow#lineItemCostType} |
+ *
+ *
+ * {@code dfpClicks} |
+ * {@link ReconciliationReportRow#dfpClicks} |
+ *
+ *
+ * {@code dfpImpressions} |
+ * {@link ReconciliationReportRow#dfpImpressions} |
+ *
+ *
+ * {@code dfpLineItemDays} |
+ * {@link ReconciliationReportRow#dfpLineItemDays} |
+ *
+ *
+ * {@code thirdPartyClicks} |
+ * {@link ReconciliationReportRow#thirdPartyClicks} |
+ *
+ *
+ * {@code thirdPartyImpressions} |
+ * {@link ReconciliationReportRow#thirdPartyImpressions} |
+ *
+ *
+ * {@code thirdPartyLineItemDays} |
+ * {@link ReconciliationReportRow#thirdPartyLineItemDays} |
+ *
+ *
+ * {@code manualClicks} |
+ * {@link ReconciliationReportRow#manualClicks} |
+ *
+ *
+ * {@code manualImpressions} |
+ * {@link ReconciliationReportRow#manualImpressions} |
+ *
+ *
+ * {@code manualLineItemDays} |
+ * {@link ReconciliationReportRow#manualLineItemDays} |
+ *
+ *
+ * {@code reconciledClicks} |
+ * {@link ReconciliationReportRow#reconciledClicks} |
+ *
+ *
+ * {@code reconciledImpressions} |
+ * {@link ReconciliationReportRow#reconciledImpressions} |
+ *
+ *
+ * {@code reconciledLineItemDays} |
+ * {@link ReconciliationReportRow#reconciledLineItemDays} |
+ *
+ *
+ *
+ * The {@code reconciliationReportId} field is required and can only be combined with an
+ * {@code AND} to other conditions. Furthermore, the results may only belong to
+ * one {@link ReconciliationReport}.
+ *
+ * @param filterStatement a Publisher Query Language statement used to
+ * filter a set of reconciliation report rows
+ * @return the reconciliation report rows that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetReconciliationReportRowsByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetReconciliationReportRowsByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetReconciliationReportRowsByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ReconciliationReportRowPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateReconciliationReportRows", false)) {
+ /**
+ * Updates a list of {@link ReconciliationReportRow} which belong to same
+ * {@link ReconciliationReport}.
+ *
+ * @param reconciliationReportRows a list of reconciliation report rows to update
+ * @return the updated reconciliation report rows
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateReconciliationReportRows {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ReconciliationReportRow[]
+ */
+ public $reconciliationReportRows;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reconciliationReportRows = null) {
+ $this->reconciliationReportRows = $reconciliationReportRows;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateReconciliationReportRowsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateReconciliationReportRowsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ReconciliationReportRow[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("ReconciliationReportRowService", false)) {
+ /**
+ * ReconciliationReportRowService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReconciliationReportRowService extends DfpSoapClient {
+
+ const SERVICE_NAME = "ReconciliationReportRowService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/ReconciliationReportRowService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/ReconciliationReportRowService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AuthenticationError" => "AuthenticationError",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "FeatureError" => "FeatureError",
+ "InternalApiError" => "InternalApiError",
+ "Money" => "Money",
+ "NotNullError" => "NotNullError",
+ "NullError" => "NullError",
+ "NumberValue" => "NumberValue",
+ "PermissionError" => "PermissionError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RangeError" => "RangeError",
+ "ReconciliationError" => "ReconciliationError",
+ "ReconciliationImportError" => "ReconciliationImportError",
+ "ReconciliationReportRow" => "ReconciliationReportRow",
+ "ReconciliationReportRowPage" => "ReconciliationReportRowPage",
+ "RequiredError" => "RequiredError",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "TextValue" => "TextValue",
+ "Value" => "Value",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "BillFrom" => "BillFrom",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "NullError.Reason" => "NullErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RangeError.Reason" => "RangeErrorReason",
+ "RateType" => "RateType",
+ "ReconciliationError.Reason" => "ReconciliationErrorReason",
+ "ReconciliationImportError.Reason" => "ReconciliationImportErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "getReconciliationReportRowsByStatement" => "GetReconciliationReportRowsByStatement",
+ "getReconciliationReportRowsByStatementResponse" => "GetReconciliationReportRowsByStatementResponse",
+ "updateReconciliationReportRows" => "UpdateReconciliationReportRows",
+ "updateReconciliationReportRowsResponse" => "UpdateReconciliationReportRowsResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Gets a {@link ReconciliationReportRowPage} of {@link ReconciliationReportRow} objects that
+ * satisfy the given {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code reconciliationReportId} |
+ * {@link ReconciliationReportRow#reconciliationReportId} |
+ *
+ *
+ * {@code advertiserId} |
+ * {@link ReconciliationReportRow#advertiserId} |
+ *
+ *
+ * {@code orderId} |
+ * {@link ReconciliationReportRow#orderId} |
+ *
+ *
+ * {@code lineItemId} |
+ * {@link ReconciliationReportRow#lineItemId} |
+ *
+ *
+ * {@code creativeId} |
+ * {@link ReconciliationReportRow#creativeId} |
+ *
+ *
+ * {@code lineItemCostType} |
+ * {@link ReconciliationReportRow#lineItemCostType} |
+ *
+ *
+ * {@code dfpClicks} |
+ * {@link ReconciliationReportRow#dfpClicks} |
+ *
+ *
+ * {@code dfpImpressions} |
+ * {@link ReconciliationReportRow#dfpImpressions} |
+ *
+ *
+ * {@code dfpLineItemDays} |
+ * {@link ReconciliationReportRow#dfpLineItemDays} |
+ *
+ *
+ * {@code thirdPartyClicks} |
+ * {@link ReconciliationReportRow#thirdPartyClicks} |
+ *
+ *
+ * {@code thirdPartyImpressions} |
+ * {@link ReconciliationReportRow#thirdPartyImpressions} |
+ *
+ *
+ * {@code thirdPartyLineItemDays} |
+ * {@link ReconciliationReportRow#thirdPartyLineItemDays} |
+ *
+ *
+ * {@code manualClicks} |
+ * {@link ReconciliationReportRow#manualClicks} |
+ *
+ *
+ * {@code manualImpressions} |
+ * {@link ReconciliationReportRow#manualImpressions} |
+ *
+ *
+ * {@code manualLineItemDays} |
+ * {@link ReconciliationReportRow#manualLineItemDays} |
+ *
+ *
+ * {@code reconciledClicks} |
+ * {@link ReconciliationReportRow#reconciledClicks} |
+ *
+ *
+ * {@code reconciledImpressions} |
+ * {@link ReconciliationReportRow#reconciledImpressions} |
+ *
+ *
+ * {@code reconciledLineItemDays} |
+ * {@link ReconciliationReportRow#reconciledLineItemDays} |
+ *
+ *
+ *
+ * The {@code reconciliationReportId} field is required and can only be combined with an
+ * {@code AND} to other conditions. Furthermore, the results may only belong to
+ * one {@link ReconciliationReport}.
+ *
+ * @param filterStatement a Publisher Query Language statement used to
+ * filter a set of reconciliation report rows
+ * @return the reconciliation report rows that match the given filter
+ */
+ public function getReconciliationReportRowsByStatement($filterStatement) {
+ $args = new GetReconciliationReportRowsByStatement($filterStatement);
+ $result = $this->__soapCall("getReconciliationReportRowsByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates a list of {@link ReconciliationReportRow} which belong to same
+ * {@link ReconciliationReport}.
+ *
+ * @param reconciliationReportRows a list of reconciliation report rows to update
+ * @return the updated reconciliation report rows
+ */
+ public function updateReconciliationReportRows($reconciliationReportRows) {
+ $args = new UpdateReconciliationReportRows($reconciliationReportRows);
+ $result = $this->__soapCall("updateReconciliationReportRows", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/ReconciliationReportService.php b/src/Google/Api/Ads/Dfp/v201505/ReconciliationReportService.php
new file mode 100755
index 000000000..5cc3c56fd
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/ReconciliationReportService.php
@@ -0,0 +1,2712 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NullError", false)) {
+ /**
+ * Errors associated with violation of a NOT NULL check.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RangeError", false)) {
+ /**
+ * A list of all errors associated with the Range constraint.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError";
+
+ /**
+ * @access public
+ * @var tnsRangeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ReconciliationError", false)) {
+ /**
+ * Lists all errors associated with reconciliation.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReconciliationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReconciliationError";
+
+ /**
+ * @access public
+ * @var tnsReconciliationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ReconciliationImportError", false)) {
+ /**
+ * The API errors for reconciliation CSV import.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReconciliationImportError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReconciliationImportError";
+
+ /**
+ * @access public
+ * @var tnsReconciliationImportErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ReconciliationReport", false)) {
+ /**
+ * A {@code ReconciliationReport} represents a report that can be reconciled.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReconciliationReport {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReconciliationReport";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var tnsReconciliationReportStatus
+ */
+ public $status;
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $startDate;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $notes;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $status = null, $startDate = null, $notes = null) {
+ $this->id = $id;
+ $this->status = $status;
+ $this->startDate = $startDate;
+ $this->notes = $notes;
+ }
+
+ }
+}
+
+if (!class_exists("ReconciliationReportPage", false)) {
+ /**
+ * Captures a page of {@link ReconciliationReport} objects
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReconciliationReportPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReconciliationReportPage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var ReconciliationReport[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NullErrorReason", false)) {
+ /**
+ * The reasons for the validation error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RangeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RangeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RangeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ReconciliationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReconciliationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReconciliationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ReconciliationImportErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReconciliationImportErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReconciliationImportError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ReconciliationReportStatus", false)) {
+ /**
+ * A {@code ReconciliationReportStatus} represents the status of a {@link ReconciliationReport}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReconciliationReportStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReconciliationReportStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GetReconciliationReportsByStatement", false)) {
+ /**
+ * Gets an {@link ReconciliationReportPage} of {@link ReconciliationReport} objects that satisfy
+ * the given {@link Statement#query}. The following fields are supported for filtering.
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link ReconciliationReport#id} |
+ *
+ *
+ * {@code status} |
+ * {@link ReconciliationReport#status} |
+ *
+ *
+ * {@code startDate} |
+ * {@link ReconciliationReport#startDate} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to
+ * filter a set of reconciliation reports
+ * @return the reconciliation reports that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetReconciliationReportsByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetReconciliationReportsByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetReconciliationReportsByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ReconciliationReportPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateReconciliationReports", false)) {
+ /**
+ * Updates the specified {@link ReconciliationReport} objects.
+ *
+ * @param reconciliationReports the reconciliation reports to update
+ * @return the updated reconciliation reports
+ * @throws ApiException
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateReconciliationReports {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ReconciliationReport[]
+ */
+ public $reconciliationReports;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reconciliationReports = null) {
+ $this->reconciliationReports = $reconciliationReports;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateReconciliationReportsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateReconciliationReportsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ReconciliationReport[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("ReconciliationReportService", false)) {
+ /**
+ * ReconciliationReportService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReconciliationReportService extends DfpSoapClient {
+
+ const SERVICE_NAME = "ReconciliationReportService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/ReconciliationReportService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/ReconciliationReportService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AuthenticationError" => "AuthenticationError",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "FeatureError" => "FeatureError",
+ "InternalApiError" => "InternalApiError",
+ "NotNullError" => "NotNullError",
+ "NullError" => "NullError",
+ "NumberValue" => "NumberValue",
+ "PermissionError" => "PermissionError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RangeError" => "RangeError",
+ "ReconciliationError" => "ReconciliationError",
+ "ReconciliationImportError" => "ReconciliationImportError",
+ "ReconciliationReport" => "ReconciliationReport",
+ "ReconciliationReportPage" => "ReconciliationReportPage",
+ "RequiredError" => "RequiredError",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "TextValue" => "TextValue",
+ "Value" => "Value",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "NullError.Reason" => "NullErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RangeError.Reason" => "RangeErrorReason",
+ "ReconciliationError.Reason" => "ReconciliationErrorReason",
+ "ReconciliationImportError.Reason" => "ReconciliationImportErrorReason",
+ "ReconciliationReportStatus" => "ReconciliationReportStatus",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "getReconciliationReportsByStatement" => "GetReconciliationReportsByStatement",
+ "getReconciliationReportsByStatementResponse" => "GetReconciliationReportsByStatementResponse",
+ "updateReconciliationReports" => "UpdateReconciliationReports",
+ "updateReconciliationReportsResponse" => "UpdateReconciliationReportsResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Gets an {@link ReconciliationReportPage} of {@link ReconciliationReport} objects that satisfy
+ * the given {@link Statement#query}. The following fields are supported for filtering.
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link ReconciliationReport#id} |
+ *
+ *
+ * {@code status} |
+ * {@link ReconciliationReport#status} |
+ *
+ *
+ * {@code startDate} |
+ * {@link ReconciliationReport#startDate} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to
+ * filter a set of reconciliation reports
+ * @return the reconciliation reports that match the given filter
+ */
+ public function getReconciliationReportsByStatement($filterStatement) {
+ $args = new GetReconciliationReportsByStatement($filterStatement);
+ $result = $this->__soapCall("getReconciliationReportsByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link ReconciliationReport} objects.
+ *
+ * @param reconciliationReports the reconciliation reports to update
+ * @return the updated reconciliation reports
+ * @throws ApiException
+ */
+ public function updateReconciliationReports($reconciliationReports) {
+ $args = new UpdateReconciliationReports($reconciliationReports);
+ $result = $this->__soapCall("updateReconciliationReports", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/ReportService.php b/src/Google/Api/Ads/Dfp/v201505/ReportService.php
new file mode 100755
index 000000000..664cc6a37
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/ReportService.php
@@ -0,0 +1,3111 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ParseError", false)) {
+ /**
+ * Lists errors related to parsing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError";
+
+ /**
+ * @access public
+ * @var tnsParseErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ReportDownloadOptions", false)) {
+ /**
+ * Represents the options for an API report download request.
+ * See {@link ReportService#getReportDownloadUrlWithOptions}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReportDownloadOptions {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReportDownloadOptions";
+
+ /**
+ * @access public
+ * @var tnsExportFormat
+ */
+ public $exportFormat;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $includeReportProperties;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $includeTotalsRow;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $useGzipCompression;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($exportFormat = null, $includeReportProperties = null, $includeTotalsRow = null, $useGzipCompression = null) {
+ $this->exportFormat = $exportFormat;
+ $this->includeReportProperties = $includeReportProperties;
+ $this->includeTotalsRow = $includeTotalsRow;
+ $this->useGzipCompression = $useGzipCompression;
+ }
+
+ }
+}
+
+if (!class_exists("ReportError", false)) {
+ /**
+ * An error for an exception that occurred while running the report.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReportError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReportError";
+
+ /**
+ * @access public
+ * @var tnsReportErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ReportJob", false)) {
+ /**
+ * Represents a report job that will be run to retrieve performance and
+ * statistics information about ad campaigns, networks, inventory and sales.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReportJob {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReportJob";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var ReportQuery
+ */
+ public $reportQuery;
+
+ /**
+ * @access public
+ * @var tnsReportJobStatus
+ */
+ public $reportJobStatus;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $reportQuery = null, $reportJobStatus = null) {
+ $this->id = $id;
+ $this->reportQuery = $reportQuery;
+ $this->reportJobStatus = $reportJobStatus;
+ }
+
+ }
+}
+
+if (!class_exists("ReportQuery", false)) {
+ /**
+ * A {@code ReportQuery} object allows you to specify the selection criteria for
+ * generating a report.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReportQuery {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReportQuery";
+
+ /**
+ * @access public
+ * @var tnsDimension[]
+ */
+ public $dimensions;
+
+ /**
+ * @access public
+ * @var tnsReportQueryAdUnitView
+ */
+ public $adUnitView;
+
+ /**
+ * @access public
+ * @var tnsColumn[]
+ */
+ public $columns;
+
+ /**
+ * @access public
+ * @var tnsDimensionAttribute[]
+ */
+ public $dimensionAttributes;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $customFieldIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $contentMetadataKeyHierarchyCustomTargetingKeyIds;
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $startDate;
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $endDate;
+
+ /**
+ * @access public
+ * @var tnsDateRangeType
+ */
+ public $dateRangeType;
+
+ /**
+ * @access public
+ * @var tnsDimensionFilter[]
+ */
+ public $dimensionFilters;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $statement;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZone;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($dimensions = null, $adUnitView = null, $columns = null, $dimensionAttributes = null, $customFieldIds = null, $contentMetadataKeyHierarchyCustomTargetingKeyIds = null, $startDate = null, $endDate = null, $dateRangeType = null, $dimensionFilters = null, $statement = null, $timeZone = null) {
+ $this->dimensions = $dimensions;
+ $this->adUnitView = $adUnitView;
+ $this->columns = $columns;
+ $this->dimensionAttributes = $dimensionAttributes;
+ $this->customFieldIds = $customFieldIds;
+ $this->contentMetadataKeyHierarchyCustomTargetingKeyIds = $contentMetadataKeyHierarchyCustomTargetingKeyIds;
+ $this->startDate = $startDate;
+ $this->endDate = $endDate;
+ $this->dateRangeType = $dateRangeType;
+ $this->dimensionFilters = $dimensionFilters;
+ $this->statement = $statement;
+ $this->timeZone = $timeZone;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ReportQueryAdUnitView", false)) {
+ /**
+ * A view for an ad unit report.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReportQueryAdUnitView {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReportQuery.AdUnitView";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("Column", false)) {
+ /**
+ * {@code Column} provides all the trafficking statistics and revenue
+ * information available for the chosen {@link Dimension} objects.
+ *
+ * Columns with {@code INVENTORY_LEVEL} should not be used with dimensions
+ * relating to line items, orders, companies and creatives,
+ * such as {@link Dimension#LINE_ITEM_NAME}.
+ * Columns with {@code LINE_ITEM_LEVEL} can only be used if you have line item-level
+ * dynamic allocation enabled on your network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Column {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Column";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("DateRangeType", false)) {
+ /**
+ * Represents a period of time.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateRangeType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateRangeType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("Dimension", false)) {
+ /**
+ * {@code Dimension} provides the break-down and filterable types available for
+ * running a {@link ReportJob}. Aggregate and percentage columns will be
+ * calculated based on these groupings.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Dimension {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Dimension";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("DimensionAttribute", false)) {
+ /**
+ * {@code DimensionAttribute} provides additional fields associated with a
+ * {@link Dimension}. It can only be selected with its corresponding
+ * {@link Dimension}. For example, {@link DimensionAttribute#ORDER_PO_NUMBER}
+ * can only be used if the {@link ReportQuery#dimensions} contains
+ * {@link Dimension#ORDER_NAME}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DimensionAttribute {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DimensionAttribute";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("DimensionFilter", false)) {
+ /**
+ * {@code DimensionFilter} filters the data used during report creation.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DimensionFilter {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DimensionFilter";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ExportFormat", false)) {
+ /**
+ * The file formats available for creating the report.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ExportFormat {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ExportFormat";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ParseErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ReportErrorReason", false)) {
+ /**
+ * Default {@code ReportError} when the reason is not among any already
+ * defined.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReportErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReportError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ReportJobStatus", false)) {
+ /**
+ * Represents the status of a {@link ReportJob} running on the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReportJobStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ReportJobStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GetReportDownloadURL", false)) {
+ /**
+ * Returns the URL at which the report file can be downloaded.
+ *
+ * The report will be generated as a gzip archive, containing the report file itself.
+ *
+ * @param reportJobId the ID of the {@link ReportJob}
+ * @param exportFormat the {@link ExportFormat} for the report file
+ * @return the URL for report file download
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetReportDownloadURL {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $reportJobId;
+
+ /**
+ * @access public
+ * @var tnsExportFormat
+ */
+ public $exportFormat;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reportJobId = null, $exportFormat = null) {
+ $this->reportJobId = $reportJobId;
+ $this->exportFormat = $exportFormat;
+ }
+
+ }
+}
+
+if (!class_exists("GetReportDownloadURLResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetReportDownloadURLResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetReportDownloadUrlWithOptions", false)) {
+ /**
+ * Returns the URL at which the report file can be downloaded, and allows for customization
+ * of the downloaded report.
+ *
+ * By default, the report will be generated as a gzip archive, containing the report file itself.
+ * This can be changed by setting {@link ReportDownloadOptions#useGzipCompression} to false.
+ *
+ * @param reportJobId the ID of the {@link ReportJob}
+ * @param reportDownloadOptions the {@link ReportDownloadOptions} for the request
+ * @return the URL for report file download
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetReportDownloadUrlWithOptions {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $reportJobId;
+
+ /**
+ * @access public
+ * @var ReportDownloadOptions
+ */
+ public $reportDownloadOptions;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reportJobId = null, $reportDownloadOptions = null) {
+ $this->reportJobId = $reportJobId;
+ $this->reportDownloadOptions = $reportDownloadOptions;
+ }
+
+ }
+}
+
+if (!class_exists("GetReportDownloadUrlWithOptionsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetReportDownloadUrlWithOptionsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetReportJobStatus", false)) {
+ /**
+ * Returns the {@link ReportJobStatus} of the report job with the specified ID.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetReportJobStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $reportJobId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reportJobId = null) {
+ $this->reportJobId = $reportJobId;
+ }
+
+ }
+}
+
+if (!class_exists("GetReportJobStatusResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetReportJobStatusResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var tnsReportJobStatus
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("RunReportJob", false)) {
+ /**
+ * Initiates the execution of a {@link ReportQuery} on the server.
+ *
+ * The following fields are required:
+ *
+ * - {@link ReportJob#reportQuery}
+ *
+ *
+ * @param reportJob the report job to run
+ * @return the report job with its ID filled in
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RunReportJob {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ReportJob
+ */
+ public $reportJob;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reportJob = null) {
+ $this->reportJob = $reportJob;
+ }
+
+ }
+}
+
+if (!class_exists("RunReportJobResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RunReportJobResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var ReportJob
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("ReportService", false)) {
+ /**
+ * ReportService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ReportService extends DfpSoapClient {
+
+ const SERVICE_NAME = "ReportService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/ReportService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/ReportService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AuthenticationError" => "AuthenticationError",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "FeatureError" => "FeatureError",
+ "InternalApiError" => "InternalApiError",
+ "NotNullError" => "NotNullError",
+ "NumberValue" => "NumberValue",
+ "ParseError" => "ParseError",
+ "PermissionError" => "PermissionError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "ReportDownloadOptions" => "ReportDownloadOptions",
+ "ReportError" => "ReportError",
+ "ReportJob" => "ReportJob",
+ "ReportQuery" => "ReportQuery",
+ "RequiredError" => "RequiredError",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "TextValue" => "TextValue",
+ "Value" => "Value",
+ "ReportQuery.AdUnitView" => "ReportQueryAdUnitView",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "Column" => "Column",
+ "CommonError.Reason" => "CommonErrorReason",
+ "DateRangeType" => "DateRangeType",
+ "Dimension" => "Dimension",
+ "DimensionAttribute" => "DimensionAttribute",
+ "DimensionFilter" => "DimensionFilter",
+ "ExportFormat" => "ExportFormat",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "ParseError.Reason" => "ParseErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "ReportError.Reason" => "ReportErrorReason",
+ "ReportJobStatus" => "ReportJobStatus",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "getReportDownloadURL" => "GetReportDownloadURL",
+ "getReportDownloadURLResponse" => "GetReportDownloadURLResponse",
+ "getReportDownloadUrlWithOptions" => "GetReportDownloadUrlWithOptions",
+ "getReportDownloadUrlWithOptionsResponse" => "GetReportDownloadUrlWithOptionsResponse",
+ "getReportJobStatus" => "GetReportJobStatus",
+ "getReportJobStatusResponse" => "GetReportJobStatusResponse",
+ "runReportJob" => "RunReportJob",
+ "runReportJobResponse" => "RunReportJobResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Returns the URL at which the report file can be downloaded.
+ *
+ * The report will be generated as a gzip archive, containing the report file itself.
+ *
+ * @param reportJobId the ID of the {@link ReportJob}
+ * @param exportFormat the {@link ExportFormat} for the report file
+ * @return the URL for report file download
+ */
+ public function getReportDownloadURL($reportJobId, $exportFormat) {
+ $args = new GetReportDownloadURL($reportJobId, $exportFormat);
+ $result = $this->__soapCall("getReportDownloadURL", array($args));
+ return $result->rval;
+ }
+ /**
+ * Returns the URL at which the report file can be downloaded, and allows for customization
+ * of the downloaded report.
+ *
+ * By default, the report will be generated as a gzip archive, containing the report file itself.
+ * This can be changed by setting {@link ReportDownloadOptions#useGzipCompression} to false.
+ *
+ * @param reportJobId the ID of the {@link ReportJob}
+ * @param reportDownloadOptions the {@link ReportDownloadOptions} for the request
+ * @return the URL for report file download
+ */
+ public function getReportDownloadUrlWithOptions($reportJobId, $reportDownloadOptions) {
+ $args = new GetReportDownloadUrlWithOptions($reportJobId, $reportDownloadOptions);
+ $result = $this->__soapCall("getReportDownloadUrlWithOptions", array($args));
+ return $result->rval;
+ }
+ /**
+ * Returns the {@link ReportJobStatus} of the report job with the specified ID.
+ */
+ public function getReportJobStatus($reportJobId) {
+ $args = new GetReportJobStatus($reportJobId);
+ $result = $this->__soapCall("getReportJobStatus", array($args));
+ return $result->rval;
+ }
+ /**
+ * Initiates the execution of a {@link ReportQuery} on the server.
+ *
+ * The following fields are required:
+ *
+ * - {@link ReportJob#reportQuery}
+ *
+ *
+ * @param reportJob the report job to run
+ * @return the report job with its ID filled in
+ */
+ public function runReportJob($reportJob) {
+ $args = new RunReportJob($reportJob);
+ $result = $this->__soapCall("runReportJob", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/SharedAdUnitService.php b/src/Google/Api/Ads/Dfp/v201505/SharedAdUnitService.php
new file mode 100755
index 000000000..ce76bcab2
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/SharedAdUnitService.php
@@ -0,0 +1,2757 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitSize", false)) {
+ /**
+ * An {@code AdUnitSize} represents the size of an ad in an ad unit. Starting
+ * with v201108 this also represents the environment, and companions of a
+ * particular ad in an ad unit. In most cases, it is a simple size with just a
+ * width and a height (sometimes representing an aspect ratio).
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitSize {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnitSize";
+
+ /**
+ * @access public
+ * @var Size
+ */
+ public $size;
+
+ /**
+ * @access public
+ * @var tnsEnvironmentType
+ */
+ public $environmentType;
+
+ /**
+ * @access public
+ * @var AdUnitSize[]
+ */
+ public $companions;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fullDisplayString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($size = null, $environmentType = null, $companions = null, $fullDisplayString = null) {
+ $this->size = $size;
+ $this->environmentType = $environmentType;
+ $this->companions = $companions;
+ $this->fullDisplayString = $fullDisplayString;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SharedAdUnitAction", false)) {
+ /**
+ * Represents the actions that can be performed on {@link SharedAdUnit} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SharedAdUnitAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SharedAdUnitAction";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("SharedAdUnit", false)) {
+ /**
+ * An ad unit that is shared from a distributor network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SharedAdUnit {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SharedAdUnit";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $distributorName;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $contentProviderAdUnitId;
+
+ /**
+ * @access public
+ * @var tnsSharedAdUnitStatus
+ */
+ public $status;
+
+ /**
+ * @access public
+ * @var tnsTargetPlatform
+ */
+ public $targetPlatform;
+
+ /**
+ * @access public
+ * @var tnsAdUnitTargetWindow
+ */
+ public $targetWindow;
+
+ /**
+ * @access public
+ * @var AdUnitSize[]
+ */
+ public $adUnitSizes;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null, $distributorName = null, $contentProviderAdUnitId = null, $status = null, $targetPlatform = null, $targetWindow = null, $adUnitSizes = null) {
+ $this->id = $id;
+ $this->name = $name;
+ $this->distributorName = $distributorName;
+ $this->contentProviderAdUnitId = $contentProviderAdUnitId;
+ $this->status = $status;
+ $this->targetPlatform = $targetPlatform;
+ $this->targetWindow = $targetWindow;
+ $this->adUnitSizes = $adUnitSizes;
+ }
+
+ }
+}
+
+if (!class_exists("SharedAdUnitPage", false)) {
+ /**
+ * Captures a page of {@link SharedAdUnit} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SharedAdUnitPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SharedAdUnitPage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var SharedAdUnit[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("Size", false)) {
+ /**
+ * Represents the dimensions of an {@link AdUnit}, {@link LineItem} or {@link Creative}.
+ *
+ * For interstitial size (out-of-page) and native size, {@code Size} must be 1x1.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Size {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Size";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $width;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $height;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isAspectRatio;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($width = null, $height = null, $isAspectRatio = null) {
+ $this->width = $width;
+ $this->height = $height;
+ $this->isAspectRatio = $isAspectRatio;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateResult", false)) {
+ /**
+ * Represents the result of performing an action on objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UpdateResult";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numChanges;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($numChanges = null) {
+ $this->numChanges = $numChanges;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitTargetWindow", false)) {
+ /**
+ * Corresponds to an HTML link's {@code target} attribute.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitTargetWindow {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnit.TargetWindow";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("EnvironmentType", false)) {
+ /**
+ * Enum for the valid environments in which ads can be shown.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EnvironmentType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EnvironmentType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("SharedAdUnitStatus", false)) {
+ /**
+ * Indicates the supported statuses of {@link SharedAdUnit shared ad units}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SharedAdUnitStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SharedAdUnitStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TargetPlatform", false)) {
+ /**
+ * Indicates the target platform.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TargetPlatform {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TargetPlatform";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GetSharedAdUnitsByStatement", false)) {
+ /**
+ * Gets a {@link SharedAdUnitPage} of {@link SharedAdUnit} objects that satisfy the given
+ * {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link SharedAdUnit#id} |
+ *
+ *
+ * {@code name} |
+ * {@link SharedAdUnit#name} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of shared ad units
+ * @return the shared ad units that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetSharedAdUnitsByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetSharedAdUnitsByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetSharedAdUnitsByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var SharedAdUnitPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("PerformSharedAdUnitAction", false)) {
+ /**
+ * Performs actions on shared ad unit objects that match the given
+ * {@link Statement#query}.
+ *
+ * @param sharedAdUnitAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of shared ad units
+ * @return the result of the update action, which contains the number of shared ad units
+ * on which the action was performed.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformSharedAdUnitAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var SharedAdUnitAction
+ */
+ public $sharedAdUnitAction;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($sharedAdUnitAction = null, $filterStatement = null) {
+ $this->sharedAdUnitAction = $sharedAdUnitAction;
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("PerformSharedAdUnitActionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformSharedAdUnitActionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UpdateResult
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("ApproveSharedAdUnits", false)) {
+ /**
+ * Action to approve shared ad units.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApproveSharedAdUnits extends SharedAdUnitAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApproveSharedAdUnits";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("RejectSharedAdUnits", false)) {
+ /**
+ * Action to reject shared ad units.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RejectSharedAdUnits extends SharedAdUnitAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RejectSharedAdUnits";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SharedAdUnitService", false)) {
+ /**
+ * SharedAdUnitService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SharedAdUnitService extends DfpSoapClient {
+
+ const SERVICE_NAME = "SharedAdUnitService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/SharedAdUnitService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/SharedAdUnitService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "ApproveSharedAdUnits" => "ApproveSharedAdUnits",
+ "AuthenticationError" => "AuthenticationError",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "FeatureError" => "FeatureError",
+ "InternalApiError" => "InternalApiError",
+ "AdUnitSize" => "AdUnitSize",
+ "NotNullError" => "NotNullError",
+ "NumberValue" => "NumberValue",
+ "PermissionError" => "PermissionError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RejectSharedAdUnits" => "RejectSharedAdUnits",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SharedAdUnitAction" => "SharedAdUnitAction",
+ "SharedAdUnit" => "SharedAdUnit",
+ "SharedAdUnitPage" => "SharedAdUnitPage",
+ "Size" => "Size",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "TextValue" => "TextValue",
+ "UniqueError" => "UniqueError",
+ "UpdateResult" => "UpdateResult",
+ "Value" => "Value",
+ "AdUnit.TargetWindow" => "AdUnitTargetWindow",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "EnvironmentType" => "EnvironmentType",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "SharedAdUnitStatus" => "SharedAdUnitStatus",
+ "StatementError.Reason" => "StatementErrorReason",
+ "TargetPlatform" => "TargetPlatform",
+ "getSharedAdUnitsByStatement" => "GetSharedAdUnitsByStatement",
+ "getSharedAdUnitsByStatementResponse" => "GetSharedAdUnitsByStatementResponse",
+ "performSharedAdUnitAction" => "PerformSharedAdUnitAction",
+ "performSharedAdUnitActionResponse" => "PerformSharedAdUnitActionResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Gets a {@link SharedAdUnitPage} of {@link SharedAdUnit} objects that satisfy the given
+ * {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link SharedAdUnit#id} |
+ *
+ *
+ * {@code name} |
+ * {@link SharedAdUnit#name} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of shared ad units
+ * @return the shared ad units that match the given filter
+ */
+ public function getSharedAdUnitsByStatement($filterStatement) {
+ $args = new GetSharedAdUnitsByStatement($filterStatement);
+ $result = $this->__soapCall("getSharedAdUnitsByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Performs actions on shared ad unit objects that match the given
+ * {@link Statement#query}.
+ *
+ * @param sharedAdUnitAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of shared ad units
+ * @return the result of the update action, which contains the number of shared ad units
+ * on which the action was performed.
+ */
+ public function performSharedAdUnitAction($sharedAdUnitAction, $filterStatement) {
+ $args = new PerformSharedAdUnitAction($sharedAdUnitAction, $filterStatement);
+ $result = $this->__soapCall("performSharedAdUnitAction", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/SuggestedAdUnitService.php b/src/Google/Api/Ads/Dfp/v201505/SuggestedAdUnitService.php
new file mode 100755
index 000000000..dae33bf00
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/SuggestedAdUnitService.php
@@ -0,0 +1,3133 @@
+id = $id;
+ $this->name = $name;
+ $this->adUnitCode = $adUnitCode;
+ }
+
+ }
+}
+
+if (!class_exists("ApiError", false)) {
+ /**
+ * The API error base class that provides details about an error that occurred
+ * while processing a service request.
+ *
+ * The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitSize", false)) {
+ /**
+ * An {@code AdUnitSize} represents the size of an ad in an ad unit. Starting
+ * with v201108 this also represents the environment, and companions of a
+ * particular ad in an ad unit. In most cases, it is a simple size with just a
+ * width and a height (sometimes representing an aspect ratio).
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitSize {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnitSize";
+
+ /**
+ * @access public
+ * @var Size
+ */
+ public $size;
+
+ /**
+ * @access public
+ * @var tnsEnvironmentType
+ */
+ public $environmentType;
+
+ /**
+ * @access public
+ * @var AdUnitSize[]
+ */
+ public $companions;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fullDisplayString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($size = null, $environmentType = null, $companions = null, $fullDisplayString = null) {
+ $this->size = $size;
+ $this->environmentType = $environmentType;
+ $this->companions = $companions;
+ $this->fullDisplayString = $fullDisplayString;
+ }
+
+ }
+}
+
+if (!class_exists("InventoryUnitSizesError", false)) {
+ /**
+ * An error specifically for InventoryUnitSizes.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryUnitSizesError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryUnitSizesError";
+
+ /**
+ * @access public
+ * @var tnsInventoryUnitSizesErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LabelEntityAssociationError", false)) {
+ /**
+ * Errors specific to creating label entity associations.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelEntityAssociationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelEntityAssociationError";
+
+ /**
+ * @access public
+ * @var tnsLabelEntityAssociationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ParseError", false)) {
+ /**
+ * Lists errors related to parsing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError";
+
+ /**
+ * @access public
+ * @var tnsParseErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Size", false)) {
+ /**
+ * Represents the dimensions of an {@link AdUnit}, {@link LineItem} or {@link Creative}.
+ *
+ * For interstitial size (out-of-page) and native size, {@code Size} must be 1x1.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Size {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Size";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $width;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $height;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isAspectRatio;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($width = null, $height = null, $isAspectRatio = null) {
+ $this->width = $width;
+ $this->height = $height;
+ $this->isAspectRatio = $isAspectRatio;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SuggestedAdUnitAction", false)) {
+ /**
+ * Represents the actions that can be performed on {@link SuggestedAdUnit} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SuggestedAdUnitAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SuggestedAdUnitAction";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("SuggestedAdUnit", false)) {
+ /**
+ * A {@code SuggestedAdUnit} represents a suggestion for a new ad unit, based on an ad tag that has
+ * been served at least ten times in the past week, but which does not correspond to a defined ad
+ * unit. This type is read-only.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SuggestedAdUnit {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SuggestedAdUnit";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numRequests;
+
+ /**
+ * @access public
+ * @var string[]
+ */
+ public $path;
+
+ /**
+ * @access public
+ * @var AdUnitParent[]
+ */
+ public $parentPath;
+
+ /**
+ * @access public
+ * @var tnsAdUnitTargetWindow
+ */
+ public $targetWindow;
+
+ /**
+ * @access public
+ * @var tnsTargetPlatform
+ */
+ public $targetPlatform;
+
+ /**
+ * @access public
+ * @var AdUnitSize[]
+ */
+ public $suggestedAdUnitSizes;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $numRequests = null, $path = null, $parentPath = null, $targetWindow = null, $targetPlatform = null, $suggestedAdUnitSizes = null) {
+ $this->id = $id;
+ $this->numRequests = $numRequests;
+ $this->path = $path;
+ $this->parentPath = $parentPath;
+ $this->targetWindow = $targetWindow;
+ $this->targetPlatform = $targetPlatform;
+ $this->suggestedAdUnitSizes = $suggestedAdUnitSizes;
+ }
+
+ }
+}
+
+if (!class_exists("SuggestedAdUnitPage", false)) {
+ /**
+ * Contains a page of {@link SuggestedAdUnit} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SuggestedAdUnitPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SuggestedAdUnitPage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var SuggestedAdUnit[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("SuggestedAdUnitUpdateResult", false)) {
+ /**
+ * Represents the result of performing an action on {@link SuggestedAdUnit} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SuggestedAdUnitUpdateResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SuggestedAdUnitUpdateResult";
+
+ /**
+ * @access public
+ * @var string[]
+ */
+ public $newAdUnitIds;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numChanges;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($newAdUnitIds = null, $numChanges = null) {
+ $this->newAdUnitIds = $newAdUnitIds;
+ $this->numChanges = $numChanges;
+ }
+
+ }
+}
+
+if (!class_exists("TypeError", false)) {
+ /**
+ * An error for a field which is an invalid type.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TypeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TypeError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AdUnitTargetWindow", false)) {
+ /**
+ * Corresponds to an HTML link's {@code target} attribute.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AdUnitTargetWindow {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AdUnit.TargetWindow";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("EnvironmentType", false)) {
+ /**
+ * Enum for the valid environments in which ads can be shown.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class EnvironmentType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "EnvironmentType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InventoryUnitSizesErrorReason", false)) {
+ /**
+ * All possible reasons the error can be thrown.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InventoryUnitSizesErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InventoryUnitSizesError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LabelEntityAssociationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LabelEntityAssociationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LabelEntityAssociationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ParseErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TargetPlatform", false)) {
+ /**
+ * Indicates the target platform.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TargetPlatform {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TargetPlatform";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GetSuggestedAdUnitsByStatement", false)) {
+ /**
+ * Gets a {@link SuggestedAdUnitPage} of {@link SuggestedAdUnit} objects that
+ * satisfy the filter query. There is a system-enforced limit of 1000 on the number of suggested
+ * ad units that are suggested at any one time.
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link SuggestedAdUnit#id} |
+ *
+ *
+ * {@code numRequests} |
+ * {@link SuggestedAdUnit#numRequests} |
+ *
+ *
+ *
+ * Note: After API version 201311, the {@code id} field will only be
+ * numerical.
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of suggested ad units
+ * @return the suggested ad units that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetSuggestedAdUnitsByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetSuggestedAdUnitsByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetSuggestedAdUnitsByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var SuggestedAdUnitPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("PerformSuggestedAdUnitAction", false)) {
+ /**
+ * Performs actions on {@link SuggestedAdUnit} objects that match the given
+ * {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link SuggestedAdUnit#id} |
+ *
+ *
+ * {@code numRequests} |
+ * {@link SuggestedAdUnit#numRequests} |
+ *
+ *
+ *
+ * @param suggestedAdUnitAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of suggested ad units
+ * @return the result of the action performed
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformSuggestedAdUnitAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var SuggestedAdUnitAction
+ */
+ public $suggestedAdUnitAction;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($suggestedAdUnitAction = null, $filterStatement = null) {
+ $this->suggestedAdUnitAction = $suggestedAdUnitAction;
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("PerformSuggestedAdUnitActionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformSuggestedAdUnitActionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var SuggestedAdUnitUpdateResult
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("ApproveSuggestedAdUnit", false)) {
+ /**
+ * Action to approve {@link SuggestedAdUnit} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApproveSuggestedAdUnit extends SuggestedAdUnitAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApproveSuggestedAdUnit";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SuggestedAdUnitService", false)) {
+ /**
+ * SuggestedAdUnitService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SuggestedAdUnitService extends DfpSoapClient {
+
+ const SERVICE_NAME = "SuggestedAdUnitService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/SuggestedAdUnitService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/SuggestedAdUnitService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "AdUnitParent" => "AdUnitParent",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "ApproveSuggestedAdUnit" => "ApproveSuggestedAdUnit",
+ "AuthenticationError" => "AuthenticationError",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "FeatureError" => "FeatureError",
+ "InternalApiError" => "InternalApiError",
+ "AdUnitSize" => "AdUnitSize",
+ "InventoryUnitSizesError" => "InventoryUnitSizesError",
+ "LabelEntityAssociationError" => "LabelEntityAssociationError",
+ "NotNullError" => "NotNullError",
+ "NumberValue" => "NumberValue",
+ "ParseError" => "ParseError",
+ "PermissionError" => "PermissionError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RequiredError" => "RequiredError",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "Size" => "Size",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "SuggestedAdUnitAction" => "SuggestedAdUnitAction",
+ "SuggestedAdUnit" => "SuggestedAdUnit",
+ "SuggestedAdUnitPage" => "SuggestedAdUnitPage",
+ "SuggestedAdUnitUpdateResult" => "SuggestedAdUnitUpdateResult",
+ "TextValue" => "TextValue",
+ "TypeError" => "TypeError",
+ "UniqueError" => "UniqueError",
+ "Value" => "Value",
+ "AdUnit.TargetWindow" => "AdUnitTargetWindow",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "EnvironmentType" => "EnvironmentType",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "InventoryUnitSizesError.Reason" => "InventoryUnitSizesErrorReason",
+ "LabelEntityAssociationError.Reason" => "LabelEntityAssociationErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "ParseError.Reason" => "ParseErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "TargetPlatform" => "TargetPlatform",
+ "getSuggestedAdUnitsByStatement" => "GetSuggestedAdUnitsByStatement",
+ "getSuggestedAdUnitsByStatementResponse" => "GetSuggestedAdUnitsByStatementResponse",
+ "performSuggestedAdUnitAction" => "PerformSuggestedAdUnitAction",
+ "performSuggestedAdUnitActionResponse" => "PerformSuggestedAdUnitActionResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Gets a {@link SuggestedAdUnitPage} of {@link SuggestedAdUnit} objects that
+ * satisfy the filter query. There is a system-enforced limit of 1000 on the number of suggested
+ * ad units that are suggested at any one time.
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link SuggestedAdUnit#id} |
+ *
+ *
+ * {@code numRequests} |
+ * {@link SuggestedAdUnit#numRequests} |
+ *
+ *
+ *
+ * Note: After API version 201311, the {@code id} field will only be
+ * numerical.
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of suggested ad units
+ * @return the suggested ad units that match the given filter
+ */
+ public function getSuggestedAdUnitsByStatement($filterStatement) {
+ $args = new GetSuggestedAdUnitsByStatement($filterStatement);
+ $result = $this->__soapCall("getSuggestedAdUnitsByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Performs actions on {@link SuggestedAdUnit} objects that match the given
+ * {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link SuggestedAdUnit#id} |
+ *
+ *
+ * {@code numRequests} |
+ * {@link SuggestedAdUnit#numRequests} |
+ *
+ *
+ *
+ * @param suggestedAdUnitAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of suggested ad units
+ * @return the result of the action performed
+ */
+ public function performSuggestedAdUnitAction($suggestedAdUnitAction, $filterStatement) {
+ $args = new PerformSuggestedAdUnitAction($suggestedAdUnitAction, $filterStatement);
+ $result = $this->__soapCall("performSuggestedAdUnitAction", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/TeamService.php b/src/Google/Api/Ads/Dfp/v201505/TeamService.php
new file mode 100755
index 000000000..6caa63efc
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/TeamService.php
@@ -0,0 +1,2772 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NullError", false)) {
+ /**
+ * Errors associated with violation of a NOT NULL check.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("Team", false)) {
+ /**
+ * A {@code Team} defines a grouping of users and what entities they have access
+ * to. Users are added to teams with {@link UserTeamAssociation} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Team {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Team";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $description;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $hasAllCompanies;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $hasAllInventory;
+
+ /**
+ * @access public
+ * @var tnsTeamAccessType
+ */
+ public $teamAccessType;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $companyIds;
+
+ /**
+ * @access public
+ * @var string[]
+ */
+ public $adUnitIds;
+
+ /**
+ * @access public
+ * @var integer[]
+ */
+ public $orderIds;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null, $description = null, $hasAllCompanies = null, $hasAllInventory = null, $teamAccessType = null, $companyIds = null, $adUnitIds = null, $orderIds = null) {
+ $this->id = $id;
+ $this->name = $name;
+ $this->description = $description;
+ $this->hasAllCompanies = $hasAllCompanies;
+ $this->hasAllInventory = $hasAllInventory;
+ $this->teamAccessType = $teamAccessType;
+ $this->companyIds = $companyIds;
+ $this->adUnitIds = $adUnitIds;
+ $this->orderIds = $orderIds;
+ }
+
+ }
+}
+
+if (!class_exists("TeamError", false)) {
+ /**
+ * Errors related to a Team.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TeamError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TeamError";
+
+ /**
+ * @access public
+ * @var tnsTeamErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TeamPage", false)) {
+ /**
+ * Captures a page of {@link Team} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TeamPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TeamPage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var Team[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("TypeError", false)) {
+ /**
+ * An error for a field which is an invalid type.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TypeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TypeError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NullErrorReason", false)) {
+ /**
+ * The reasons for the validation error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TeamAccessType", false)) {
+ /**
+ * Represents the types of team access supported for orders.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TeamAccessType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TeamAccessType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TeamErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TeamErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TeamError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreateTeams", false)) {
+ /**
+ * Creates new {@link Team} objects.
+ *
+ * The following fields are required:
+ *
+ * - {@link Team#name}
+ *
+ *
+ * @param teams the teams to create
+ * @return the created teams with their IDs filled in
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateTeams {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Team[]
+ */
+ public $teams;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($teams = null) {
+ $this->teams = $teams;
+ }
+
+ }
+}
+
+if (!class_exists("CreateTeamsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateTeamsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Team[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetTeamsByStatement", false)) {
+ /**
+ * Gets a {@code TeamPage} of {@code Team} objects that satisfy the
+ * given {@link Statement#query}. The following fields are supported for
+ * filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link Team#id} |
+ *
+ *
+ * {@code name} |
+ * {@link Team#name} |
+ *
+ *
+ * {@code description} |
+ * {@link Team#description} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of teams.
+ * @return the teams that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetTeamsByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetTeamsByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetTeamsByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var TeamPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateTeams", false)) {
+ /**
+ * Updates the specified {@link Team} objects.
+ *
+ * @param teams the teams to update
+ * @return the updated teams
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateTeams {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Team[]
+ */
+ public $teams;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($teams = null) {
+ $this->teams = $teams;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateTeamsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateTeamsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Team[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("TeamService", false)) {
+ /**
+ * TeamService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TeamService extends DfpSoapClient {
+
+ const SERVICE_NAME = "TeamService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/TeamService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/TeamService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AuthenticationError" => "AuthenticationError",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "FeatureError" => "FeatureError",
+ "InternalApiError" => "InternalApiError",
+ "NotNullError" => "NotNullError",
+ "NullError" => "NullError",
+ "NumberValue" => "NumberValue",
+ "PermissionError" => "PermissionError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RequiredError" => "RequiredError",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "Team" => "Team",
+ "TeamError" => "TeamError",
+ "TeamPage" => "TeamPage",
+ "TextValue" => "TextValue",
+ "TypeError" => "TypeError",
+ "UniqueError" => "UniqueError",
+ "Value" => "Value",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "NullError.Reason" => "NullErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "TeamAccessType" => "TeamAccessType",
+ "TeamError.Reason" => "TeamErrorReason",
+ "createTeams" => "CreateTeams",
+ "createTeamsResponse" => "CreateTeamsResponse",
+ "getTeamsByStatement" => "GetTeamsByStatement",
+ "getTeamsByStatementResponse" => "GetTeamsByStatementResponse",
+ "updateTeams" => "UpdateTeams",
+ "updateTeamsResponse" => "UpdateTeamsResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Creates new {@link Team} objects.
+ *
+ * The following fields are required:
+ *
+ * - {@link Team#name}
+ *
+ *
+ * @param teams the teams to create
+ * @return the created teams with their IDs filled in
+ */
+ public function createTeams($teams) {
+ $args = new CreateTeams($teams);
+ $result = $this->__soapCall("createTeams", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@code TeamPage} of {@code Team} objects that satisfy the
+ * given {@link Statement#query}. The following fields are supported for
+ * filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link Team#id} |
+ *
+ *
+ * {@code name} |
+ * {@link Team#name} |
+ *
+ *
+ * {@code description} |
+ * {@link Team#description} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of teams.
+ * @return the teams that match the given filter
+ */
+ public function getTeamsByStatement($filterStatement) {
+ $args = new GetTeamsByStatement($filterStatement);
+ $result = $this->__soapCall("getTeamsByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link Team} objects.
+ *
+ * @param teams the teams to update
+ * @return the updated teams
+ */
+ public function updateTeams($teams) {
+ $args = new UpdateTeams($teams);
+ $result = $this->__soapCall("updateTeams", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/UserService.php b/src/Google/Api/Ads/Dfp/v201505/UserService.php
new file mode 100755
index 000000000..cb0c043e1
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/UserService.php
@@ -0,0 +1,3751 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("BaseCustomFieldValue", false)) {
+ /**
+ * The value of a {@link CustomField} for a particular entity.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BaseCustomFieldValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customFieldId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customFieldId = null) {
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValue", false)) {
+ /**
+ * The value of a {@link CustomField} that does not have a {@link CustomField#dataType}
+ * of {@link CustomFieldDataType#DROP_DOWN}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValue extends BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValue";
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null, $customFieldId = null) {
+ parent::__construct();
+ $this->value = $value;
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValueError", false)) {
+ /**
+ * Errors specific to editing custom field values
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValueError";
+
+ /**
+ * @access public
+ * @var tnsCustomFieldValueErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("DropDownCustomFieldValue", false)) {
+ /**
+ * A {@link CustomFieldValue} for a {@link CustomField} that has a {@link CustomField#dataType}
+ * of {@link CustomFieldDataType#DROP_DOWN}
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DropDownCustomFieldValue extends BaseCustomFieldValue {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DropDownCustomFieldValue";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $customFieldOptionId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($customFieldOptionId = null, $customFieldId = null) {
+ parent::__construct();
+ $this->customFieldOptionId = $customFieldOptionId;
+ $this->customFieldId = $customFieldId;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("InvalidEmailError", false)) {
+ /**
+ * Caused by supplying a value for an email attribute that is not a valid
+ * email address.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidEmailError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidEmailError";
+
+ /**
+ * @access public
+ * @var tnsInvalidEmailErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ParseError", false)) {
+ /**
+ * Lists errors related to parsing.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError";
+
+ /**
+ * @access public
+ * @var tnsParseErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("RequiredError", false)) {
+ /**
+ * Errors due to missing required field.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError";
+
+ /**
+ * @access public
+ * @var tnsRequiredErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Role", false)) {
+ /**
+ * Each {@code Role} provides a user with permissions to perform specific
+ * operations in the system.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Role {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Role";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $description;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null, $description = null) {
+ $this->id = $id;
+ $this->name = $name;
+ $this->description = $description;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("TeamError", false)) {
+ /**
+ * Errors related to a Team.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TeamError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TeamError";
+
+ /**
+ * @access public
+ * @var tnsTeamErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TimeZoneError", false)) {
+ /**
+ * Errors related to timezones.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TimeZoneError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TimeZoneError";
+
+ /**
+ * @access public
+ * @var tnsTimeZoneErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TokenError", false)) {
+ /**
+ * An error for an exception that occurred when using a token.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TokenError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TokenError";
+
+ /**
+ * @access public
+ * @var tnsTokenErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("TypeError", false)) {
+ /**
+ * An error for a field which is an invalid type.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TypeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TypeError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UniqueError", false)) {
+ /**
+ * An error for a field which must satisfy a uniqueness constraint
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UniqueError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UniqueError";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateResult", false)) {
+ /**
+ * Represents the result of performing an action on objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UpdateResult";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numChanges;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($numChanges = null) {
+ $this->numChanges = $numChanges;
+ }
+
+ }
+}
+
+if (!class_exists("UserAction", false)) {
+ /**
+ * Represents the actions that can be performed on {@link User} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserAction";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("UserPage", false)) {
+ /**
+ * Captures a page of {@link User} objects
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserPage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var User[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("UserRecord", false)) {
+ /**
+ * The {@code UserRecord} represents the base class from which a {@code User} is
+ * derived.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserRecord {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserRecord";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $name;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $email;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $roleId;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $roleName;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $preferredLocale;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $name = null, $email = null, $roleId = null, $roleName = null, $preferredLocale = null) {
+ $this->id = $id;
+ $this->name = $name;
+ $this->email = $email;
+ $this->roleId = $roleId;
+ $this->roleName = $roleName;
+ $this->preferredLocale = $preferredLocale;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CustomFieldValueErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CustomFieldValueErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CustomFieldValueError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InvalidEmailErrorReason", false)) {
+ /**
+ * Describes reasons for an email to be invalid.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InvalidEmailErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InvalidEmailError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ParseErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ParseErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ParseError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("RequiredErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RequiredErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RequiredError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TeamErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TeamErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TeamError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TimeZoneErrorReason", false)) {
+ /**
+ * Describes reasons for invalid timezone.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TimeZoneErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TimeZoneError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TokenErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TokenErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TokenError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreateUsers", false)) {
+ /**
+ * Creates new {@link User} objects.
+ *
+ * @param users the users to create
+ * @return the created users with their IDs filled in
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateUsers {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var User[]
+ */
+ public $users;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($users = null) {
+ $this->users = $users;
+ }
+
+ }
+}
+
+if (!class_exists("CreateUsersResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateUsersResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var User[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetAllRoles", false)) {
+ /**
+ * Returns the {@link Role} objects that are defined for the users of the
+ * network.
+ *
+ * @return the roles defined for the user's network
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetAllRoles {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GetAllRolesResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetAllRolesResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Role[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetCurrentUser", false)) {
+ /**
+ * Returns the current {@link User}.
+ *
+ * @return the current user
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetCurrentUser {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GetCurrentUserResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetCurrentUserResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var User
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetUsersByStatement", false)) {
+ /**
+ * Gets a {@link UserPage} of {@link User} objects that satisfy the given
+ * {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code email} |
+ * {@link User#email} |
+ *
+ *
+ * {@code id} |
+ * {@link User#id} |
+ *
+ *
+ * {@code name} |
+ * {@link User#name} |
+ *
+ *
+ * {@code roleId} |
+ * {@link User#roleId}
+ * |
+ *
+ * {@code rolename} |
+ * {@link User#roleName}
+ * |
+ *
+ * {@code status} |
+ * {@code ACTIVE} if {@link User#isActive} is true; {@code INACTIVE}
+ * otherwise |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of users
+ * @return the users that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetUsersByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetUsersByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetUsersByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UserPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("PerformUserAction", false)) {
+ /**
+ * Performs actions on {@link User} objects that match the given
+ * {@link Statement#query}.
+ *
+ * @param userAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of users
+ * @return the result of the action performed
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformUserAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UserAction
+ */
+ public $userAction;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($userAction = null, $filterStatement = null) {
+ $this->userAction = $userAction;
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("PerformUserActionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformUserActionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UpdateResult
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateUsers", false)) {
+ /**
+ * Updates the specified {@link User} objects.
+ *
+ * @param users the users to update
+ * @return the updated users
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateUsers {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var User[]
+ */
+ public $users;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($users = null) {
+ $this->users = $users;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateUsersResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateUsersResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var User[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ActivateUsers", false)) {
+ /**
+ * The action used for activating {@link User} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ActivateUsers extends UserAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ActivateUsers";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DeactivateUsers", false)) {
+ /**
+ * The action used for deactivating {@link User} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeactivateUsers extends UserAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeactivateUsers";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("User", false)) {
+ /**
+ * Represents a user of the system.
+ *
+ * Users may be assigned at most one {@link Role} per network. Each role
+ * provides a user with permissions to perform specific operations. Without a
+ * role, they will not be able to perform any actions.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class User extends UserRecord {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "User";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isActive;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isEmailNotificationAllowed;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $externalId;
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $isServiceAccount;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $ordersUiLocalTimeZoneId;
+
+ /**
+ * @access public
+ * @var BaseCustomFieldValue[]
+ */
+ public $customFieldValues;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($isActive = null, $isEmailNotificationAllowed = null, $externalId = null, $isServiceAccount = null, $ordersUiLocalTimeZoneId = null, $customFieldValues = null, $id = null, $name = null, $email = null, $roleId = null, $roleName = null, $preferredLocale = null) {
+ parent::__construct();
+ $this->isActive = $isActive;
+ $this->isEmailNotificationAllowed = $isEmailNotificationAllowed;
+ $this->externalId = $externalId;
+ $this->isServiceAccount = $isServiceAccount;
+ $this->ordersUiLocalTimeZoneId = $ordersUiLocalTimeZoneId;
+ $this->customFieldValues = $customFieldValues;
+ $this->id = $id;
+ $this->name = $name;
+ $this->email = $email;
+ $this->roleId = $roleId;
+ $this->roleName = $roleName;
+ $this->preferredLocale = $preferredLocale;
+ }
+
+ }
+}
+
+if (!class_exists("UserService", false)) {
+ /**
+ * UserService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserService extends DfpSoapClient {
+
+ const SERVICE_NAME = "UserService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/UserService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/UserService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ActivateUsers" => "ActivateUsers",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AuthenticationError" => "AuthenticationError",
+ "BaseCustomFieldValue" => "BaseCustomFieldValue",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "CustomFieldValue" => "CustomFieldValue",
+ "CustomFieldValueError" => "CustomFieldValueError",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "DeactivateUsers" => "DeactivateUsers",
+ "DropDownCustomFieldValue" => "DropDownCustomFieldValue",
+ "FeatureError" => "FeatureError",
+ "InternalApiError" => "InternalApiError",
+ "InvalidEmailError" => "InvalidEmailError",
+ "NotNullError" => "NotNullError",
+ "NumberValue" => "NumberValue",
+ "ParseError" => "ParseError",
+ "PermissionError" => "PermissionError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RequiredError" => "RequiredError",
+ "Role" => "Role",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "TeamError" => "TeamError",
+ "TextValue" => "TextValue",
+ "TimeZoneError" => "TimeZoneError",
+ "TokenError" => "TokenError",
+ "TypeError" => "TypeError",
+ "UniqueError" => "UniqueError",
+ "UpdateResult" => "UpdateResult",
+ "UserAction" => "UserAction",
+ "User" => "User",
+ "UserPage" => "UserPage",
+ "UserRecord" => "UserRecord",
+ "Value" => "Value",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "CustomFieldValueError.Reason" => "CustomFieldValueErrorReason",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "InvalidEmailError.Reason" => "InvalidEmailErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "ParseError.Reason" => "ParseErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "RequiredError.Reason" => "RequiredErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "TeamError.Reason" => "TeamErrorReason",
+ "TimeZoneError.Reason" => "TimeZoneErrorReason",
+ "TokenError.Reason" => "TokenErrorReason",
+ "createUsers" => "CreateUsers",
+ "createUsersResponse" => "CreateUsersResponse",
+ "getAllRoles" => "GetAllRoles",
+ "getAllRolesResponse" => "GetAllRolesResponse",
+ "getCurrentUser" => "GetCurrentUser",
+ "getCurrentUserResponse" => "GetCurrentUserResponse",
+ "getUsersByStatement" => "GetUsersByStatement",
+ "getUsersByStatementResponse" => "GetUsersByStatementResponse",
+ "performUserAction" => "PerformUserAction",
+ "performUserActionResponse" => "PerformUserActionResponse",
+ "updateUsers" => "UpdateUsers",
+ "updateUsersResponse" => "UpdateUsersResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Creates new {@link User} objects.
+ *
+ * @param users the users to create
+ * @return the created users with their IDs filled in
+ */
+ public function createUsers($users) {
+ $args = new CreateUsers($users);
+ $result = $this->__soapCall("createUsers", array($args));
+ return $result->rval;
+ }
+ /**
+ * Returns the {@link Role} objects that are defined for the users of the
+ * network.
+ *
+ * @return the roles defined for the user's network
+ */
+ public function getAllRoles() {
+ $args = new GetAllRoles();
+ $result = $this->__soapCall("getAllRoles", array($args));
+ return $result->rval;
+ }
+ /**
+ * Returns the current {@link User}.
+ *
+ * @return the current user
+ */
+ public function getCurrentUser() {
+ $args = new GetCurrentUser();
+ $result = $this->__soapCall("getCurrentUser", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@link UserPage} of {@link User} objects that satisfy the given
+ * {@link Statement#query}. The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code email} |
+ * {@link User#email} |
+ *
+ *
+ * {@code id} |
+ * {@link User#id} |
+ *
+ *
+ * {@code name} |
+ * {@link User#name} |
+ *
+ *
+ * {@code roleId} |
+ * {@link User#roleId}
+ * |
+ *
+ * {@code rolename} |
+ * {@link User#roleName}
+ * |
+ *
+ * {@code status} |
+ * {@code ACTIVE} if {@link User#isActive} is true; {@code INACTIVE}
+ * otherwise |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of users
+ * @return the users that match the given filter
+ */
+ public function getUsersByStatement($filterStatement) {
+ $args = new GetUsersByStatement($filterStatement);
+ $result = $this->__soapCall("getUsersByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Performs actions on {@link User} objects that match the given
+ * {@link Statement#query}.
+ *
+ * @param userAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of users
+ * @return the result of the action performed
+ */
+ public function performUserAction($userAction, $filterStatement) {
+ $args = new PerformUserAction($userAction, $filterStatement);
+ $result = $this->__soapCall("performUserAction", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link User} objects.
+ *
+ * @param users the users to update
+ * @return the updated users
+ */
+ public function updateUsers($users) {
+ $args = new UpdateUsers($users);
+ $result = $this->__soapCall("updateUsers", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/UserTeamAssociationService.php b/src/Google/Api/Ads/Dfp/v201505/UserTeamAssociationService.php
new file mode 100755
index 000000000..722df4f80
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/UserTeamAssociationService.php
@@ -0,0 +1,2744 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NullError", false)) {
+ /**
+ * Errors associated with violation of a NOT NULL check.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError";
+
+ /**
+ * @access public
+ * @var tnsNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateResult", false)) {
+ /**
+ * Represents the result of performing an action on objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UpdateResult";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numChanges;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($numChanges = null) {
+ $this->numChanges = $numChanges;
+ }
+
+ }
+}
+
+if (!class_exists("UserRecordTeamAssociation", false)) {
+ /**
+ * {@code UserRecordTeamAssociation} represents the association between a
+ * {@link UserRecord} and a {@link Team}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserRecordTeamAssociation {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserRecordTeamAssociation";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $teamId;
+
+ /**
+ * @access public
+ * @var tnsTeamAccessType
+ */
+ public $overriddenTeamAccessType;
+
+ /**
+ * @access public
+ * @var tnsTeamAccessType
+ */
+ public $defaultTeamAccessType;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($teamId = null, $overriddenTeamAccessType = null, $defaultTeamAccessType = null) {
+ $this->teamId = $teamId;
+ $this->overriddenTeamAccessType = $overriddenTeamAccessType;
+ $this->defaultTeamAccessType = $defaultTeamAccessType;
+ }
+
+ }
+}
+
+if (!class_exists("UserTeamAssociationAction", false)) {
+ /**
+ * Represents the actions that can be performed on {@link UserTeamAssociation}
+ * objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserTeamAssociationAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserTeamAssociationAction";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("UserTeamAssociation", false)) {
+ /**
+ * {@code UserTeamAssociation} associates a {@link User} with a {@link Team}
+ * to provide the user access to the entities that belong to the team.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserTeamAssociation extends UserRecordTeamAssociation {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserTeamAssociation";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $userId;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($userId = null, $teamId = null, $overriddenTeamAccessType = null, $defaultTeamAccessType = null) {
+ parent::__construct();
+ $this->userId = $userId;
+ $this->teamId = $teamId;
+ $this->overriddenTeamAccessType = $overriddenTeamAccessType;
+ $this->defaultTeamAccessType = $defaultTeamAccessType;
+ }
+
+ }
+}
+
+if (!class_exists("UserTeamAssociationPage", false)) {
+ /**
+ * Captures a page of {@link UserTeamAssociation} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserTeamAssociationPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UserTeamAssociationPage";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var UserTeamAssociation[]
+ */
+ public $results;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($totalResultSetSize = null, $startIndex = null, $results = null) {
+ $this->totalResultSetSize = $totalResultSetSize;
+ $this->startIndex = $startIndex;
+ $this->results = $results;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NullErrorReason", false)) {
+ /**
+ * The reasons for the validation error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("TeamAccessType", false)) {
+ /**
+ * Represents the types of team access supported for orders.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TeamAccessType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TeamAccessType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CreateUserTeamAssociations", false)) {
+ /**
+ * Creates new {@link UserTeamAssociation} objects.
+ *
+ * @param userTeamAssociations the user team associations to create
+ * @return the created user team associations with their IDs filled in
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateUserTeamAssociations {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UserTeamAssociation[]
+ */
+ public $userTeamAssociations;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($userTeamAssociations = null) {
+ $this->userTeamAssociations = $userTeamAssociations;
+ }
+
+ }
+}
+
+if (!class_exists("CreateUserTeamAssociationsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CreateUserTeamAssociationsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UserTeamAssociation[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("GetUserTeamAssociationsByStatement", false)) {
+ /**
+ * Gets a {@link UserTeamAssociationPage} of {@link UserTeamAssociation}
+ * objects that satisfy the given {@link Statement#query}. The following
+ * fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code userId} |
+ * {@link UserTeamAssociation#userId} |
+ *
+ *
+ * {@code teamId} |
+ * {@link UserTeamAssociation#teamId} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of user team associations
+ * @return the user team associations that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetUserTeamAssociationsByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetUserTeamAssociationsByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetUserTeamAssociationsByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UserTeamAssociationPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("PerformUserTeamAssociationAction", false)) {
+ /**
+ * Performs actions on {@link UserTeamAssociation} objects that match the
+ * given {@link Statement#query}.
+ *
+ * @param userTeamAssociationAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of user team associations
+ * @return the result of the action performed
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformUserTeamAssociationAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UserTeamAssociationAction
+ */
+ public $userTeamAssociationAction;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $statement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($userTeamAssociationAction = null, $statement = null) {
+ $this->userTeamAssociationAction = $userTeamAssociationAction;
+ $this->statement = $statement;
+ }
+
+ }
+}
+
+if (!class_exists("PerformUserTeamAssociationActionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformUserTeamAssociationActionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UpdateResult
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateUserTeamAssociations", false)) {
+ /**
+ * Updates the specified {@link UserTeamAssociation} objects.
+ *
+ * @param userTeamAssociations the user team associations to update
+ * @return the updated user team associations
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateUserTeamAssociations {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UserTeamAssociation[]
+ */
+ public $userTeamAssociations;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($userTeamAssociations = null) {
+ $this->userTeamAssociations = $userTeamAssociations;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateUserTeamAssociationsResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateUserTeamAssociationsResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UserTeamAssociation[]
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DeleteUserTeamAssociations", false)) {
+ /**
+ * Action to delete the association between a {@link User} and a {@link Team}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DeleteUserTeamAssociations extends UserTeamAssociationAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DeleteUserTeamAssociations";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("UserTeamAssociationService", false)) {
+ /**
+ * UserTeamAssociationService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UserTeamAssociationService extends DfpSoapClient {
+
+ const SERVICE_NAME = "UserTeamAssociationService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/UserTeamAssociationService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/UserTeamAssociationService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "AuthenticationError" => "AuthenticationError",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "DeleteUserTeamAssociations" => "DeleteUserTeamAssociations",
+ "FeatureError" => "FeatureError",
+ "InternalApiError" => "InternalApiError",
+ "NotNullError" => "NotNullError",
+ "NullError" => "NullError",
+ "NumberValue" => "NumberValue",
+ "PermissionError" => "PermissionError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "TextValue" => "TextValue",
+ "UpdateResult" => "UpdateResult",
+ "UserRecordTeamAssociation" => "UserRecordTeamAssociation",
+ "UserTeamAssociationAction" => "UserTeamAssociationAction",
+ "UserTeamAssociation" => "UserTeamAssociation",
+ "UserTeamAssociationPage" => "UserTeamAssociationPage",
+ "Value" => "Value",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "NullError.Reason" => "NullErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "TeamAccessType" => "TeamAccessType",
+ "createUserTeamAssociations" => "CreateUserTeamAssociations",
+ "createUserTeamAssociationsResponse" => "CreateUserTeamAssociationsResponse",
+ "getUserTeamAssociationsByStatement" => "GetUserTeamAssociationsByStatement",
+ "getUserTeamAssociationsByStatementResponse" => "GetUserTeamAssociationsByStatementResponse",
+ "performUserTeamAssociationAction" => "PerformUserTeamAssociationAction",
+ "performUserTeamAssociationActionResponse" => "PerformUserTeamAssociationActionResponse",
+ "updateUserTeamAssociations" => "UpdateUserTeamAssociations",
+ "updateUserTeamAssociationsResponse" => "UpdateUserTeamAssociationsResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Creates new {@link UserTeamAssociation} objects.
+ *
+ * @param userTeamAssociations the user team associations to create
+ * @return the created user team associations with their IDs filled in
+ */
+ public function createUserTeamAssociations($userTeamAssociations) {
+ $args = new CreateUserTeamAssociations($userTeamAssociations);
+ $result = $this->__soapCall("createUserTeamAssociations", array($args));
+ return $result->rval;
+ }
+ /**
+ * Gets a {@link UserTeamAssociationPage} of {@link UserTeamAssociation}
+ * objects that satisfy the given {@link Statement#query}. The following
+ * fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property | Object Property |
+ *
+ *
+ * {@code userId} |
+ * {@link UserTeamAssociation#userId} |
+ *
+ *
+ * {@code teamId} |
+ * {@link UserTeamAssociation#teamId} |
+ *
+ *
+ *
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of user team associations
+ * @return the user team associations that match the given filter
+ */
+ public function getUserTeamAssociationsByStatement($filterStatement) {
+ $args = new GetUserTeamAssociationsByStatement($filterStatement);
+ $result = $this->__soapCall("getUserTeamAssociationsByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Performs actions on {@link UserTeamAssociation} objects that match the
+ * given {@link Statement#query}.
+ *
+ * @param userTeamAssociationAction the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter
+ * a set of user team associations
+ * @return the result of the action performed
+ */
+ public function performUserTeamAssociationAction($userTeamAssociationAction, $statement) {
+ $args = new PerformUserTeamAssociationAction($userTeamAssociationAction, $statement);
+ $result = $this->__soapCall("performUserTeamAssociationAction", array($args));
+ return $result->rval;
+ }
+ /**
+ * Updates the specified {@link UserTeamAssociation} objects.
+ *
+ * @param userTeamAssociations the user team associations to update
+ * @return the updated user team associations
+ */
+ public function updateUserTeamAssociations($userTeamAssociations) {
+ $args = new UpdateUserTeamAssociations($userTeamAssociations);
+ $result = $this->__soapCall("updateUserTeamAssociations", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/src/Google/Api/Ads/Dfp/v201505/WorkflowRequestService.php b/src/Google/Api/Ads/Dfp/v201505/WorkflowRequestService.php
new file mode 100755
index 000000000..f522eecc4
--- /dev/null
+++ b/src/Google/Api/Ads/Dfp/v201505/WorkflowRequestService.php
@@ -0,0 +1,3191 @@
+The OGNL field path is provided for parsers to identify the request data
+ * element that may have caused the error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiError";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $fieldPath;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $trigger;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $errorString;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($fieldPath = null, $trigger = null, $errorString = null) {
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionError", false)) {
+ /**
+ * Errors related to the usage of API versions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError";
+
+ /**
+ * @access public
+ * @var tnsApiVersionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ApplicationException", false)) {
+ /**
+ * Base class for exceptions.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApplicationException";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $message;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($message = null) {
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationError", false)) {
+ /**
+ * An error for an exception that occurred when authenticating.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError";
+
+ /**
+ * @access public
+ * @var tnsAuthenticationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("WorkflowRequest", false)) {
+ /**
+ * A {@code WorkflowRequest} represents a workflow action unit that requires external or manual
+ * interference.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class WorkflowRequest {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "WorkflowRequest";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $id;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $workflowRuleName;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $entityId;
+
+ /**
+ * @access public
+ * @var tnsWorkflowEntityType
+ */
+ public $entityType;
+
+ /**
+ * @access public
+ * @var tnsWorkflowRequestType
+ */
+ public $type;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($id = null, $workflowRuleName = null, $entityId = null, $entityType = null, $type = null) {
+ $this->id = $id;
+ $this->workflowRuleName = $workflowRuleName;
+ $this->entityId = $entityId;
+ $this->entityType = $entityType;
+ $this->type = $type;
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeError", false)) {
+ /**
+ * Error for the size of the collection being too large
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError";
+
+ /**
+ * @access public
+ * @var tnsCollectionSizeErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("CommonError", false)) {
+ /**
+ * A place for common errors that can be used across services.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError";
+
+ /**
+ * @access public
+ * @var tnsCommonErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("Date", false)) {
+ /**
+ * Represents a date.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Date {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "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 self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($year = null, $month = null, $day = null) {
+ $this->year = $year;
+ $this->month = $month;
+ $this->day = $day;
+ }
+
+ }
+}
+
+if (!class_exists("DfpDateTime", false)) {
+ /**
+ * Represents a date combined with the time of day.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DfpDateTime {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTime";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $date;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $hour;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $minute;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $second;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $timeZoneID;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null) {
+ $this->date = $date;
+ $this->hour = $hour;
+ $this->minute = $minute;
+ $this->second = $second;
+ $this->timeZoneID = $timeZoneID;
+ }
+
+ }
+}
+
+if (!class_exists("FeatureError", false)) {
+ /**
+ * Errors related to feature management. If you attempt using a feature that is not available to
+ * the current network you'll receive a FeatureError with the missing feature as the trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError";
+
+ /**
+ * @access public
+ * @var tnsFeatureErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ForecastError", false)) {
+ /**
+ * Errors that can result from a forecast request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ForecastError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ForecastError";
+
+ /**
+ * @access public
+ * @var tnsForecastErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+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 GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError";
+
+ /**
+ * @access public
+ * @var tnsInternalApiErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("LineItemOperationError", false)) {
+ /**
+ * Lists all errors for executing operations on line items
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemOperationError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemOperationError";
+
+ /**
+ * @access public
+ * @var tnsLineItemOperationErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("NotNullError", false)) {
+ /**
+ * Caused by supplying a null value for an attribute that cannot be null.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError";
+
+ /**
+ * @access public
+ * @var tnsNotNullErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PermissionError", false)) {
+ /**
+ * Errors related to incorrect permission.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError";
+
+ /**
+ * @access public
+ * @var tnsPermissionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ProposalActionError", false)) {
+ /**
+ * Lists all errors associated with performing actions on {@link Proposal} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalActionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalActionError";
+
+ /**
+ * @access public
+ * @var tnsProposalActionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextError", false)) {
+ /**
+ * An error that occurs while executing a PQL query contained in
+ * a {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageContextErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxError", false)) {
+ /**
+ * An error that occurs while parsing a PQL query contained in a
+ * {@link Statement} object.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError";
+
+ /**
+ * @access public
+ * @var tnsPublisherQueryLanguageSyntaxErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("QuotaError", false)) {
+ /**
+ * Describes a client-side error on which a user is attempting
+ * to perform an action to which they have no quota remaining.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError";
+
+ /**
+ * @access public
+ * @var tnsQuotaErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("ServerError", false)) {
+ /**
+ * Errors related to the server.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError";
+
+ /**
+ * @access public
+ * @var tnsServerErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("SoapRequestHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API requests.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapRequestHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapRequestHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $networkCode;
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $applicationName;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($networkCode = null, $applicationName = null) {
+ $this->networkCode = $networkCode;
+ $this->applicationName = $applicationName;
+ }
+
+ }
+}
+
+if (!class_exists("SoapResponseHeader", false)) {
+ /**
+ * Represents the SOAP request header used by API responses.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SoapResponseHeader {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SoapResponseHeader";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $requestId;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $responseTime;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($requestId = null, $responseTime = null) {
+ $this->requestId = $requestId;
+ $this->responseTime = $responseTime;
+ }
+
+ }
+}
+
+if (!class_exists("Statement", false)) {
+ /**
+ * Captures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a
+ * PQL query. Statements are typically used to retrieve objects of a predefined
+ * domain type, which makes SELECT clause unnecessary.
+ *
+ * An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id
+ * LIMIT 30"}.
+ *
+ *
+ * Statements support bind variables. These are substitutes for literals
+ * and can be thought of as input parameters to a PQL query.
+ *
+ *
+ * An example of such a query might be {@code "WHERE id = :idValue"}.
+ *
+ *
+ * Statements also support use of the LIKE keyword. This provides partial and
+ * wildcard string matching.
+ *
+ *
+ * An example of such a query might be {@code "WHERE name LIKE 'startswith%'"}.
+ *
+ * If using an API version newer than V201010, the value for the variable
+ * idValue must then be set with an object of type {@link Value} and is one of
+ * {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.
+ *
+ * If using an API version older than or equal to V201010, the value for the
+ * variable idValue must then be set with an object of type {@link Param} and is
+ * one of {@link DoubleParam}, {@link LongParam} or {@link StringParam}.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Statement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Statement";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $query;
+
+ /**
+ * @access public
+ * @var String_ValueMapEntry[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($query = null, $values = null) {
+ $this->query = $query;
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("StatementError", false)) {
+ /**
+ * An error that occurs while parsing {@link Statement} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError";
+
+ /**
+ * @access public
+ * @var tnsStatementErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("String_ValueMapEntry", false)) {
+ /**
+ * This represents an entry in a map with a key of type String
+ * and value of type Value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class String_ValueMapEntry {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "String_ValueMapEntry";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $key;
+
+ /**
+ * @access public
+ * @var Value
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($key = null, $value = null) {
+ $this->key = $key;
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("UpdateResult", false)) {
+ /**
+ * Represents the result of performing an action on objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class UpdateResult {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "UpdateResult";
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $numChanges;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($numChanges = null) {
+ $this->numChanges = $numChanges;
+ }
+
+ }
+}
+
+if (!class_exists("Value", false)) {
+ /**
+ * {@code Value} represents a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "Value";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("WorkflowActionError", false)) {
+ /**
+ * Lists all errors associated with performing actions within {@link WorkflowAction}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class WorkflowActionError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "WorkflowActionError";
+
+ /**
+ * @access public
+ * @var tnsWorkflowActionErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("WorkflowApprovalRequest", false)) {
+ /**
+ * A {@code WorkflowApprovalRequest} represents a workflow action unit that requires user approval.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class WorkflowApprovalRequest extends WorkflowRequest {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "WorkflowApprovalRequest";
+
+ /**
+ * @access public
+ * @var tnsWorkflowApprovalRequestStatus
+ */
+ public $status;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($status = null, $id = null, $workflowRuleName = null, $entityId = null, $entityType = null, $type = null) {
+ parent::__construct();
+ $this->status = $status;
+ $this->id = $id;
+ $this->workflowRuleName = $workflowRuleName;
+ $this->entityId = $entityId;
+ $this->entityType = $entityType;
+ $this->type = $type;
+ }
+
+ }
+}
+
+if (!class_exists("WorkflowExternalConditionRequest", false)) {
+ /**
+ * A {@code WorkflowExternalConditionRequest} represents a workflow condition that requires external
+ * system to determine the result.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class WorkflowExternalConditionRequest extends WorkflowRequest {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "WorkflowExternalConditionRequest";
+
+ /**
+ * @access public
+ * @var tnsWorkflowExternalConditionStatus
+ */
+ public $status;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($status = null, $id = null, $workflowRuleName = null, $entityId = null, $entityType = null, $type = null) {
+ parent::__construct();
+ $this->status = $status;
+ $this->id = $id;
+ $this->workflowRuleName = $workflowRuleName;
+ $this->entityId = $entityId;
+ $this->entityType = $entityType;
+ $this->type = $type;
+ }
+
+ }
+}
+
+if (!class_exists("WorkflowRequestAction", false)) {
+ /**
+ * Represents the actions that can be performed on {@link WorkflowRequest} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class WorkflowRequestAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "WorkflowRequestAction";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("WorkflowRequestError", false)) {
+ /**
+ * Lists errors associated with {@link WorkflowRequest workflow requests}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class WorkflowRequestError extends ApiError {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "WorkflowRequestError";
+
+ /**
+ * @access public
+ * @var tnsWorkflowRequestErrorReason
+ */
+ public $reason;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null) {
+ parent::__construct();
+ $this->reason = $reason;
+ $this->fieldPath = $fieldPath;
+ $this->trigger = $trigger;
+ $this->errorString = $errorString;
+ }
+
+ }
+}
+
+if (!class_exists("WorkflowRequestPage", false)) {
+ /**
+ * Captures a page of {@link WorkflowRequest} objects.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class WorkflowRequestPage {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "WorkflowRequestPage";
+
+ /**
+ * @access public
+ * @var WorkflowRequest[]
+ */
+ public $results;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $startIndex;
+
+ /**
+ * @access public
+ * @var integer
+ */
+ public $totalResultSetSize;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($results = null, $startIndex = null, $totalResultSetSize = null) {
+ $this->results = $results;
+ $this->startIndex = $startIndex;
+ $this->totalResultSetSize = $totalResultSetSize;
+ }
+
+ }
+}
+
+if (!class_exists("ApiVersionErrorReason", false)) {
+ /**
+ * Indicates that the operation is not allowed in the version the request
+ * was made in.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiVersionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiVersionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("WorkflowApprovalRequestStatus", false)) {
+ /**
+ * The status of the workflow approval request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class WorkflowApprovalRequestStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "WorkflowApprovalRequestStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("AuthenticationErrorReason", false)) {
+ /**
+ * The SOAP message contains a request header with an ambiguous definition
+ * of the authentication header fields. This means either the {@code
+ * authToken} and {@code oAuthToken} fields were both null or both were
+ * specified. Exactly one value should be specified with each request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class AuthenticationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "AuthenticationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CollectionSizeErrorReason", false)) {
+ /**
+ * The value returned if the actual value is not exposed by the requested API version.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CollectionSizeErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CollectionSizeError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("CommonErrorReason", false)) {
+ /**
+ * Describes reasons for common errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class CommonErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "CommonError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("FeatureErrorReason", false)) {
+ /**
+ * A feature is being used that is not enabled on the current network.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class FeatureErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "FeatureError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ForecastErrorReason", false)) {
+ /**
+ * Reason why a forecast could not be retrieved.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ForecastErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ForecastError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("InternalApiErrorReason", false)) {
+ /**
+ * The single reason for the internal API error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class InternalApiErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "InternalApiError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("LineItemOperationErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class LineItemOperationErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "LineItemOperationError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("NotNullErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NotNullErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NotNullError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PermissionErrorReason", false)) {
+ /**
+ * Describes reasons for permission errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PermissionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PermissionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ProposalActionErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ProposalActionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ProposalActionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageContextErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageContextErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageContextError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("PublisherQueryLanguageSyntaxErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PublisherQueryLanguageSyntaxErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "PublisherQueryLanguageSyntaxError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("QuotaErrorReason", false)) {
+ /**
+ * The number of requests made per second is too high and has exceeded the
+ * allowable limit. The recommended approach to handle this error is to wait
+ * about 5 seconds and then retry the request. Note that this does not
+ * guarantee the request will succeed. If it fails again, try increasing the
+ * wait time.
+ *
+ * Another way to mitigate this error is to limit requests to 2 per second for
+ * Small Business networks, or 8 per second for Premium networks. Once again
+ * this does not guarantee that every request will succeed, but may help
+ * reduce the number of times you receive this error.
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class QuotaErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "QuotaError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("ServerErrorReason", false)) {
+ /**
+ * Describes reasons for server errors
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ServerErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ServerError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("StatementErrorReason", false)) {
+ /**
+ * A bind variable has not been bound to a value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class StatementErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "StatementError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("WorkflowActionErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class WorkflowActionErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "WorkflowActionError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("WorkflowEntityType", false)) {
+ /**
+ * The entity types that workflows can be applied to.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class WorkflowEntityType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "WorkflowEntityType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("WorkflowRequestErrorReason", false)) {
+ /**
+ * The reasons for the target error.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class WorkflowRequestErrorReason {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "WorkflowRequestError.Reason";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("WorkflowRequestType", false)) {
+ /**
+ * Types of a workflow request.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class WorkflowRequestType {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "WorkflowRequestType";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("WorkflowExternalConditionStatus", false)) {
+ /**
+ * The status of workflow external conditions during workflow execution.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class WorkflowExternalConditionStatus {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "WorkflowExternalConditionStatus";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ }
+
+ }
+}
+
+if (!class_exists("GetWorkflowRequestsByStatement", false)) {
+ /**
+ * Gets a list of {@link WorkflowRequest} objects that satisfy the given {@link Statement#query}.
+ * The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property |
+ * Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link WorkflowRequest#id} |
+ *
+ *
+ * {@code workflowRuleName} |
+ * {@link WorkflowRequest#workflowRuleName} |
+ *
+ *
+ * {@code entityType} |
+ * {@link WorkflowRequest#entityType} |
+ *
+ *
+ * {@code entityId} |
+ * {@link WorkflowRequest#entityId} |
+ *
+ *
+ * {@code approvalStatus} |
+ * {@link WorkflowApprovalRequest#status} |
+ *
+ *
+ * {@code conditionStatus} |
+ * {@link WorkflowExternalConditionRequest#status} |
+ *
+ *
+ * {@code type} |
+ * {@link WorkflowRequest#type} |
+ *
+ *
+ * Starting in V201405 a {@code type} filter must be used
+ * @param filterStatement a Publisher Query Language statement used to filter a set of proposals
+ * @return the workflow requests that match the given filter
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetWorkflowRequestsByStatement {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($filterStatement = null) {
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("GetWorkflowRequestsByStatementResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class GetWorkflowRequestsByStatementResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var WorkflowRequestPage
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("PerformWorkflowRequestAction", false)) {
+ /**
+ * Perform actions on {@link WorkflowRequest} objects that match the given
+ * {@link Statement#query}.
+ *
+ * @param action the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter a set of workflow
+ * requests
+ * @return the result of the action performed
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformWorkflowRequestAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var WorkflowRequestAction
+ */
+ public $action;
+
+ /**
+ * @access public
+ * @var Statement
+ */
+ public $filterStatement;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($action = null, $filterStatement = null) {
+ $this->action = $action;
+ $this->filterStatement = $filterStatement;
+ }
+
+ }
+}
+
+if (!class_exists("PerformWorkflowRequestActionResponse", false)) {
+ /**
+ *
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class PerformWorkflowRequestActionResponse {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "";
+
+ /**
+ * @access public
+ * @var UpdateResult
+ */
+ public $rval;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($rval = null) {
+ $this->rval = $rval;
+ }
+
+ }
+}
+
+if (!class_exists("ObjectValue", false)) {
+ /**
+ * Contains an object value.
+ *
+ * This object is experimental!
+ * ObjectValue is an experimental, innovative, and rapidly
+ * changing new feature for DFP. Unfortunately, being on the bleeding edge means that we may make
+ * backwards-incompatible changes to
+ * ObjectValue . We will inform the community when this feature
+ * is no longer experimental.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ObjectValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ObjectValue";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("ApiException", false)) {
+ /**
+ * Exception class for holding a list of service errors.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApiException extends ApplicationException {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApiException";
+
+ /**
+ * @access public
+ * @var ApiError[]
+ */
+ public $errors;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($errors = null, $message = null) {
+ parent::__construct();
+ $this->errors = $errors;
+ $this->message = $message;
+ }
+
+ }
+}
+
+if (!class_exists("ApproveWorkflowApprovalRequests", false)) {
+ /**
+ * The action used to approve {@link WorkflowApprovalRequest workflow approval requests}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class ApproveWorkflowApprovalRequests extends WorkflowRequestAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "ApproveWorkflowApprovalRequests";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $comment;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($comment = null) {
+ parent::__construct();
+ $this->comment = $comment;
+ }
+
+ }
+}
+
+if (!class_exists("BooleanValue", false)) {
+ /**
+ * Contains a boolean value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class BooleanValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "BooleanValue";
+
+ /**
+ * @access public
+ * @var boolean
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateTimeValue", false)) {
+ /**
+ * Contains a date-time value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateTimeValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateTimeValue";
+
+ /**
+ * @access public
+ * @var DateTime
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("DateValue", false)) {
+ /**
+ * Contains a date value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class DateValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "DateValue";
+
+ /**
+ * @access public
+ * @var Date
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("SkipWorkflowExternalConditionRequests", false)) {
+ /**
+ * The action to skip {@link WorkflowExternalConditionRequest workflow external condition requests}.
+ * Doing so means that the rule did not trigger.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SkipWorkflowExternalConditionRequests extends WorkflowRequestAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SkipWorkflowExternalConditionRequests";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("NumberValue", false)) {
+ /**
+ * Contains a numeric value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class NumberValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "NumberValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("TriggerWorkflowExternalConditionRequests", false)) {
+ /**
+ * The action to trigger {@link WorkflowExternalConditionRequest workflow external condition
+ * requests}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TriggerWorkflowExternalConditionRequests extends WorkflowRequestAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TriggerWorkflowExternalConditionRequests";
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ }
+}
+
+if (!class_exists("RejectWorkflowApprovalRequests", false)) {
+ /**
+ * The action used to reject {@link WorkflowApprovalRequest workflow approval requests}.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class RejectWorkflowApprovalRequests extends WorkflowRequestAction {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "RejectWorkflowApprovalRequests";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $comment;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($comment = null) {
+ parent::__construct();
+ $this->comment = $comment;
+ }
+
+ }
+}
+
+if (!class_exists("SetValue", false)) {
+ /**
+ * Contains a set of {@link Value Values}. May not contain duplicates.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class SetValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "SetValue";
+
+ /**
+ * @access public
+ * @var Value[]
+ */
+ public $values;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($values = null) {
+ parent::__construct();
+ $this->values = $values;
+ }
+
+ }
+}
+
+if (!class_exists("TextValue", false)) {
+ /**
+ * Contains a string value.
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class TextValue extends Value {
+
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const XSI_TYPE = "TextValue";
+
+ /**
+ * @access public
+ * @var string
+ */
+ public $value;
+
+ /**
+ * Gets the namesapce of this class
+ * @return the namespace of this class
+ */
+ public function getNamespace() {
+ return self::WSDL_NAMESPACE;
+ }
+
+ /**
+ * Gets the xsi:type name of this class
+ * @return the xsi:type name of this class
+ */
+ public function getXsiTypeName() {
+ return self::XSI_TYPE;
+ }
+
+ public function __construct($value = null) {
+ parent::__construct();
+ $this->value = $value;
+ }
+
+ }
+}
+
+if (!class_exists("WorkflowRequestService", false)) {
+ /**
+ * WorkflowRequestService
+ * @package GoogleApiAdsDfp
+ * @subpackage v201505
+ */
+ class WorkflowRequestService extends DfpSoapClient {
+
+ const SERVICE_NAME = "WorkflowRequestService";
+ const WSDL_NAMESPACE = "https://www.google.com/apis/ads/publisher/v201505";
+ const ENDPOINT = "https://ads.google.com/apis/ads/publisher/v201505/WorkflowRequestService";
+
+ /**
+ * The endpoint of the service
+ * @var string
+ */
+ public static $endpoint = "https://ads.google.com/apis/ads/publisher/v201505/WorkflowRequestService";
+ /**
+ * Default class map for wsdl=>php
+ * @access private
+ * @var array
+ */
+ public static $classmap = array(
+ "ObjectValue" => "ObjectValue",
+ "ApiError" => "ApiError",
+ "ApiException" => "ApiException",
+ "ApiVersionError" => "ApiVersionError",
+ "ApplicationException" => "ApplicationException",
+ "ApproveWorkflowApprovalRequests" => "ApproveWorkflowApprovalRequests",
+ "AuthenticationError" => "AuthenticationError",
+ "WorkflowRequest" => "WorkflowRequest",
+ "BooleanValue" => "BooleanValue",
+ "CollectionSizeError" => "CollectionSizeError",
+ "CommonError" => "CommonError",
+ "Date" => "Date",
+ "DateTime" => "DfpDateTime",
+ "DateTimeValue" => "DateTimeValue",
+ "DateValue" => "DateValue",
+ "SkipWorkflowExternalConditionRequests" => "SkipWorkflowExternalConditionRequests",
+ "FeatureError" => "FeatureError",
+ "ForecastError" => "ForecastError",
+ "InternalApiError" => "InternalApiError",
+ "LineItemOperationError" => "LineItemOperationError",
+ "NotNullError" => "NotNullError",
+ "NumberValue" => "NumberValue",
+ "TriggerWorkflowExternalConditionRequests" => "TriggerWorkflowExternalConditionRequests",
+ "PermissionError" => "PermissionError",
+ "ProposalActionError" => "ProposalActionError",
+ "PublisherQueryLanguageContextError" => "PublisherQueryLanguageContextError",
+ "PublisherQueryLanguageSyntaxError" => "PublisherQueryLanguageSyntaxError",
+ "QuotaError" => "QuotaError",
+ "RejectWorkflowApprovalRequests" => "RejectWorkflowApprovalRequests",
+ "ServerError" => "ServerError",
+ "SetValue" => "SetValue",
+ "SoapRequestHeader" => "SoapRequestHeader",
+ "SoapResponseHeader" => "SoapResponseHeader",
+ "Statement" => "Statement",
+ "StatementError" => "StatementError",
+ "String_ValueMapEntry" => "String_ValueMapEntry",
+ "TextValue" => "TextValue",
+ "UpdateResult" => "UpdateResult",
+ "Value" => "Value",
+ "WorkflowActionError" => "WorkflowActionError",
+ "WorkflowApprovalRequest" => "WorkflowApprovalRequest",
+ "WorkflowExternalConditionRequest" => "WorkflowExternalConditionRequest",
+ "WorkflowRequestAction" => "WorkflowRequestAction",
+ "WorkflowRequestError" => "WorkflowRequestError",
+ "WorkflowRequestPage" => "WorkflowRequestPage",
+ "ApiVersionError.Reason" => "ApiVersionErrorReason",
+ "WorkflowApprovalRequestStatus" => "WorkflowApprovalRequestStatus",
+ "AuthenticationError.Reason" => "AuthenticationErrorReason",
+ "CollectionSizeError.Reason" => "CollectionSizeErrorReason",
+ "CommonError.Reason" => "CommonErrorReason",
+ "FeatureError.Reason" => "FeatureErrorReason",
+ "ForecastError.Reason" => "ForecastErrorReason",
+ "InternalApiError.Reason" => "InternalApiErrorReason",
+ "LineItemOperationError.Reason" => "LineItemOperationErrorReason",
+ "NotNullError.Reason" => "NotNullErrorReason",
+ "PermissionError.Reason" => "PermissionErrorReason",
+ "ProposalActionError.Reason" => "ProposalActionErrorReason",
+ "PublisherQueryLanguageContextError.Reason" => "PublisherQueryLanguageContextErrorReason",
+ "PublisherQueryLanguageSyntaxError.Reason" => "PublisherQueryLanguageSyntaxErrorReason",
+ "QuotaError.Reason" => "QuotaErrorReason",
+ "ServerError.Reason" => "ServerErrorReason",
+ "StatementError.Reason" => "StatementErrorReason",
+ "WorkflowActionError.Reason" => "WorkflowActionErrorReason",
+ "WorkflowEntityType" => "WorkflowEntityType",
+ "WorkflowRequestError.Reason" => "WorkflowRequestErrorReason",
+ "WorkflowRequestType" => "WorkflowRequestType",
+ "WorkflowExternalConditionStatus" => "WorkflowExternalConditionStatus",
+ "getWorkflowRequestsByStatement" => "GetWorkflowRequestsByStatement",
+ "getWorkflowRequestsByStatementResponse" => "GetWorkflowRequestsByStatementResponse",
+ "performWorkflowRequestAction" => "PerformWorkflowRequestAction",
+ "performWorkflowRequestActionResponse" => "PerformWorkflowRequestActionResponse",
+ );
+
+
+ /**
+ * Constructor using wsdl location and options array
+ * @param string $wsdl WSDL location for this service
+ * @param array $options Options for the SoapClient
+ */
+ public function __construct($wsdl, $options, $user) {
+ $options["classmap"] = self::$classmap;
+ parent::__construct($wsdl, $options, $user, self::SERVICE_NAME,
+ self::WSDL_NAMESPACE);
+ }
+ /**
+ * Gets a list of {@link WorkflowRequest} objects that satisfy the given {@link Statement#query}.
+ * The following fields are supported for filtering:
+ *
+ *
+ *
+ * PQL Property |
+ * Object Property |
+ *
+ *
+ * {@code id} |
+ * {@link WorkflowRequest#id} |
+ *
+ *
+ * {@code workflowRuleName} |
+ * {@link WorkflowRequest#workflowRuleName} |
+ *
+ *
+ * {@code entityType} |
+ * {@link WorkflowRequest#entityType} |
+ *
+ *
+ * {@code entityId} |
+ * {@link WorkflowRequest#entityId} |
+ *
+ *
+ * {@code approvalStatus} |
+ * {@link WorkflowApprovalRequest#status} |
+ *
+ *
+ * {@code conditionStatus} |
+ * {@link WorkflowExternalConditionRequest#status} |
+ *
+ *
+ * {@code type} |
+ * {@link WorkflowRequest#type} |
+ *
+ *
+ * Starting in V201405 a {@code type} filter must be used
+ * @param filterStatement a Publisher Query Language statement used to filter a set of proposals
+ * @return the workflow requests that match the given filter
+ */
+ public function getWorkflowRequestsByStatement($filterStatement) {
+ $args = new GetWorkflowRequestsByStatement($filterStatement);
+ $result = $this->__soapCall("getWorkflowRequestsByStatement", array($args));
+ return $result->rval;
+ }
+ /**
+ * Perform actions on {@link WorkflowRequest} objects that match the given
+ * {@link Statement#query}.
+ *
+ * @param action the action to perform
+ * @param filterStatement a Publisher Query Language statement used to filter a set of workflow
+ * requests
+ * @return the result of the action performed
+ */
+ public function performWorkflowRequestAction($action, $filterStatement) {
+ $args = new PerformWorkflowRequestAction($action, $filterStatement);
+ $result = $this->__soapCall("performWorkflowRequestAction", array($args));
+ return $result->rval;
+ }
+ }
+}
+
diff --git a/tests/Google/Api/Ads/AdWords/Lib/AdWordsUserTest.php b/tests/Google/Api/Ads/AdWords/Lib/AdWordsUserTest.php
index 0b258dddf..48dabf9ee 100755
--- a/tests/Google/Api/Ads/AdWords/Lib/AdWordsUserTest.php
+++ b/tests/Google/Api/Ads/AdWords/Lib/AdWordsUserTest.php
@@ -53,8 +53,8 @@ public function
$COMMON_NAME = 'Common-PHP';
$VERSION_REGEX = '\d{1,2}\.\d{1,2}\.\d{1,2}';
- $user = new AdWordsUser($this->authIniFilePath, 'devToken', null,
- $USER_AGENT, null, null, $this->mockOAuth2Credential);
+ $user = new AdWordsUser($this->authIniFilePath, 'devToken', $USER_AGENT,
+ null, null, $this->mockOAuth2Credential);
// Example: "AdWordsApiPhpClient-test (AwApi-PHP/4.1.1, Common-PHP/5.0.0,
// PHP/5.4.8)"
@@ -78,7 +78,7 @@ public function
public function
testValidateUserWithNullUserAgentFailsWithValidationException() {
$user = new AdWordsUser($this->authIniFilePath, 'devToken', null, null,
- null, null, $this->mockOAuth2Credential);
+ null, $this->mockOAuth2Credential);
$user->validateUser();
}
@@ -88,8 +88,8 @@ public function
*/
public function
testValidateUserWithEmptyUserAgentFailsWithValidationException() {
- $user = new AdWordsUser($this->authIniFilePath, 'devToken', null, '', null,
- null, $this->mockOAuth2Credential);
+ $user = new AdWordsUser($this->authIniFilePath, 'devToken', '', null, null,
+ $this->mockOAuth2Credential);
$user->validateUser();
}
@@ -100,8 +100,7 @@ public function
public function
testValidateUserWithDefaultUserAgentFailsWithValidationException() {
$user = new AdWordsUser($this->authIniFilePath, 'devToken',
- null, 'INSERT_COMPANY_NAME_HERE', null, null,
- $this->mockOAuth2Credential);
+ 'INSERT_COMPANY_NAME_HERE', null, null, $this->mockOAuth2Credential);
$user->validateUser();
}
@@ -118,7 +117,7 @@ public function testConstructWithClientIdFailsWithValidationException() {
fwrite($authIniFile, 'clientId = "12345678"');
fclose($authIniFile);
- new AdWordsUser($this->authIniFilePath, null, null, null, null);
+ new AdWordsUser($this->authIniFilePath);
}
}
diff --git a/tests/Google/Api/Ads/Common/Lib/AdsUserTest.php b/tests/Google/Api/Ads/Common/Lib/AdsUserTest.php
index 9e65dc8b0..400501d7d 100755
--- a/tests/Google/Api/Ads/Common/Lib/AdsUserTest.php
+++ b/tests/Google/Api/Ads/Common/Lib/AdsUserTest.php
@@ -351,8 +351,8 @@ public function testLoadSettings_Auth_Defaults() {
* @covers AdsUser::LoadSettings
*/
public function testLoadSettings_Ssl() {
- $verifyPeer = 1;
- $verifyHost = 1;
+ $verifyPeer = 0;
+ $verifyHost = 0;
$caPath = '/etc/ssl/certs';
$caFile = '/etc/ssl/cafile';
$settings = array(
diff --git a/tests/Google/Api/Ads/Dfp/Lib/DfpUserTest.php b/tests/Google/Api/Ads/Dfp/Lib/DfpUserTest.php
new file mode 100755
index 000000000..083db0a72
--- /dev/null
+++ b/tests/Google/Api/Ads/Dfp/Lib/DfpUserTest.php
@@ -0,0 +1,106 @@
+authIniFilePath = tempnam(sys_get_temp_dir(), 'auth.ini.');
+ $this->mockOAuth2Credential = array('client_id' => 'cid',
+ 'client_secret' => 'csecret', 'refresh_token' => 'token');
+ }
+
+ /**
+ * @covers AdsUser::GetClientLibraryUserAgent
+ */
+ public function
+ testGetClientLibraryAppNameReturnsCorrectlyFormattedAppName() {
+ $APPLICATION_NAME = 'DfpApiPhpClient-test';
+ $LIB_NAME = 'DfpApi-PHP';
+ $COMMON_NAME = 'Common-PHP';
+ $VERSION_REGEX = '\d{1,2}\.\d{1,2}\.\d{1,2}';
+
+ $user = new DfpUser($this->authIniFilePath, $APPLICATION_NAME,
+ 'networkCode', null, $this->mockOAuth2Credential);
+
+ // Example: "DfpApiPhpClient-test (DfpApi-PHP/4.1.1, Common-PHP/5.0.0,
+ // PHP/5.4.8)"
+ $search = sprintf(
+ '/^%s \(%s\/%s, %s\/%s, PHP\/%s\)$/',
+ preg_quote($user->GetApplicationName()),
+ preg_quote($LIB_NAME),
+ $VERSION_REGEX,
+ preg_quote($COMMON_NAME),
+ $VERSION_REGEX,
+ preg_quote(PHP_VERSION)
+ );
+
+ $this->assertRegExp($search, $user->GetClientLibraryUserAgent());
+ }
+
+ /**
+ * @expectedException ValidationException
+ * @covers DfpUser::ValidateUser
+ */
+ public function
+ testValidateUserWithNullUserAgentFailsWithValidationException() {
+ $user = new DfpUser($this->authIniFilePath, null, 'networkCode',
+ null, $this->mockOAuth2Credential);
+ $user->ValidateUser();
+ }
+
+ /**
+ * @expectedException ValidationException
+ * @covers DfpUser::ValidateUser
+ */
+ public function
+ testValidateUserWithEmptyUserAgentFailsWithValidationException() {
+ $user = new DfpUser($this->authIniFilePath, '', 'networkCode', null,
+ $this->mockOAuth2Credential);
+ $user->ValidateUser();
+ }
+
+ /**
+ * @expectedException ValidationException
+ * @covers DfpUser::ValidateUser
+ */
+ public function
+ testValidateUserWithDefaultUserAgentFailsWithValidationException() {
+ $user = new DfpUser($this->authIniFilePath, 'INSERT_APPLICATION_NAME_HERE',
+ 'networkCode', null, $this->mockOAuth2Credential);
+ $user->ValidateUser();
+ }
+}
+
diff --git a/tests/Google/Api/Ads/Dfp/Util/DateTimeUtilsTest.php b/tests/Google/Api/Ads/Dfp/Util/DateTimeUtilsTest.php
deleted file mode 100755
index fa0f2105d..000000000
--- a/tests/Google/Api/Ads/Dfp/Util/DateTimeUtilsTest.php
+++ /dev/null
@@ -1,217 +0,0 @@
-stringDate1 = '1983-06-02';
- $this->stringDate2 = '2014-12-31';
- $this->stringDate3 = '1999-09-23';
-
- $this->stringDateTime1 = '1983-06-02T08:30:15';
- $this->stringDateTime2 = '1983-06-02T00:00:00';
- $this->stringDateTime3 = '1983-06-02T08:30:15';
-
- $this->stringDateTimeWithTimeZone1 = '1983-06-02T08:30:15-04:00';
- $this->stringDateTimeWithTimeZone2 = '1983-06-02T00:00:00-07:00';
- $this->stringDateTimeWithTimeZone3 = '1983-06-02T08:30:15+04:00';
-
- $this->dfpDate1 = new Date(1983, 6, 2);
- $this->dfpDate2 = new Date(2014, 12, 31);
- $this->dfpDate3 = new Date(1999, 9, 23);
-
- $this->dateTime1 = new DateTime($this->stringDateTime1,
- new DateTimeZone(self::TIME_ZONE_ID1));
- $this->dateTime2 = new DateTime($this->stringDateTime2,
- new DateTimeZone(self::TIME_ZONE_ID2));
- $this->dateTime3 = new DateTime($this->stringDateTime3,
- new DateTimeZone(self::TIME_ZONE_ID3));
-
- $this->dfpDateTime1 = new DfpDateTime(new Date(1983, 6, 2), 8, 30, 15,
- self::TIME_ZONE_ID1);
- $this->dfpDateTime2 = new DfpDateTime(new Date(1983, 6, 2), 0, 0, 0,
- self::TIME_ZONE_ID2);
- $this->dfpDateTime3 = new DfpDateTime(new Date(1983, 6, 2), 8, 30, 15,
- self::TIME_ZONE_ID3);
- }
-
- /**
- * @covers DateTimeUtils::ToDfpDateTime
- */
- public function testToDfpDateTime() {
- $this->assertEquals($this->dfpDateTime1,
- DateTimeUtils::ToDfpDateTime($this->dateTime1));
- $this->assertEquals($this->dfpDateTime2,
- DateTimeUtils::ToDfpDateTime($this->dateTime2));
- $this->assertEquals($this->dfpDateTime3,
- DateTimeUtils::ToDfpDateTime($this->dateTime3));
- }
-
- /**
- * @covers DateTimeUtils::ToDfpDateTimeFromString
- */
- public function _testToDfpDateTimeFromString() {
- $actualDfpDateTime1 = DateTimeUtils::ToDfpDateTimeFromString(
- $this->stringDateTimeWithTimeZone1);
- self::assertEquals($this->dfpDateTime1, $actualDfpDateTime1);
- $this->assertEquals('-04:00', $actualDfpDateTime1->timeZone);
-
- $actualDfpDateTime2 = DateTimeUtils::ToDfpDateTimeFromString(
- $this->stringDateTimeWithTimeZone2);
- self::assertEquals($this->dfpDateTime2, $actualDfpDateTime2);
- $this->assertEquals('-07:00', $actualDfpDateTime2->timeZone);
-
- $actualDfpDateTime3 = DateTimeUtils::ToDfpDateTimeFromString(
- $this->stringDateTimeWithTimeZone3);
- self::assertEquals($this->dfpDateTime2, $actualDfpDateTime3);
- $this->assertEquals('+04:00', $actualDfpDateTime3->timeZone);
- }
-
- /**
- * @covers DateTimeUtils::ToDfpDateTimeFromStringWithTimeZone
- */
- public function _testToDfpDateTimeFromStringWithTimeZone() {
- $self->assertTrue(self::isEqual($this->dfpDateTime1,
- DateTimeUtils::ToDfpDateTimeFromStringWithTimeZone(
- $this->stringDateTimeWithTimeZone1, self::TIME_ZONE_ID1)));
- $self->assertTrue(self::assertEquals($this->dfpDateTime2->getTimestamp(),
- DateTimeUtils::ToDfpDateTimeFromStringWithTimeZone(
- $this->stringDateTimeWithTimeZone2, self::TIME_ZONE_ID2)));
- $self->assertTrue(self::assertEquals($this->dfpDateTime3->getTimestamp(),
- DateTimeUtils::ToDfpDateTimeFromStringWithTimeZone(
- $this->stringDateTimeWithTimeZone3, self::TIME_ZONE_ID3)));
- }
-
- /**
- * @covers DateTimeUtils::FromDfpDateTime
- */
- public function testFromDfpDateTime() {
- $this->assertEquals($this->dateTime1,
- DateTimeUtils::FromDfpDateTime($this->dfpDateTime1));
- $this->assertEquals($this->dateTime2,
- DateTimeUtils::FromDfpDateTime($this->dfpDateTime2));
- $this->assertEquals($this->dateTime3,
- DateTimeUtils::FromDfpDateTime($this->dfpDateTime3));
- }
-
- /**
- * @covers DateTimeUtils::ToString
- */
- public function testToString() {
- $this->assertEquals($this->stringDate1,
- DateTimeUtils::ToString($this->dfpDate1));
- $this->assertEquals($this->stringDate2,
- DateTimeUtils::ToString($this->dfpDate2));
- $this->assertEquals($this->stringDate3,
- DateTimeUtils::ToString($this->dfpDate3));
- }
-
- /**
- * @covers DateTimeUtils::ToStringWithTimeZone
- */
- public function testToStringWithTimeZone() {
- $this->assertEquals($this->stringDateTimeWithTimeZone1,
- DateTimeUtils::ToStringWithTimeZone($this->dfpDateTime1));
- $this->assertEquals($this->stringDateTimeWithTimeZone2,
- DateTimeUtils::ToStringWithTimeZone($this->dfpDateTime2));
- $this->assertEquals($this->stringDateTimeWithTimeZone3,
- DateTimeUtils::ToStringWithTimeZone($this->dfpDateTime3));
- }
-
- /**
- * @covers DateTimeUtils::ToStringForTimeZone
- */
- public function testToStringForTimeZone() {
- $this->assertEquals($this->stringDateTime1,
- DateTimeUtils::ToStringForTimeZone($this->dfpDateTime1,
- self::TIME_ZONE_ID1));
- $this->assertEquals($this->stringDateTime2,
- DateTimeUtils::ToStringForTimeZone($this->dfpDateTime2,
- self::TIME_ZONE_ID2));
- $this->assertEquals($this->stringDateTime3,
- DateTimeUtils::ToStringForTimeZone($this->dfpDateTime3,
- self::TIME_ZONE_ID3));
-
- $this->assertEquals($this->stringDateTime1,
- DateTimeUtils::ToStringForTimeZone(DateTimeUtils::ToDfpDateTime(
- $this->dateTime1->setTimeZone(
- new DateTimeZone(self::TIME_ZONE_ID2))), self::TIME_ZONE_ID1));
- $this->assertEquals($this->stringDateTime2,
- DateTimeUtils::ToStringForTimeZone(DateTimeUtils::ToDfpDateTime(
- $this->dateTime2->setTimeZone(
- new DateTimeZone(self::TIME_ZONE_ID1))), self::TIME_ZONE_ID2));
- $this->assertEquals($this->stringDateTime3,
- DateTimeUtils::ToStringForTimeZone(DateTimeUtils::ToDfpDateTime(
- $this->dateTime3->setTimeZone(
- new DateTimeZone(self::TIME_ZONE_ID1))), self::TIME_ZONE_ID3));
- }
-
- public static function isEqual(DfpDateTime $expected,
- DfpDateTime $actual) {
- return $expected == $actual || ($expected->date->year == $actual->date->year
- && $expected->date->month == $actual->date->month
- && $expected->date->day == $actual->date->day
- && $expected->hour == $actual->hour
- && $expected->minute == $actual->minute
- && $expected->second == $actual->second);
- // TODO(vtsao): Figure out how to compare IANA versus offset time zones.
- }
-}
-
-date_default_timezone_set(DateTimeUtilsTest::TIME_ZONE_ID1);
-
diff --git a/tests/Google/Api/Ads/Dfp/Util/PqlTest.php b/tests/Google/Api/Ads/Dfp/Util/PqlTest.php
deleted file mode 100755
index 45cb314da..000000000
--- a/tests/Google/Api/Ads/Dfp/Util/PqlTest.php
+++ /dev/null
@@ -1,240 +0,0 @@
-column1 = new ColumnType('Id');
- $this->column2 = new ColumnType('Name');
- $this->column3 = new ColumnType('Status');
- $this->textValue1 = new TextValue('hello world');
- $this->textValue2 = new TextValue('description');
- $this->textValue3 = new TextValue('rawr');
- $this->booleanValue1 = new BooleanValue(false);
- $this->booleanValue2 = new BooleanValue(true);
- $this->booleanValue3 = new BooleanValue(false);
- $this->numberValue1 = new NumberValue('2');
- $this->numberValue2 = new NumberValue('7.999');
- $this->numberValue3 = new NumberValue('-8');
- $this->date1 = new Date(2012, 12, 2);
- $this->dateTime1 =
- new DfpDateTime($this->date1, 12, 45, 0, PqlTest::TIME_ZONE_ID1);
- $this->dateValue1 = new DateValue($this->date1);
- $this->dateTimeValue1 = new DateTimeValue($this->dateTime1);
-
- $values = [new NumberValue('23'), new NumberValue('42'),
- new NumberValue('5'), new NumberValue('10'), new NumberValue('1')];
- $this->setValue1 = new SetValue($values);
-
- $adUnitTargeting = new AdUnitTargeting();
- $adUnitTargeting->adUnitId = '100';
- $inventoryTargeting = new InventoryTargeting();
- $inventoryTargeting->targetedAdUnits = array($adUnitTargeting);
- $this->targeting1 = new Targeting();
- $this->targeting1->inventoryTargeting = $inventoryTargeting;
- }
-
- /**
- * @covers Pql::CreateValue
- */
- public function testCreateValue() {
- $this->assertEquals('hello',
- Pql::CreateValue(new TextValue('hello'))->value);
- $this->assertEquals('value1', Pql::CreateValue('value1')->value);
- $this->assertEquals(false, Pql::CreateValue(false)->value);
- $this->assertEquals('1', Pql::CreateValue(1)->value);
- $this->assertEquals('1.02', Pql::CreateValue(1.02)->value);
- $this->assertEquals('2012-12-02T12:45:00+08:00',
- DateTimeUtils::ToStringWithTimeZone(
- Pql::CreateValue($this->dateTime1)->value));
- $this->assertEquals('2012-12-02',
- DateTimeUtils::ToString(
- Pql::CreateValue($this->dateTime1->date)->value));
-
- $values = Pql::CreateValue([23, 42, 5, 10, 1])->values;
- $this->assertEquals(5, count($values));
- $this->assertEquals(23, $values[0]->value);
- $this->assertEquals(42, $values[1]->value);
- $this->assertEquals(5, $values[2]->value);
- $this->assertEquals(10, $values[3]->value);
- $this->assertEquals(1, $values[4]->value);
-
- $this->assertEquals('100', Pql::CreateValue($this->targeting1)
- ->value->inventoryTargeting->targetedAdUnits[0]->adUnitId);
- }
-
- /**
- * @covers Pql::CreateValue
- * @expectedException InvalidArgumentException
- */
- public function testCreateValueWithInvalidTypeThrowsException() {
- Pql::CreateValue(new MyObject());
- }
-
- /**
- * @covers Pql::CreateValue
- */
- public function testCreateValueWithNullReturnsTextValue() {
- $this->assertEquals(null, Pql::CreateValue(null)->value);
- }
-
- /**
- * @covers Pql::ToString
- */
- public function testToString() {
- $this->assertEquals('hello world', Pql::ToString($this->textValue1));
- $this->assertEquals('false', Pql::ToString($this->booleanValue1));
- $this->assertEquals('2', Pql::ToString($this->numberValue1));
- $this->assertEquals('2012-12-02', Pql::ToString($this->dateValue1));
- $this->assertEquals('2012-12-02T12:45:00+08:00',
- Pql::ToString($this->dateTimeValue1));
- $this->assertEquals('23,42,5,10,1', Pql::ToString($this->setValue1));
- }
-
- /**
- * @covers Pql::ToString
- * @expectedException InvalidArgumentException
- */
- public function testToStringWithUnsupportedValueTypeThrowsException() {
- Pql::ToString(new MyValue());
- }
-
- /**
- * @covers Pql::ToString
- * @expectedException InvalidArgumentException
- */
- public function testToStringWithTargetingValueTypeThrowsException() {
- Pql::ToString(new TargetingValue());
- }
-
- /**
- * @covers Pql::GetColumnLabels
- */
- public function testGetColumnLabels() {
- $resultSet = new ResultSet(array($this->column1, $this->column2,
- $this->column3));
- $this->assertEquals(array('Id', 'Name', 'Status'),
- Pql::GetColumnLabels($resultSet));
- }
-
- /**
- * @covers Pql::GetRowStringValues
- */
- public function testGetRowStringValues() {
- $row = new Row(array($this->textValue1, $this->booleanValue1,
- $this->numberValue1));
- $this->assertEquals(array('hello world', 'false', '2'),
- Pql::GetRowStringValues($row));
- }
-
- /**
- * @covers Pql::CombineResultSets
- */
- public function testCombineResultSet() {
- $row1 = new Row(array($this->textValue1, $this->booleanValue1,
- $this->numberValue1));
- $row2 = new Row(array($this->textValue2, $this->booleanValue2,
- $this->numberValue2));
- $row3 = new Row(array($this->textValue3, $this->booleanValue3,
- $this->numberValue3));
-
- $resultSet1 = new ResultSet(array($this->column1, $this->column2,
- $this->column3), array($row1, $row2));
- $resultSet2 = new ResultSet(array($this->column1, $this->column2,
- $this->column3), array($row3));
-
- $combinedResultSet = Pql::CombineResultSets($resultSet1, $resultSet2);
-
- $this->assertEquals(3, count($combinedResultSet->rows));
- $this->assertEquals(array(new ColumnType('Id'),
- new ColumnType('Name'),
- new ColumnType('Status')), $combinedResultSet->columnTypes);
- $this->assertEquals(array(new TextValue('hello world'),
- new BooleanValue(false),
- new NumberValue('2')), $combinedResultSet->rows[0]->values);
- $this->assertEquals(array(new TextValue('description'),
- new BooleanValue(true),
- new NumberValue('7.999')), $combinedResultSet->rows[1]->values);
- $this->assertEquals(array(new TextValue('rawr'),
- new BooleanValue(false),
- new NumberValue('-8')), $combinedResultSet->rows[2]->values);
- }
-
- /**
- * @covers Pql::CombineResultSets
- * @expectedException InvalidArgumentException
- */
- public function testCombineResultSetWithBadColumnsThrowsException() {
- $row1 = new Row(array($this->textValue1, $this->booleanValue1,
- $this->numberValue1));
- $row2 = new Row(array($this->textValue2, $this->booleanValue2,
- $this->numberValue2));
- $row3 = new Row(array($this->textValue3, $this->booleanValue3));
-
- $resultSet1 = new ResultSet(array($this->column1, $this->column2,
- $this->column3), array($row1, $row2));
- $resultSet2 = new ResultSet(array($this->column1, $this->column2),
- array($row3));
-
- Pql::CombineResultSets($resultSet1, $resultSet2);
- }
-}
-
-class MyValue extends Value {}
-class MyObject {}
diff --git a/tests/Google/Api/Ads/Dfp/Util/ReportUtilsTest.php b/tests/Google/Api/Ads/Dfp/Util/ReportUtilsTest.php
deleted file mode 100755
index e98ba856c..000000000
--- a/tests/Google/Api/Ads/Dfp/Util/ReportUtilsTest.php
+++ /dev/null
@@ -1,62 +0,0 @@
-assertTrue(file_exists($filePath));
- $this->assertGreaterThan(0, $downloadSize);
- }
-
- /**
- * Test downloading a report to a string. A dummy URL is used in place of a
- * report URL.
- * @covers ReportUtils::DownloadReport
- */
- public function testDownloadReportToString() {
- $result = ReportUtils::DownloadReport(ReportUtilsTest::DUMMY_REPORT_URL);
- $this->assertTrue(isset($result));
- }
-}
-
diff --git a/tests/Google/Api/Ads/Dfp/Util/StatementBuilderTest.php b/tests/Google/Api/Ads/Dfp/Util/StatementBuilderTest.php
deleted file mode 100755
index bc21b65ee..000000000
--- a/tests/Google/Api/Ads/Dfp/Util/StatementBuilderTest.php
+++ /dev/null
@@ -1,208 +0,0 @@
-Select('Id')
- ->From('table')
- ->Where('a = b AND b = c')
- ->OrderBy('a ASC, b DESC')
- ->Limit(200)
- ->Offset(0)
- ->ToStatement()->query;
- $this->assertEquals($expectedQuery, $query);
- }
-
- /**
- * @covers StatementBuilder::ToStatement
- */
- public function testToStatementForPqlTableWithKeywords() {
- $expectedQuery = 'SELECT Id FROM table WHERE a = b AND b = c ORDER BY a '
- . 'ASC, b DESC LIMIT 200 OFFSET 0';
- $statementBuilder = new StatementBuilder();
- $query = $statementBuilder->Select('Id')
- ->From('FrOM table')
- ->Where('WHERE a = b AND b = c')
- ->OrderBy('order BY a ASC, b DESC')
- ->Limit(200)
- ->Offset(0)
- ->ToStatement()->query;
- $this->assertEquals($expectedQuery, $query);
- }
-
- /**
- * @covers StatementBuilder::ToStatement
- */
- public function testToStatementNotPqlTable() {
- $expectedQuery = 'WHERE a = b AND b = c ORDER BY a ASC, b DESC LIMIT 200 '
- . 'OFFSET 0';
- $statementBuilder = new StatementBuilder();
- $query = $statementBuilder->Where('a = b AND b = c')
- ->OrderBy('a ASC, b DESC')
- ->Limit(200)
- ->Offset(0)
- ->ToStatement()->query;
- $this->assertEquals($expectedQuery, $query);
- }
-
- /**
- * @covers StatementBuilder::ToStatement
- */
- public function testToStatementNoOffset() {
- $expectedQuery = 'WHERE a = b AND b = c ORDER BY a ASC, b DESC LIMIT 200';
- $statementBuilder = new StatementBuilder();
- $query = $statementBuilder->Where('a = b AND b = c')
- ->OrderBy('a ASC, b DESC')
- ->Limit(200)
- ->ToStatement()->query;
- $this->assertEquals($expectedQuery, $query);
- }
-
- /**
- * @covers StatementBuilder::ToStatement
- */
- public function testToStatementJustLimit() {
- $expectedQuery = 'LIMIT 500';
- $statementBuilder = new StatementBuilder();
- $query = $statementBuilder->Limit(500)->ToStatement()->query;
- $this->assertEquals($expectedQuery, $query);
- }
-
- /**
- * @covers StatementBuilder::ToStatement
- */
- public function testToStatementLimitAndOffset() {
- $expectedQuery = 'LIMIT 500 OFFSET 0';
- $statementBuilder = new StatementBuilder();
- $query = $statementBuilder->Limit(500)
- ->Offset(0)
- ->ToStatement()->query;
- $this->assertEquals($expectedQuery, $query);
- }
-
- /**
- * @covers StatementBuilder::ToStatement
- * @covers StatementBuilder::RemoveLimitAndOffset
- */
- public function testToStatementRemoveLimitAndOffset() {
- $expectedQueryBefore = 'WHERE a = b ORDER BY a LIMIT 500 OFFSET 0';
- $expectedQueryAfter = 'WHERE a = b ORDER BY a';
- $statementBuilder = new StatementBuilder();
- $statementBuilder->Limit(500)
- ->Offset(0)
- ->Where('a = b')
- ->OrderBy('a');
- $this->assertEquals($expectedQueryBefore,
- $statementBuilder->ToStatement()->query);
- $statementBuilder->RemoveLimitAndOffset();
- $this->assertEquals($expectedQueryAfter,
- $statementBuilder->ToStatement()->query);
- }
-
- /**
- * @covers StatementBuilder::ToStatement
- * @covers StatementBuilder::IncreaseOffsetBy
- */
- public function testToStatementIncreaseOffsetNoInitialOffset() {
- $expectedQueryBefore = 'WHERE a = b ORDER BY a LIMIT 500';
- $expectedQueryAfter = 'WHERE a = b ORDER BY a LIMIT 500 OFFSET 120';
- $statementBuilder = new StatementBuilder();
- $statementBuilder->Limit(500)
- ->Where('a = b')
- ->OrderBy('a');
- $this->assertEquals($expectedQueryBefore,
- $statementBuilder->ToStatement()->query);
- $statementBuilder->IncreaseOffsetBy(120);
- $this->assertEquals($expectedQueryAfter,
- $statementBuilder->ToStatement()->query);
- }
-
- /**
- * @covers StatementBuilder::ToStatement
- * @covers StatementBuilder::IncreaseOffsetBy
- */
- public function testToStatementIncreaseOffsetWithInitialOffset() {
- $expectedQueryBefore = 'WHERE a = b ORDER BY a LIMIT 500 OFFSET 10';
- $expectedQueryAfter = 'WHERE a = b ORDER BY a LIMIT 500 OFFSET 40';
- $statementBuilder = new StatementBuilder();
- $statementBuilder->Limit(500)
- ->Offset(10)
- ->Where('a = b')
- ->OrderBy('a');
- $this->assertEquals($expectedQueryBefore,
- $statementBuilder->ToStatement()->query);
- $statementBuilder->IncreaseOffsetBy(30);
- $this->assertEquals($expectedQueryAfter,
- $statementBuilder->ToStatement()->query);
- }
-
- /**
- * @covers StatementBuilder::ToStatement
- */
- public function testToStatementEmpty() {
- $expectedQuery = '';
- $statementBuilder = new StatementBuilder();
- $query = $statementBuilder->ToStatement()->query;
- $this->assertEquals($expectedQuery, $query);
- }
-
- /**
- * @covers StatementBuilder::ToStatement
- * @expectedException ValidationException
- */
- public function testToStatementOffsetWithoutLimit() {
- $statementBuilder = new StatementBuilder();
- $statementBuilder->Offset(500)->ToStatement();
- }
-
- /**
- * @covers StatementBuilder::WithBindVariableValue
- */
- public function testWithBindingVariable() {
- $key = 'key';
- $value = 'value';
- $statementBuilder = new StatementBuilder();
- $statementBuilder->WithBindVariableValue($key, $value);
- $bindVariableMap = $statementBuilder->GetBindVariableMap();
- $this->assertEquals($value, $bindVariableMap[$key]->value);
- }
-}
-
|